Commit 2655da92 authored by 332784038@qq.com's avatar 332784038@qq.com

处理单询异常时需要判断是否产生预付异常

parent aa27c1b4
......@@ -2697,7 +2697,7 @@ public class OrderBusinessServiceImpl extends AbstractService<OrderMapper, Order
}
}
}
if ((type == 6 || type == 10 || type == 12) && isPayAdvanceException) {
if ((type == 6 || type == 10 || (orderDO.getStatus() == 5 && type == 12)) && isPayAdvanceException) {
// TODO 待确定,订单之前处理过预付异常,这时入仓修改产生的新预付异常是否重复生成
List<OrderExceptionDO> orderExceptionDOList =
orderExceptionService.getOrderExceptionByOrderIdAndOrderItemIdAndExceptionKey(orderDO.getOrderId(),
......
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