Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-api-boot-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lanbaoming
jiedao-api-boot-master
Commits
8d18ce63
Commit
8d18ce63
authored
Jul 04, 2024
by
lanbaoming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024-07-04-6提交
parent
9fa0ae71
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
19 deletions
+18
-19
TargetLogServiceImpl.java
.../module/order/service/targetLog/TargetLogServiceImpl.java
+18
-19
No files found.
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/service/targetLog/TargetLogServiceImpl.java
View file @
8d18ce63
...
@@ -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
+=
",收货客户为空。"
;
saleManid
=
0L
;
saleManid
=
0L
;
TargetLogDO
targetLogDO
=
targetLogMapper
.
selectById
(
targetId
);
TargetLogDO
targetLogDO
=
targetLogMapper
.
selectById
(
targetId
);
//客户ID
//客户ID
targetLogDO
.
setCustomerId
(
customerId
);
targetLogDO
.
setCustomerId
(
customerId
);
...
@@ -662,12 +662,13 @@ public class TargetLogServiceImpl extends
...
@@ -662,12 +662,13 @@ public class TargetLogServiceImpl extends
}
}
if
(
consigneeDO
.
getCustomerService
()
==
null
||
if
(
consigneeDO
.
getCustomerService
()
==
null
||
consigneeDO
.
getCustomerService
()
==
0
)
{
consigneeDO
.
getCustomerService
()
==
0
&&
consigneeDO
.
getSource
()
==
12
)
{
//收货人客户经理为空时不算业绩
//收货人客户经理为空时不算业绩
//客户来源是发货人推荐,不保留业绩记录 customer_source
//客户来源是发货人推荐,不保留业绩记录 customer_source
//2024-06-03 添加的逻辑
//2024-06-03 添加的逻辑
s_gsf
+=
",收货人客户经理为空,不算奖金。"
;
s_gsf
+=
",收货人客户经理为空
,发货人推荐
,不算奖金。"
;
saleManid
=
0L
;
saleManid
=
0L
;
//删除业绩记录
//删除业绩记录
orderService
.
updateOrderSalesmanId
(
info
.
getOrderId
(),
orderService
.
updateOrderSalesmanId
(
info
.
getOrderId
(),
0L
);
0L
);
...
@@ -695,21 +696,19 @@ public class TargetLogServiceImpl extends
...
@@ -695,21 +696,19 @@ public class TargetLogServiceImpl extends
}
}
}
}
if
(
consigneeDO
.
getSource
()
==
12
)
{
s_gsf
+=
",发货人带来的收货人,有客户经理,归收货人客户经理。"
;
s_gsf
+=
",发货人带来的收货人,有客户经理,归收货人客户经理。"
;
TargetLogDO
targetLogDO
=
targetLogMapper
.
selectById
(
targetId
);
TargetLogDO
targetLogDO
=
targetLogMapper
.
selectById
(
targetId
);
//客户ID
//客户ID
targetLogDO
.
setCustomerId
(
customerId
);
targetLogDO
.
setCustomerId
(
customerId
);
//客户经理ID
//客户经理ID
saleManid
=
consigneeDO
.
getCustomerService
();
saleManid
=
consigneeDO
.
getCustomerService
();
targetLogDO
.
setUserId
(
saleManid
);
targetLogDO
.
setUserId
(
saleManid
);
targetLogDO
.
setLoglev
(
loglev
);
targetLogDO
.
setLoglev
(
loglev
);
targetLogDO
.
setGsf
(
s_gsf
);
targetLogDO
.
setGsf
(
s_gsf
);
targetLogDO
.
setGstype
(
n_gstype
);
targetLogDO
.
setGstype
(
n_gstype
);
targetLogDO
.
setUpdateTime
(
new
Date
());
targetLogDO
.
setUpdateTime
(
new
Date
());
targetLogMapper
.
updateById
(
targetLogDO
);
targetLogMapper
.
updateById
(
targetLogDO
);
return
;
return
;
}
}
else
if
(
info
.
getDrawee
()
==
3
)
{
}
else
if
(
info
.
getDrawee
()
==
3
)
{
//自定义付款
//自定义付款
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment