暂时不让非饿鲜达门店关注饿鲜达商品
This commit is contained in:
@@ -368,7 +368,7 @@ func getGetStoresSkusBaseSQL(db *dao.DaoDB, storeIDs, skuIDs []int, isFocus bool
|
||||
sql += " AND t3.id IN (" + dao.GenQuestionMarks(len(storeIDs)) + ")"
|
||||
sqlParams = append(sqlParams, storeIDs)
|
||||
if len(storeIDs) == 1 {
|
||||
sql += " AND IF(INSTR(t3.name," + model.ExdStoreName + ") > 0, t2.exd_id <> '', t2.exd_id = '') "
|
||||
sql += " AND IF(INSTR(t3.name,'" + model.ExdStoreName + "') > 0, t2.exd_id <> '', t2.exd_id = '')"
|
||||
}
|
||||
}
|
||||
if len(skuIDs) > 0 {
|
||||
|
||||
Reference in New Issue
Block a user