Commit 4df487cf authored by lanbaoming's avatar lanbaoming

2024-05-27-7

parent 3f44dd0d
...@@ -57,10 +57,14 @@ public class CalculateOrderYeJiTypeListener { ...@@ -57,10 +57,14 @@ public class CalculateOrderYeJiTypeListener {
CustomerDO customerDO = customerService.getById(event.getCustomerId()); CustomerDO customerDO = customerService.getById(event.getCustomerId());
if (customerDO == null) { if (customerDO == null) {
//throw exception(CUSTOMER_NOT_EXISTS); //throw exception(CUSTOMER_NOT_EXISTS);
sMsg += ",客户不存在先不计算业绩类型"; //lanbm 2024-05-27 添加的逻辑细化
orderService.UpdateOrderYeJiType(event.getOrderId(), 0);
sMsg += ",客户不存,订单业绩属于公司,订单算老业绩";
m.setTestname(sMsg); m.setTestname(sMsg);
m.setCreatedate(new Date()); m.setCreatedate(new Date());
zTestService.save(m); zTestService.save(m);
return; return;
} }
......
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