huangjiajun pirms 5 mēnešiem
vecāks
revīzija
3df1433a2f
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      hdl/hdl_upgrade.go

+ 1
- 1
hdl/hdl_upgrade.go Parādīt failu

@@ -394,7 +394,7 @@ func GetFinishCount(params map[string]string, blockStarChain string, engine *xor
where1 := ""
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"))
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)
}
withdrawingSuccess, _ := sess.Sum(&model.FinWithdrawApply{}, "amount")


Notiek ielāde…
Atcelt
Saglabāt