From 4e2cd5b26c439f5e6849c30a279d0a52348f608f Mon Sep 17 00:00:00 2001 From: gazebo Date: Mon, 25 Mar 2019 12:10:14 +0800 Subject: [PATCH] =?UTF-8?q?-=20=E5=9C=A8GetStores=E4=B8=AD=E8=BF=94?= =?UTF-8?q?=E5=9B=9E=E5=B9=B3=E5=8F=B0=E9=97=A8=E5=BA=97=E7=9A=84pricePerc?= =?UTF-8?q?entage?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/jxstore/cms/store.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/jxstore/cms/store.go b/business/jxstore/cms/store.go index ba8a59256..07c64a9af 100644 --- a/business/jxstore/cms/store.go +++ b/business/jxstore/cms/store.go @@ -89,7 +89,7 @@ func GetStores(ctx *jxcontext.Context, keyword string, params map[string]interfa t1.licence_code, city.name city_name, district.name district_name, - CONCAT("[", GROUP_CONCAT(DISTINCT CONCAT('{"vendorStoreID":"', m1.vendor_store_id, '", "vendorID":', m1.vendor_id, ', "status":', m1.status, "}")), "]") store_map_str, + CONCAT("[", GROUP_CONCAT(DISTINCT CONCAT('{"vendorStoreID":"', m1.vendor_store_id, '", "vendorID":', m1.vendor_id, ', "status":', m1.status, ', "pricePercentage":', m1.price_percentage, '}')), ']') store_map_str, CONCAT("[", GROUP_CONCAT(DISTINCT CONCAT('{"vendorStoreID":"', m2.vendor_store_id, '", "vendorID":', m2.vendor_id, ', "status":', m2.status, "}")), "]") courier_map_str FROM store t1 LEFT JOIN place city ON t1.city_code = city.code AND city.level = 2