Browse Source

更新

master
huangjiajun 1 month ago
parent
commit
f94dabd45e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      consume/zhios_valid_user.go

+ 1
- 1
consume/zhios_valid_user.go View File

@@ -188,7 +188,7 @@ WHERE olr.uid = ? AND ol.state IN (1,2,3);
count1, _ := eg.Where("uid=?", user.Uid).In("state", []string{"1", "2", "3"}).Sum(&model.MallOrd{}, "cost_price") count1, _ := eg.Where("uid=?", user.Uid).In("state", []string{"1", "2", "3"}).Sum(&model.MallOrd{}, "cost_price")
count2, _ := eg.Where("uid=?", user.Uid).In("state", []string{"1", "2", "3"}).Sum(&model2.O2oOrd{}, "cost_price") count2, _ := eg.Where("uid=?", user.Uid).In("state", []string{"1", "2", "3"}).Sum(&model2.O2oOrd{}, "cost_price")
count3, _ := eg.Where("uid=?", user.Uid).In("state", []string{"1", "2", "3"}).Sum(&model2.B2cOrd{}, "cost_price") count3, _ := eg.Where("uid=?", user.Uid).In("state", []string{"1", "2", "3"}).Sum(&model2.B2cOrd{}, "cost_price")
if count+count3+count2+count1 > utils.AnyToFloat64(v) {
if count+count3+count2+count1 >= utils.AnyToFloat64(v) {
todone-- todone--
} }
case "receive": case "receive":


Loading…
Cancel
Save