Authored by mali

召回的短信通知

@@ -163,12 +163,18 @@ public class DepositOrderPaymentService extends AbstractOrderPaymentService { @@ -163,12 +163,18 @@ public class DepositOrderPaymentService extends AbstractOrderPaymentService {
163 logger.error("depositService.changeStorageStatus find wrong, depositCode is {}, result is {}", depositOrder.getDepositCode(), result); 163 logger.error("depositService.changeStorageStatus find wrong, depositCode is {}, result is {}", depositOrder.getDepositCode(), result);
164 return; 164 return;
165 } else { 165 } else {
166 - StorageDeposit deposit = depositService.selectStorageDeposit(depositOrder.getUid(), depositOrder.getDepositCode()); 166 + try {
  167 + logger.info("depositService.notify begin, orderInfo is {}", orderInfo);
167 168
168 - SellerOrderGoods psog = Optional.ofNullable(deposit).map(StorageDeposit::getSkup)  
169 - .map(sellerOrderGoodsMapper::selectByPrimaryKey).orElse(null); 169 + StorageDeposit deposit = depositService.selectStorageDeposit(depositOrder.getUid(), depositOrder.getDepositCode());
170 170
171 - inBoxFacade.recallDepositnotify(deposit.getOwnerUid(), psog); // 更新待拣货状态成功后,发通知 171 + SellerOrderGoods psog = Optional.ofNullable(deposit).map(StorageDeposit::getSkup)
  172 + .map(sellerOrderGoodsMapper::selectByPrimaryKey).orElse(null);
  173 +
  174 + inBoxFacade.recallDepositnotify(deposit.getOwnerUid(), psog); // 更新待拣货状态成功后,发通知
  175 + } catch (Exception e) {
  176 + logger.error("depositService.notify find wrong, orderInfo is {}", orderInfo);
  177 + }
172 } 178 }
173 } 179 }
174 180