Commit 32b79b7f authored by liuzeheng's avatar liuzeheng

调整

parent 63b8fec3
...@@ -1229,7 +1229,7 @@ public class OrderServiceImpl extends AbstractService<OrderMapper, OrderDO> impl ...@@ -1229,7 +1229,7 @@ public class OrderServiceImpl extends AbstractService<OrderMapper, OrderDO> impl
if (Objects.nonNull(oldCustomerService)) { if (Objects.nonNull(oldCustomerService)) {
// 如果这里的旧客户经理id不为null,说明此客户属于移交新客户经理,但是新客户经理还未接收,业绩算老客户经理的 // 如果这里的旧客户经理id不为null,说明此客户属于移交新客户经理,但是新客户经理还未接收,业绩算老客户经理的
order.setSalesmanId(oldCustomerService); order.setSalesmanId(oldCustomerService);
} else if(customerDO.getIsInOpenSea() && Objects.nonNull(customerDO.getEnterOpenSeaTime())) { //客户还在公海上,不做业绩归属分配,归公司 } else if((customerDO.getIsInOpenSea() && Objects.nonNull(customerDO.getEnterOpenSeaTime())) || !customerDO.getIsCustomerServiceConfirmed()) { //客户还在公海上,不做业绩归属分配,归公司
order.setSalesmanId(0L); order.setSalesmanId(0L);
order.setCustomerId(0L); order.setCustomerId(0L);
}else { }else {
......
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