From 955c0dacd1f8478ee0060415e31c5df04a452398 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Tue, 28 May 2024 17:55:54 +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 --- app/db/db_order_list.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/db/db_order_list.go b/app/db/db_order_list.go index 99b691c..7f20b44 100644 --- a/app/db/db_order_list.go +++ b/app/db/db_order_list.go @@ -68,8 +68,8 @@ func GetOrderList(eg *xorm.Engine, param map[string]string) (*[]model.Order, int sess.And("date = ?", param["date"]) } if param["make_date"] != "" { - param["date"] = strings.ReplaceAll(param["date"], "-", "") - sess.And("make_date = ?", param["date"]) + param["make_date"] = strings.ReplaceAll(param["make_date"], "-", "") + sess.And("make_date = ?", param["make_date"]) } if param["enterprise_name"] != "" { var enterprise []model.Enterprise