...
|
...
|
@@ -2760,6 +2760,8 @@ public class BuyerOrderServiceImpl implements IBuyerOrderService, ApplicationCon |
|
|
|
|
|
AppraiseAddress appraiseAddress = appraiseAddressMapper.selectByType(null == goods.getDepotNo() ? 1 : goods.getDepotNo());
|
|
|
|
|
|
AppraiseOrderStorage storage = appraiseOrderStorageMapper.selectByOrderCode(order.getOrderCode());
|
|
|
|
|
|
JSONObject jsonReqObj = getSfStringHttpEntityForAppraise(order, req, goods, appraiseAddress.getAddress());
|
|
|
HttpEntity<String> formEntity = new HttpEntity<>(jsonReqObj.toString(), getHttpHeaders());
|
|
|
|
...
|
...
|
@@ -2772,8 +2774,6 @@ public class BuyerOrderServiceImpl implements IBuyerOrderService, ApplicationCon |
|
|
return body;
|
|
|
}
|
|
|
|
|
|
// Product product = productMapper.selectByPrimaryKey(sellerGoods.getProductId());
|
|
|
|
|
|
JSONObject data = body.getJSONObject("data");
|
|
|
data.put("createTime", DateUtil.getCurrentTimeSeconds());
|
|
|
data.put("dContact", jsonReqObj.getString("dContact"));
|
...
|
...
|
@@ -2789,16 +2789,15 @@ public class BuyerOrderServiceImpl implements IBuyerOrderService, ApplicationCon |
|
|
data.put("jCity", jsonReqObj.getString("jCity"));
|
|
|
data.put("jDistrict", jsonReqObj.getString("jDistrict"));
|
|
|
data.put("jAddress", jsonReqObj.getString("jAddress"));
|
|
|
// data.put("orderCode", buyerOrder.getOrderCode());
|
|
|
// data.put("productCode", product.getProductCode());
|
|
|
// data.put("sizeName", sellerGoods.getSizeName());
|
|
|
data.put("orderCode", order.getOrderCode());
|
|
|
data.put("productCode", goods.getProductCode());
|
|
|
data.put("sizeName", null == storage ? "" : storage.getSizeName());
|
|
|
data.put("shipFee", "**元");
|
|
|
data.put("amount", "**元");
|
|
|
data.put("businessType", data.getString("proCode").equals("T6") ? "顺丰特惠" : "标准快递");
|
|
|
data.put("custid", "***");
|
|
|
data.put("cargoInfo", "[衣服鞋帽]*1");
|
|
|
data.put("dWholeAddress", jsonReqObj.getString("dProvince") + jsonReqObj.getString("dCity") + jsonReqObj.getString("dDistrict") + jsonReqObj.getString("dAddress"));
|
|
|
//data.put("twoDimensionCode", data.getJSONObject("twoDimensionCode"));
|
|
|
data.put("cargoInfo", "[衣服鞋帽]*1");
|
|
|
|
|
|
LOGGER.info("method getSfWaybillCode Result is {}", data);
|
...
|
...
|
|