- 返回printer_sn和printer_key在GetStores中

This commit is contained in:
gazebo
2019-04-02 09:50:47 +08:00
parent 22f9ba419d
commit b5d1101e78

View File

@@ -88,6 +88,8 @@ func GetStores(ctx *jxcontext.Context, keyword string, params map[string]interfa
t1.id_card_hand,
t1.licence,
t1.licence_code,
t1.printer_sn,
t1.printer_key,
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, ', "pricePercentage":', m1.price_percentage, '}')), ']') store_map_str,
@@ -215,7 +217,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
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
ORDER BY t1.id DESC
LIMIT ? OFFSET ?`
pageSize = jxutils.FormalizePageSize(pageSize)