Commit 9fa0ae71 authored by lanbaoming's avatar lanbaoming

2024-07-04-5提交

parent 0a969a10
...@@ -647,7 +647,7 @@ public class TargetLogServiceImpl extends ...@@ -647,7 +647,7 @@ public class TargetLogServiceImpl extends
s_gsf = "收货人付运费,归收货客户"; s_gsf = "收货人付运费,归收货客户";
if (consigneeDO == null) { if (consigneeDO == null) {
s_gsf += ",收货客户为空。"; s_gsf += ",收货客户为空。";
customerId = 0L; saleManid=0L;
TargetLogDO targetLogDO = targetLogMapper.selectById(targetId); TargetLogDO targetLogDO = targetLogMapper.selectById(targetId);
//客户ID //客户ID
targetLogDO.setCustomerId(customerId); targetLogDO.setCustomerId(customerId);
...@@ -687,7 +687,7 @@ public class TargetLogServiceImpl extends ...@@ -687,7 +687,7 @@ public class TargetLogServiceImpl extends
consigneeDO.getCustomerService()); consigneeDO.getCustomerService());
if (d0 != null && d1 != null) { if (d0 != null && d1 != null) {
if (d1.compareTo(d0) > 0) { if (d1.compareTo(d0) > 0) {
s_gsf += ",入后归属客户经理,不算奖金。"; s_gsf += ",入后归属客户经理,不算奖金。";
saleManid = 0L; saleManid = 0L;
orderService.updateOrderSalesmanId(info.getOrderId(), orderService.updateOrderSalesmanId(info.getOrderId(),
0L); 0L);
...@@ -701,6 +701,7 @@ public class TargetLogServiceImpl extends ...@@ -701,6 +701,7 @@ public class TargetLogServiceImpl extends
//客户ID //客户ID
targetLogDO.setCustomerId(customerId); targetLogDO.setCustomerId(customerId);
//客户经理ID //客户经理ID
saleManid=consigneeDO.getCustomerService();
targetLogDO.setUserId(saleManid); targetLogDO.setUserId(saleManid);
targetLogDO.setLoglev(loglev); targetLogDO.setLoglev(loglev);
targetLogDO.setGsf(s_gsf); targetLogDO.setGsf(s_gsf);
......
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