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
d3d79bf1
Commit
d3d79bf1
authored
Jan 03, 2025
by
332784038@qq.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master-fix' into release
parents
339dd20b
1005d54e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
7 deletions
+12
-7
OrderServiceImpl.java
...dao/module/order/service/order/impl/OrderServiceImpl.java
+12
-7
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 @
d3d79bf1
...
...
@@ -2199,12 +2199,12 @@ public class OrderServiceImpl extends AbstractService<OrderMapper, OrderDO> impl
throw
exception
(
ORDER_UPDATE_APPROVAL_MUST_BE_WAREHOUSE_IN
);
}
}
if
(
isShipment
)
{
// 出货阶段的修改,需要将当前订单状态值标出,放首位
ApplyInfoVO
applyInfoVO
=
new
ApplyInfoVO
();
applyInfoVO
.
setName
(
statusName
);
applyInfoList
.
addFirst
(
applyInfoVO
);
}
//
if (isShipment) {
//
// 出货阶段的修改,需要将当前订单状态值标出,放首位
//
ApplyInfoVO applyInfoVO = new ApplyInfoVO();
//
applyInfoVO.setName(statusName);
//
applyInfoList.addFirst(applyInfoVO);
//
}
// 订单有修改则执行修改审批任务
vo
.
setApplyInfoList
(
applyInfoList
);
orderApprovalDO
=
new
OrderApprovalDO
();
...
...
@@ -4409,7 +4409,12 @@ public class OrderServiceImpl extends AbstractService<OrderMapper, OrderDO> impl
currentOrderDO
.
setAuditResult
(
auditResult
);
if
(
StringUtils
.
isNotBlank
(
auditResult
))
{
// 获取固定中文说明描述
msg
=
I18nMessage
.
getZhMessage
(
auditResult
);
// 这里针对订单修改审批业务需要补充,当订单在出货阶段进行编辑审批时,需要
msg
=
(((
Objects
.
equals
(
auditResult
,
order_update_processing
.
getDesc
())
||
Objects
.
equals
(
auditResult
,
order_update_pass
.
getDesc
())
||
Objects
.
equals
(
auditResult
,
order_update_reject
.
getDesc
())
||
Objects
.
equals
(
auditResult
,
order_update_cancel
.
getDesc
()))
&&
currentOrderDO
.
getShipmentState
()
>
0
)
?
OrderStatusEnum
.
valueOf
(
status
).
getNameZh
().
concat
(
"-"
):
""
).
concat
(
I18nMessage
.
getZhMessage
(
auditResult
));
}
if
(
auditType
==
0
)
{
this
.
checkOrderProcessingApprovalType
(
currentOrderDO
,
auditType
,
auditResult
);
...
...
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