huangjiajun 2 months ago
parent
commit
7510fd1f19
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      rule/consume_integral_settlement.go

+ 1
- 1
rule/consume_integral_settlement.go View File

@@ -157,7 +157,7 @@ func DailySettlementBlockConsumeIntegral(engine *xorm.Engine, mid string, isTask
} }
} }
storesql := `select uid, MAX(stop_date) as stop_date from subsidy_with_user_flow where uid in(%s) and kind=3 group by uid` storesql := `select uid, MAX(stop_date) as stop_date from subsidy_with_user_flow where uid in(%s) and kind=3 group by uid`
storesql = fmt.Sprintf(storesql, strings.Join(uids, ","))
storesql = fmt.Sprintf(storesql, strings.Join(storeUids, ","))
storeone, _ := db.QueryNativeStringSess(session, storesql) storeone, _ := db.QueryNativeStringSess(session, storesql)
for _, v := range storeUids { for _, v := range storeUids {




Loading…
Cancel
Save