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
892a2673
Commit
892a2673
authored
May 22, 2024
by
liuzeheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
发货人没有设置默认付款且发货人付款且没有关联报价单
parent
2ab027ad
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
OrderServiceImpl.java
...dao/module/order/service/order/impl/OrderServiceImpl.java
+5
-0
No files found.
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/service/order/impl/OrderServiceImpl.java
View file @
892a2673
...
...
@@ -909,6 +909,10 @@ public class OrderServiceImpl extends AbstractService<OrderMapper, OrderDO> impl
order
.
setCustomerId
(
orderConsignorDO
.
getCustomerId
())
;
}
}
else
if
(!
consignorDO
.
getDefaultPay
()
&&
order
.
getDrawee
()==
1
&&
createReqVO
.
getOfferId
()!=
null
){
//发货人没有设置默认付款且发货人付款且没有关联报价单 -- 层级6
//业绩归属公司
order
.
setCustomerId
(
0L
)
;
order
.
setSalesmanId
(
0L
);
}
if
(
order
.
getDrawee
()==
2
||
order
.
getDrawee
()==
3
){
//如果是收货人付款或是自定义付款 --层级5
if
(
order
.
getDrawee
()==
2
){
//订单收货人付款,业绩归属收货人
...
...
@@ -925,6 +929,7 @@ public class OrderServiceImpl extends AbstractService<OrderMapper, OrderDO> impl
}
}
}
// 更新所属客户经理(业务员)
if
(
Objects
.
nonNull
(
order
.
getCustomerId
())
&&
order
.
getCustomerId
()
>
0
)
{
...
...
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