aa
This commit is contained in:
@@ -1262,11 +1262,9 @@ func GetStoreManageStateSimple(db *DaoDB, storeIDs, brandIDs []int, vendorID int
|
||||
SELECT a.*
|
||||
FROM store_manage_state a
|
||||
LEFT JOIN store b ON b.id = a.store_id AND b.deleted_at = ?
|
||||
WHERE a.vendor_status <> ?
|
||||
`
|
||||
sqlParams := []interface{}{
|
||||
utils.DefaultTimeValue,
|
||||
model.StoreStatusDisabled,
|
||||
}
|
||||
if len(storeIDs) > 0 {
|
||||
sql += " AND a.store_id IN (" + GenQuestionMarks(len(storeIDs)) + ")"
|
||||
|
||||
Reference in New Issue
Block a user