aa
This commit is contained in:
@@ -304,6 +304,7 @@ func GetStoresSkusForStore(ctx *jxcontext.Context, storeID int, isFocus, isAct b
|
|||||||
sql += `
|
sql += `
|
||||||
LEFT JOIN sku_category d ON d.id = a.category_id AND d.deleted_at = ?
|
LEFT JOIN sku_category d ON d.id = a.category_id AND d.deleted_at = ?
|
||||||
`
|
`
|
||||||
|
sqlParams = append(sqlParams, utils.DefaultTimeValue)
|
||||||
if categoryID != 0 {
|
if categoryID != 0 {
|
||||||
sql += " AND d.id = ?"
|
sql += " AND d.id = ?"
|
||||||
sqlParams = append(sqlParams, categoryID)
|
sqlParams = append(sqlParams, categoryID)
|
||||||
|
|||||||
Reference in New Issue
Block a user