...
|
...
|
@@ -264,8 +264,8 @@ public class AppraiseService { |
|
|
LOGGER.warn("deliveryGoodsToBuyer getOrderInfo order not exist, orderCode is {}", orderCode);
|
|
|
throw new ServiceException(ServiceError.ORDER_NULL);
|
|
|
}
|
|
|
// 寄存订单
|
|
|
if(BuyerOrderUtils.isDeposit(buyerOrder)){
|
|
|
// 寄存订单 或者闪购的库存 需要修改仓库记录的发货状态
|
|
|
if(BuyerOrderUtils.isDeposit(buyerOrder) || BuyerOrderUtils.isQuickDeliver(buyerOrder)){
|
|
|
deliveryDepositGoodsToBuyer(appraiseExpressInfoBo, buyerOrder);
|
|
|
//设置寄存状态为已发货
|
|
|
setDepositStatus(orderCode);
|
...
|
...
|
@@ -281,9 +281,13 @@ public class AppraiseService { |
|
|
if(null == deposit) {
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
|
|
|
LOGGER.info("method setDepositStatus execute, orderCode is {}", orderCode);
|
|
|
|
|
|
int num = storageDepositMapper.updateStorageStatusEx(deposit.getDepositCode(), StorageDepositStatusEnum.HAS_OUT.getCode(), StorageDepositStatusEnum.WAITING_OUT.getCode(), null);
|
|
|
if(num > 0) {
|
|
|
LOGGER.info("method setDepositStatus end, orderCode is {}", orderCode);
|
|
|
|
|
|
//清缓存
|
|
|
ufoServiceCaller.call("ufo.deposit.clearOrderCache", deposit.getOwnerUid(), deposit.getDepositCode()); // 清理库存详情缓存
|
|
|
|
...
|
...
|
|