This commit is contained in:
邹宗楠
2024-12-27 22:08:11 +08:00
parent 77bbb97bf1
commit 7e817ad1d4

View File

@@ -385,7 +385,7 @@ func GetStoresSkusForStore(ctx *jxcontext.Context, storeID int, isFocus, isAct b
}
if keyword != "" {
sql += " AND a.name LIKE ? OR c.location_code LIKE ?"
sql += " AND ( a.name LIKE ? OR c.location_code LIKE ? )"
sqlParams = append(sqlParams, "%"+keyword+"%", "%"+keyword+"%")
}