Commit 291fcdf6 authored by honghy's avatar honghy Committed by wux

bug198 订单复制,会把原订单的业绩归属客户经理直接复制,没有重新计算

parent 8f14484a
......@@ -989,10 +989,12 @@ public class OrderServiceImpl extends AbstractService<OrderMapper, OrderDO> impl
null,
orderConsignorDO,
orderConsigneeDO);
// 2025-01-16 新建订单重算所属客户经理(业务员)
addOrderCustomerService(order,orderConsignorDO,customerType);
// 更新所属客户经理(业务员)
if (!DRAFT.getValue().equals(order.getStatus()) && Objects.nonNull(order.getIsChargeCustomer()) && order.getIsChargeCustomer()) {
addOrderCustomerService(order,orderConsignorDO,customerType);
}
// if (!DRAFT.getValue().equals(order.getStatus()) && Objects.nonNull(order.getIsChargeCustomer()) && order.getIsChargeCustomer()) {
// addOrderCustomerService(order,orderConsignorDO,customerType);
// }
}
}
......
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