Authored by LUOXC

1

... ... @@ -169,8 +169,7 @@ public class AppraiseController {
}
/**
* TODO 手机质检: 发货
* 鉴定通过 -- 待收货
* 平台发货给买家
*/
@RequestMapping(value="/deliveryGoodsToBuyer")
@IgnoreSession
... ...
... ... @@ -236,7 +236,7 @@ public class AppraiseService {
}
/**
* 正常发货
* 平台发货给买家
* 鉴定通过 -- 待收货
* 瑕疵接收 -- 待收货
* 寄存完成 -- 待收货
... ... @@ -283,6 +283,10 @@ public class AppraiseService {
appraiseExpressInfoBo.getWayBillCode(),
appraiseExpressInfoBo.getDepotNum(),
appraiseExpressInfoBo.getMobile());
//清缓存
SellerOrderGoods sellerOrderGoods = cleanCacheAfterUpdateStatus(buyerOrder.getOrderCode(), buyerOrder.getUid(), buyerOrder.getSellerUid());
Product product = Optional.ofNullable(sellerOrderGoods).map(SellerOrderGoods::getProductId).map(productMapper::selectByPrimaryKey).orElse(null);
inBoxFacade.noticeBuyerWhenDeliveryGoodsToBuyer(buyerOrder.getUid(), buyerOrder.getOrderCode(), sellerOrderGoods, product);
}else {
LOGGER.warn("in deliveryGoodsToBuyer, buyer Deposit Order orderCode {}", buyerOrder.getOrderCode());
throw new ServiceException(ServiceError.ORDER_STATUS_INVALIDATE);
... ...