From 9c76942425ec25a0668606a813aa7289cf75540c Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Wed, 3 Apr 2024 16:21:43 +0800 Subject: [PATCH] =?UTF-8?q?1.ipad=E7=AB=AF=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/db/db_order_list.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/db/db_order_list.go b/app/db/db_order_list.go index 948c5ac..c533770 100644 --- a/app/db/db_order_list.go +++ b/app/db/db_order_list.go @@ -158,7 +158,7 @@ func GetOrderListByIpad(eg *xorm.Engine, param map[string]string) (*[]model.Orde for _, v := range data { ids = append(ids, utils.IntToStr(v.Id)) } - sess.And("enterprise_id in (?) or oid like ?", php2go.Implode(",", ids), "%"+param["keyword"]+"%") + sess.And("enterprise_id in ("+php2go.Implode(",", ids)+") or oid like ?", "%"+param["keyword"]+"%") } if param["state"] != "" && param["state"] != "1" { sess.And("state =?", param["state"])