From 9db41bb15a968893ad46ec28927503d2dcb5e840 Mon Sep 17 00:00:00 2001 From: gazebo Date: Thu, 18 Jul 2019 16:43:38 +0800 Subject: [PATCH] =?UTF-8?q?-=20GetStores=E8=BE=93=E5=87=BAprinter=5Fdisabl?= =?UTF-8?q?ed?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/jxstore/cms/store.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/business/jxstore/cms/store.go b/business/jxstore/cms/store.go index ea3183fe5..74d974cc1 100644 --- a/business/jxstore/cms/store.go +++ b/business/jxstore/cms/store.go @@ -175,6 +175,7 @@ func GetStores(ctx *jxcontext.Context, keyword string, params map[string]interfa t1.pay_percentage, t1.operator_name, t1.operator_phone, + t1.printer_disabled, city.name city_name, district.name district_name, @@ -313,7 +314,7 @@ func GetStores(ctx *jxcontext.Context, keyword string, params map[string]interfa } sql += sqlWhere + ` - GROUP BY 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31, 32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53 + GROUP BY 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31, 32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54 ORDER BY t1.id DESC /*LIMIT ? OFFSET ?*/` pageSize = jxutils.FormalizePageSize(pageSize)