果园改结算规则就绪
This commit is contained in:
@@ -1660,10 +1660,9 @@ func RefreshJXPriceChange(ctx *jxcontext.Context, storeID int) (hint string, err
|
||||
sql := `
|
||||
SELECT *
|
||||
FROM store
|
||||
WHERE deleted_at = ? AND status <> ?
|
||||
AND id <> 100118 AND id <> 100274 AND id <> 100205
|
||||
WHERE deleted_at = ? AND pay_percentage > 50
|
||||
`
|
||||
sqlParams := []interface{}{utils.DefaultTimeValue, model.StoreStatusDisabled}
|
||||
sqlParams := []interface{}{utils.DefaultTimeValue}
|
||||
if storeID != 0 {
|
||||
sql += " AND id = ?"
|
||||
sqlParams = append(sqlParams, storeID)
|
||||
|
||||
Reference in New Issue
Block a user