From 7f168870fa4baf706cdffa66605dceba9d4c2079 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Fri, 20 Dec 2024 19:08:48 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B9=BF=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/implement/advertising_callback_implement.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/implement/advertising_callback_implement.go b/src/implement/advertising_callback_implement.go index 13ea86e..664dcff 100644 --- a/src/implement/advertising_callback_implement.go +++ b/src/implement/advertising_callback_implement.go @@ -20,7 +20,7 @@ func (a AdvertisingCallbackDb) FindAdvertisingCallbackAndTotal(page, limit, amou var m []model.AdvertisingCallback sess := a.Db.Where("1=1") if amount != "" { - sess.And("amount<=?", amount) + sess.And("amount<=?", zhios_order_relate_utils.StrToFloat64(amount)) } if uid != "" { sess.And("uid=?", uid)