From 3df1433a2f0dbae402f9742bd51f1df85724934f Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Fri, 7 Jun 2024 17:18:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hdl/hdl_upgrade.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hdl/hdl_upgrade.go b/hdl/hdl_upgrade.go index c3494c6..d2b5a55 100644 --- a/hdl/hdl_upgrade.go +++ b/hdl/hdl_upgrade.go @@ -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")