Browse Source

更新

master
huangjiajun 5 months ago
parent
commit
3df1433a2f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      hdl/hdl_upgrade.go

+ 1
- 1
hdl/hdl_upgrade.go View File

@@ -394,7 +394,7 @@ func GetFinishCount(params map[string]string, blockStarChain string, engine *xor
where1 := "" where1 := ""
if task.WithinDays > 0 { if task.WithinDays > 0 {
sqlStr4 := fmt.Sprintf(" %s >'%s' AND %s < '%s'", "create_at", stime.Format("2006-01-02 15:04:05"), "create_at", etime.Format("2006-01-02 15:04:05")) sqlStr4 := fmt.Sprintf(" %s >'%s' AND %s < '%s'", "create_at", stime.Format("2006-01-02 15:04:05"), "create_at", etime.Format("2006-01-02 15:04:05"))
where1 = fmt.Sprintf("AND %s >'%d' AND %s < '%d'", "create_at", stime.Unix(), "create_at", etime.Unix())
where1 = fmt.Sprintf("AND %s >'%d' AND %s < '%d'", "ol.create_at", stime.Unix(), "ol.create_at", etime.Unix())
sess = sess.And(sqlStr4) sess = sess.And(sqlStr4)
} }
withdrawingSuccess, _ := sess.Sum(&model.FinWithdrawApply{}, "amount") withdrawingSuccess, _ := sess.Sum(&model.FinWithdrawApply{}, "amount")


Loading…
Cancel
Save