Commit 159baf99 authored by yanghao's avatar yanghao

fix: 修复bug,处理费用异常后 订单未发送短信时也需要发送短信。 现场反馈NG2419927L未发送短信。

parent 8856a394
...@@ -1420,7 +1420,13 @@ public class OrderExceptionServiceImpl extends AbstractService<OrderExceptionMap ...@@ -1420,7 +1420,13 @@ public class OrderExceptionServiceImpl extends AbstractService<OrderExceptionMap
private void sendRucangSmsAfterAllExceptionProcessed(OrderExceptionDO orderExceptionDO, long count) { private void sendRucangSmsAfterAllExceptionProcessed(OrderExceptionDO orderExceptionDO, long count) {
ArrayList<String> orderWarhouseInExceptionList = CollectionUtil.newArrayList(OrderExceptionEnum.ORDER_OTHER_EXCEPTION.getKey(), OrderExceptionEnum.ORDER_SUPERFLUOUS_BOX_EXCEPTION.getKey(), OrderExceptionEnum.ORDER_LACK_BOX_EXCEPTION.getKey(), OrderExceptionEnum.ORDER_HEAVY_CARGO_EXCEPTION.getKey(), OrderExceptionEnum.ORDER_BULKY_CARGO_EXCEPTION.getKey(), OrderExceptionEnum.ORDER_DOC_EXCEPTION.getKey(), OrderExceptionEnum.ORDER_CONSIGNOR_EXCEPTION.getKey(), OrderExceptionEnum.ORDER_NO_QUOTE_EXCEPTION.getKey(), OrderExceptionEnum.ORDER_PAY_EXCEPTION.getKey(), OrderExceptionEnum.NOT_CUSTOMER_SERVICE_EXCEPTION.getKey(), OrderExceptionEnum.GOODS_ADD_EXCEPTION.getKey()); ArrayList<String> orderWarhouseInExceptionList = CollectionUtil.newArrayList(OrderExceptionEnum.ORDER_OTHER_EXCEPTION.getKey(),
OrderExceptionEnum.ORDER_SUPERFLUOUS_BOX_EXCEPTION.getKey(), OrderExceptionEnum.ORDER_LACK_BOX_EXCEPTION.getKey(),
OrderExceptionEnum.ORDER_HEAVY_CARGO_EXCEPTION.getKey(), OrderExceptionEnum.ORDER_BULKY_CARGO_EXCEPTION.getKey(),
OrderExceptionEnum.ORDER_DOC_EXCEPTION.getKey(), OrderExceptionEnum.ORDER_CONSIGNOR_EXCEPTION.getKey(),
OrderExceptionEnum.ORDER_NO_QUOTE_EXCEPTION.getKey(), OrderExceptionEnum.ORDER_PAY_EXCEPTION.getKey(),
OrderExceptionEnum.NOT_CUSTOMER_SERVICE_EXCEPTION.getKey(), OrderExceptionEnum.GOODS_ADD_EXCEPTION.getKey(),
OrderExceptionEnum.FEE_EXCEPTION.getKey());
//当异常已处理完,且刚才处理的是入仓产生的异常时 且未发送过入仓短信的 就需要发入仓短信了 //当异常已处理完,且刚才处理的是入仓产生的异常时 且未发送过入仓短信的 就需要发入仓短信了
if (orderWarhouseInExceptionList.stream().anyMatch(t -> t.equals(orderExceptionDO.getOrderExceptionType()))) { if (orderWarhouseInExceptionList.stream().anyMatch(t -> t.equals(orderExceptionDO.getOrderExceptionType()))) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment