Commit 4c59cb25 authored by liuzeheng's avatar liuzeheng

去掉控货订单不判断归属人

parent 56d87771
......@@ -721,6 +721,7 @@ public class OrderServiceImpl extends AbstractService<OrderMapper, OrderDO> impl
addOrderCustomerServiceAndCustomer(createReqVO,order, customerType);
}
}
}
}
//新增订单 客户联系人处理
private void adminSaveConsignorAndConsignee(OrderCreateReqVO createReqVO, OrderDO order, String creator,
......@@ -988,13 +989,6 @@ public class OrderServiceImpl extends AbstractService<OrderMapper, OrderDO> impl
}
//}
}
// 更新所属客户经理(业务员)
if (Objects.nonNull(order.getCustomerId()) && order.getCustomerId() > 0) {
......@@ -1110,6 +1104,7 @@ public class OrderServiceImpl extends AbstractService<OrderMapper, OrderDO> impl
order.setCustomerId(orderConsignorDO.getCustomerId());
order.setSalesmanId(consignorDO.getCustomerService()!=null?consignorDO.getCustomerService():0) ;
} else{
//去掉控货订单判断业绩归属逻辑
// if(order.getIsCargoControl()){
// order.setCustomerId(orderConsignorDO.getCustomerId());
// }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