Authored by caoyan

订单管理

... ... @@ -275,7 +275,7 @@ public class BuyerOrderServiceImpl implements IBuyerOrderService {
}
JSONObject metaValue = JSONObject.parseObject(meta.getMetaValue());
BuyerOrderResp result = new BuyerOrderResp();
result.setReceiveName(metaValue.getString("addresseeName"));
result.setReceiveName(metaValue.getString("consignee"));
result.setReceiveMobile(metaValue.getString("mobile"));
result.setReceiveAddress(getAddressInfo(metaValue.getString("areaCode")));
ExpressRecord record = expressRecordMapper.selectByOrderCodeAndType(req.getOrderCode(), null, EXPRESS_TYPE_JUDGE_TO_BUYER);
... ... @@ -297,8 +297,8 @@ public class BuyerOrderServiceImpl implements IBuyerOrderService {
JSONObject metaValue = JSONObject.parseObject(meta.getMetaValue());
BuyerOrderResp result = new BuyerOrderResp();
result.setReceiveName(metaValue.getString("consignee"));
result.setReceiveMobile(metaValue.getString("phone"));
result.setReceiveAddress(metaValue.getString("address"));
result.setReceiveMobile(metaValue.getString("mobile"));
result.setReceiveAddress(metaValue.getString("area") + metaValue.getString("address"));
ExpressRecord record = expressRecordMapper.selectByOrderCodeAndType(req.getOrderCode(), null, EXPRESS_TYPE_JUDGE_TO_SELLER);
if(null == record) {
... ... @@ -517,7 +517,7 @@ public class BuyerOrderServiceImpl implements IBuyerOrderService {
return 0;
}
JSONObject metaValue = JSONObject.parseObject(buyerMeta.getMetaValue());
metaValue.replace("addresseeName", req.getReceiveName());
metaValue.replace("consignee", req.getReceiveName());
metaValue.replace("mobile", req.getReceiveMobile());
metaValue.replace("address", req.getReceiveAddressDetail());
metaValue.replace("zipCode", req.getReceiveZipCode());
... ...