Commit 72f01e8d authored by 332784038@qq.com's avatar 332784038@qq.com

处理客户未分配客户经理异常时不能直接修改订单的归属业绩判断

parent afdc425d
...@@ -2036,18 +2036,18 @@ public class OrderExceptionServiceImpl extends AbstractService<OrderExceptionMap ...@@ -2036,18 +2036,18 @@ public class OrderExceptionServiceImpl extends AbstractService<OrderExceptionMap
//更新订单跟进客服 //更新订单跟进客服
if (null != orderExceptionDO.getOrderId()) { // if (null != orderExceptionDO.getOrderId()) {
OrderDO orderDo = orderService.getById(orderExceptionDO.getOrderId()); // OrderDO orderDo = orderService.getById(orderExceptionDO.getOrderId());
//有可能订单存在删除情况,需进行判断 // //有可能订单存在删除情况,需进行判断
if (null != orderDo) { // if (null != orderDo) {
if (null == orderDo.getSalesmanId() || orderDo.getSalesmanId() == 0l) { // if (null == orderDo.getSalesmanId() || orderDo.getSalesmanId() == 0l) {
LambdaUpdateWrapper<OrderDO> updateWrapper = new LambdaUpdateWrapper<>(); // LambdaUpdateWrapper<OrderDO> updateWrapper = new LambdaUpdateWrapper<>();
updateWrapper.eq(OrderDO::getOrderId, orderDo.getOrderId()); // updateWrapper.eq(OrderDO::getOrderId, orderDo.getOrderId());
updateWrapper.set(OrderDO::getSalesmanId, customerServiceId); // updateWrapper.set(OrderDO::getSalesmanId, customerServiceId);
orderService.update(updateWrapper); // orderService.update(updateWrapper);
} // }
} // }
} // }
//添加异常处理结果 //添加异常处理结果
......
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