Commit 72b7e928 authored by lanbaoming's avatar lanbaoming

2024-07-02-5提交

parent 56b9a1c6
......@@ -312,7 +312,7 @@ public class TargetLogServiceImpl extends AbstractService<TargetLogMapper, Targe
long selectCount =
targetLogMapper.selectCount(TargetLogDO::getOrderId,
orderId);
if (selectCount ==0L) {
if (selectCount == 0L) {
return;
}
//获取订单信息
......@@ -358,11 +358,6 @@ public class TargetLogServiceImpl extends AbstractService<TargetLogMapper, Targe
info.getOrderId()).orderByDesc(
OrderConsignorDO::getId).last("limit 1"));
if (info.getIsCargoControl()) {
//控货订单目前按发货人来算
customerId = info.getConsignorVO().getCustomerId();
} else {
if (consignorDO != null && !consignorDO.getNoConsignee()
&& !info.getHasConsignee()) {
//getHasConsignee 是否有收货人
......@@ -461,10 +456,9 @@ public class TargetLogServiceImpl extends AbstractService<TargetLogMapper, Targe
}
}
}
}
TargetLogDO targetLogDO =
targetLogMapper.selectById(targetId);
TargetLogDO targetLogDO = targetLogMapper.selectById(targetId);
//客户ID
targetLogDO.setCustomerId(customerId);
//客户经理ID
......
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