Commit c77db7d9 authored by honghy's avatar honghy Committed by wux

bug316 对存在路线重量超限异常的订单修改渠道后,无法审批通过

parent 355d67ee
......@@ -1449,6 +1449,8 @@ public class OrderExceptionServiceImpl extends AbstractService<OrderExceptionMap
} else if (vo.getOrderExceptionHandlerResult().equals(OrderExceptionResult.LINE_WEIGHT_EXCEPTION_RESULT.NOT_ALLOW_OVER)) {
orderExceptionDO.setOrderExceptionStatus(1);
} else if(vo.getOrderExceptionHandlerResult().equals(OrderExceptionResult.LINE_WEIGHT_EXCEPTION_RESULT.CONFIRMED_SEND)){
orderExceptionDO.setOrderExceptionStatus(2);
} else {
throw exception(ORDER_HANDLER_EXCEPTION_NOT_EXISTS);
}
......
......@@ -2254,7 +2254,7 @@ public class OrderWarehouseInServiceImpl extends AbstractService<OrderWarehouseI
private boolean isNoSameOrderException(Long orderId, Long orderItemId, String descZh, String descEn, OrderExceptionEnum orderExceptionEnum) {
boolean noSameException = true;
List<OrderExceptionDO> heavyExceptionList = orderExceptionService.getOrderExceptionByOrderIdAndOrderItemIdAndExceptionKey(orderId, orderItemId, orderExceptionEnum.getKey());
List<OrderExceptionDO> heavyExceptionList = orderExceptionService.getPendingOrderExceptionByOrderIdAndOrderItemIdAndExceptionKey(orderId, orderItemId, orderExceptionEnum.getKey());
if (CollectionUtil.isNotEmpty(heavyExceptionList)) {
OrderExceptionDO orderExceptionDO = heavyExceptionList.get(0);
if (StringUtils.isNotEmpty(orderExceptionDO.getOrderExceptionRemark())) {
......
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