- 修复GetStores中没有限制new_config未删除的bug

This commit is contained in:
gazebo
2019-08-09 11:59:38 +08:00
parent 8c6ed7949b
commit 6f403e909f
2 changed files with 3 additions and 2 deletions

View File

@@ -122,7 +122,7 @@ func GetActStoreSkuVendorList(db *DaoDB, actID int, vendorIDs, storeIDs, skuIDs
)
if keyword != "" {
keywordLike := "%" + keyword + "%"
sql += " AND (t7.namke LIKE ? OR t6.name LIKE ?"
sql += " AND (t7.name LIKE ? OR t6.name LIKE ?"
sqlParams = append(sqlParams, keywordLike, keywordLike)
if intKeyword := int(utils.Str2Int64WithDefault(keyword, 0)); intKeyword > 0 {
sql += " OR t1.sku_id = ? OR t1.store_id = ?"