This commit is contained in:
苏尹岚
2021-03-16 10:08:10 +08:00
parent 0c2ecff553
commit 11f4c44da2

View File

@@ -1205,7 +1205,7 @@ func GetStoreManageState(db *DaoDB, storeIDs, brandIDs []int, vendorID, sortType
sqlParams = append(sqlParams, storeIDs)
}
if len(brandIDs) > 0 {
sql += " AND b.barnd_id IN (" + GenQuestionMarks(len(brandIDs)) + ")"
sql += " AND b.brand_id IN (" + GenQuestionMarks(len(brandIDs)) + ")"
sqlParams = append(sqlParams, brandIDs)
}
if vendorID != -1 {