...
|
...
|
@@ -2593,12 +2593,13 @@ public class BuyerOrderServiceImpl implements IBuyerOrderService, ApplicationCon |
|
|
data = getZtWaybillCode(buyerOrder, sellerGoods, appraiseAddress, skup, req);
|
|
|
}
|
|
|
|
|
|
StorageDeposit deposit = storageDepositMapper.selectByOrderCode(req.getOrderCode());
|
|
|
if(data.getIntValue("code") == 200) {
|
|
|
StorageDeposit deposit = storageDepositMapper.selectByOrderCode(req.getOrderCode());
|
|
|
data.put("region", sellerGoods.getRegion());
|
|
|
data.put("depositCode", null == deposit ? "" : deposit.getDepositCode());
|
|
|
yhValueOperations.set(getRedisKey(req.getOrderCode()), JSONObject.toJSONString(data), 168, TimeUnit.HOURS); //7天
|
|
|
}
|
|
|
|
|
|
data.put("region", sellerGoods.getRegion());
|
|
|
data.put("depositCode", null == deposit ? "" : deposit.getDepositCode());
|
|
|
yhValueOperations.set(getRedisKey(req.getOrderCode()), JSONObject.toJSONString(data), 168, TimeUnit.HOURS); //7天
|
|
|
|
|
|
return data;
|
|
|
}
|
|
|
|
...
|
...
|
|