- GetStores:

t1.id_card_front,
	t1.id_card_back,
	t1.id_card_hand,
	t1.licence,
	t1.licence_code,
This commit is contained in:
gazebo
2018-11-13 11:17:29 +08:00
parent 54ba8efd78
commit 6cdeb33ff8

View File

@@ -66,6 +66,11 @@ func GetStores(ctx *jxcontext.Context, keyword string, params map[string]interfa
t1.delivery_range_type,
t1.delivery_range,
t1.status,
t1.id_card_front,
t1.id_card_back,
t1.id_card_hand,
t1.licence,
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,
@@ -186,7 +191,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
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
ORDER BY t1.id DESC
LIMIT ? OFFSET ?`
pageSize = jxutils.FormalizePageSize(pageSize)