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
e5f44bed
Commit
e5f44bed
authored
Mar 27, 2025
by
Smile
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug338 报价单-结果-关联订单没有更新业绩,当入仓订单编辑时关联报价单,没关联上,并且业绩没有重新计算
parent
289747b6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
OrderServiceImpl.java
...dao/module/order/service/order/impl/OrderServiceImpl.java
+9
-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 @
e5f44bed
...
...
@@ -1855,6 +1855,15 @@ public class OrderServiceImpl extends AbstractService<OrderMapper, OrderDO> impl
return
;
}
// 如果报价单id不为空,则表示此订单关联报价单
OrderDO
updateObj
=
OrderConvert
.
INSTANCE
.
convert
(
updateReqVO
);
LoginUser
loginUser
=
SecurityFrameworkUtils
.
getLoginUser
();
String
updater
=
String
.
valueOf
(
loginUser
!=
null
?
loginUser
.
getId
()
:
null
);
if
(
Objects
.
nonNull
(
updateReqVO
.
getOfferId
())
&&
updateReqVO
.
getOfferId
()
>
0L
)
{
applicationContext
.
publishEvent
(
new
OfferAssociationOrderEvent
(
updateReqVO
.
getOfferId
(),
updateObj
.
getOrderId
(),
updateObj
.
getOrderNo
(),
updater
));
//重新计算业绩
offerUpdateOrderSalesman
(
updateObj
,
updateReqVO
.
getOfferId
());
}
OrderApprovalTypeCheckEvent
approvalTypeCheckEvent
=
new
OrderApprovalTypeCheckEvent
(
vo
.
getOrderId
(),
null
,
ORDER_UPDATE
.
getValue
(),
null
,
false
);
applicationContext
.
publishEvent
(
approvalTypeCheckEvent
);
if
(
approvalTypeCheckEvent
.
getResult
())
{
...
...
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