创建标品优化

This commit is contained in:
苏尹岚
2020-04-21 16:24:26 +08:00
parent 1ec2f9b93e
commit d893f52a46
2 changed files with 2 additions and 2 deletions

View File

@@ -874,7 +874,7 @@ func WirteToExcelBySyncFailed(task tasksch.ITask) (downloadURL, fileName string,
baseapi.SugarLogger.Debug("WriteToExcel: dataSuccess is nil!")
}
if err != nil {
baseapi.SugarLogger.Errorf("WriteToExcel:upload %s , %s failed error:%v", fileName, err)
baseapi.SugarLogger.Errorf("WriteToExcel:upload %s , failed error:%v", fileName, err)
}
return downloadURL, fileName, err
}

View File

@@ -126,7 +126,7 @@ func GetSkuNames(db *DaoDB, nameIDs []int, upcs []string, name string, isExd boo
sql := `
SELECT *
FROM sku_name t1
LEFT JOIN sku t2 JOIN t2.name_id = t1.id
LEFT JOIN sku t2 ON t2.name_id = t1.id
WHERE t1.deleted_at = ?
`
sqlParams := []interface{}{