店铺名称
This commit is contained in:
parent
95f306b9ac
commit
0b9efc9c44
|
@ -72,9 +72,6 @@ public class MeituanServiceImpl implements IMeituanService {
|
||||||
@Autowired
|
@Autowired
|
||||||
private ProxyProperties proxyProperties;
|
private ProxyProperties proxyProperties;
|
||||||
|
|
||||||
@Autowired
|
|
||||||
private IBusAgentInfoService iBusAgentInfoService;
|
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private BusReturnVisitInfoMapper busReturnVisitInfoMapper;
|
private BusReturnVisitInfoMapper busReturnVisitInfoMapper;
|
||||||
|
|
||||||
|
@ -230,6 +227,18 @@ public class MeituanServiceImpl implements IMeituanService {
|
||||||
if ("0".equals(code)) {
|
if ("0".equals(code)) {
|
||||||
JSONObject data = jsonObject.getJSONObject("data");
|
JSONObject data = jsonObject.getJSONObject("data");
|
||||||
String total = data.getString("totalCount");
|
String total = data.getString("totalCount");
|
||||||
|
|
||||||
|
JSONArray array = jsonObject.getJSONObject("data").getJSONArray("wmOrderList");
|
||||||
|
Object o = array.get(0);
|
||||||
|
JSONObject oj = JSONObject.parseObject(JSON.toJSONString(o));
|
||||||
|
JSONObject order0 = oj.getJSONObject("orderInfo");
|
||||||
|
JSONObject order1 = order0.getJSONObject("orderInfo");
|
||||||
|
JSONObject tipInfoVo = order1.getJSONObject("tipInfoVo");
|
||||||
|
String poiName = tipInfoVo.getString("poiName");
|
||||||
|
if (storeInfo.getStoreName() == null) {
|
||||||
|
storeInfo.setStoreName(poiName);
|
||||||
|
}
|
||||||
|
|
||||||
BusStoreInfo store = new BusStoreInfo();
|
BusStoreInfo store = new BusStoreInfo();
|
||||||
store.setStoreCode(wmPoiId);
|
store.setStoreCode(wmPoiId);
|
||||||
List<BusStoreInfo> list = busStoreInfoService.selectBusStoreInfoList(store);
|
List<BusStoreInfo> list = busStoreInfoService.selectBusStoreInfoList(store);
|
||||||
|
|
Loading…
Reference in New Issue