Authored by LUOXC

fixbug

... ... @@ -314,11 +314,7 @@ public class AppraiseService {
}
// 买家接受瑕疵,走非寄存流程
else if (buyerOrder.getStatus() == OrderStatus.MINI_FAULT_ACCEPT.getCode()) {
deliveryGoodsToBuyerAndRun(appraiseExpressInfoBo,buyerOrder, sog -> {
// 通知买家已发货
buyerNoticeFacade.deliveryDepositGoodsToBuyer(buyerOrder.getUid(), appraiseExpressInfoBo.getWayBillCode(), sog,
sellerOrderGoods -> Optional.ofNullable(sellerOrderGoods).map(SellerOrderGoods::getProductId).map(productMapper::selectByPrimaryKey).orElse(null));
});
deliveryNonDepositGoodsToBuyer(appraiseExpressInfoBo,buyerOrder);
} else {
LOGGER.warn("in deliveryGoodsToBuyer, buyer Deposit Order orderCode {}", buyerOrder.getOrderCode());
throw new ServiceException(ServiceError.ORDER_STATUS_INVALIDATE);
... ...