Commit 2e6cb8fd authored by lanbaoming's avatar lanbaoming

2024-06-24-6提交

parent 364eec95
......@@ -2657,9 +2657,17 @@ public class OrderBusinessServiceImpl extends AbstractService<OrderMapper, Order
OrderItemDO orderItemDO,
Integer type) {
if (orderDO == null) {
zTest z = new zTest();
z.setTestname("orderDO 为空");
z.setCreatedate(new Date());
zTestMapper.insert(z);
return noQuoteOrAutomaticNoQuote;
}
if (orderItemDO == null) {
zTest z = new zTest();
z.setTestname("orderItemDO 为空");
z.setCreatedate(new Date());
zTestMapper.insert(z);
return noQuoteOrAutomaticNoQuote;
}
......@@ -2733,6 +2741,10 @@ public class OrderBusinessServiceImpl extends AbstractService<OrderMapper, Order
//noQuoteOrAutomaticNoQuote = 1;
} else {
if (CollectionUtil.isNotEmpty(orderNoQuoteExceptionDOList)) {
zTest z = new zTest();
z.setTestname("autoProcessException 执行");
z.setCreatedate(new Date());
zTestMapper.insert(z);
// TODO 当其他业务补充了品名价格后,如果还有待处理的未报价异常,需要同步处理掉
orderExceptionService.autoProcessException(orderDO.getOrderId(),
orderItemDO.getOrderItemId(),
......@@ -2741,6 +2753,13 @@ public class OrderBusinessServiceImpl extends AbstractService<OrderMapper, Order
OrderExceptionResult.ORDER_NO_QUOTE_EXCEPTION_RESULT.PROCESSED);
noQuoteOrAutomaticNoQuote = 2;
}
else
{
zTest z = new zTest();
z.setTestname("orderNoQuoteExceptionDOList 为空");
z.setCreatedate(new Date());
zTestMapper.insert(z);
}
}
return noQuoteOrAutomaticNoQuote;
}
......
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