- GetStores添加

t1.market_man_role,
	t1.operator_role,
	t1.operator_role2,
	t1.printer_font_size,
This commit is contained in:
gazebo
2019-08-19 10:28:43 +08:00
parent ba94bb061b
commit 95ad39fd49

View File

@@ -170,6 +170,11 @@ func GetStores(ctx *jxcontext.Context, keyword string, params map[string]interfa
t1.operator_phone,
t1.printer_disabled,
t1.market_man_role,
t1.operator_role,
t1.operator_role2,
t1.printer_font_size,
city.name city_name,
district.name district_name,
CONCAT('[', GROUP_CONCAT(DISTINCT CONCAT('{"vendorStoreID":"', m1.vendor_store_id, '", "vendorID":', m1.vendor_id,
@@ -322,7 +327,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,54,55,56,57,58
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,55,56,57,58,59,60,61,62
ORDER BY t1.id DESC
/*LIMIT ? OFFSET ?*/`
pageSize = jxutils.FormalizePageSize(pageSize)