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
00452373
Commit
00452373
authored
Nov 14, 2024
by
zhengyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
批量费用申请审批详情内容未展示的bug修复
parent
9c854aff
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
11 deletions
+31
-11
OrderFeeApplicationServiceImpl.java
...er/service/order/impl/OrderFeeApplicationServiceImpl.java
+31
-11
No files found.
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/service/order/impl/OrderFeeApplicationServiceImpl.java
View file @
00452373
...
...
@@ -630,6 +630,19 @@ public class OrderFeeApplicationServiceImpl extends AbstractService<OrderFeeAppl
@Override
public
OrderFeeApplicationBackVO
getOrderByProcessId
(
String
processId
)
{
OrderApprovalDO
orderApprovalDO
=
orderApprovalService
.
getOne
(
new
LambdaQueryWrapper
<
OrderApprovalDO
>().
eq
(
OrderApprovalDO:
:
getFormId
,
processId
).
orderByDesc
(
OrderApprovalDO:
:
getOrderApprovalId
).
last
(
"limit 1"
));
if
(
Objects
.
nonNull
(
orderApprovalDO
)
&&
orderApprovalDO
.
getType
()
==
12
&&
StringUtils
.
isNotBlank
(
orderApprovalDO
.
getDetails
()))
{
OrderFeeApplicationDO
orderFeeApplicationDO
=
JSONObject
.
parseObject
(
orderApprovalDO
.
getDetails
(),
OrderFeeApplicationDO
.
class
);
OrderFeeApplicationBackVO
convert
=
OrderFeeApplicationConvert
.
INSTANCE
.
convert
(
orderFeeApplicationDO
);
if
(
orderFeeApplicationDO
!=
null
)
{
OrderBackVO
order
=
orderQueryService
.
getOrder
(
orderFeeApplicationDO
.
getOrderId
());
LogisticsInfoDto
startInfoAndDestInfoByLineId
=
warehouseLineMapper
.
getStartInfoAndDestInfoByLineId
(
order
.
getLineId
());
convert
.
setStartWarehouse
(
startInfoAndDestInfoByLineId
.
getStartTitleZh
());
convert
.
setDestWarehouse
(
startInfoAndDestInfoByLineId
.
getDestTitleZh
());
convert
.
setOrderBackVO
(
order
);
}
return
convert
;
}
else
{
OrderFeeApplicationDO
orderFeeApplicationDO
=
feeApplicationMapper
.
selectOne
(
OrderFeeApplicationDO:
:
getBpmProcessId
,
processId
);
OrderFeeApplicationBackVO
convert
=
OrderFeeApplicationConvert
.
INSTANCE
.
convert
(
orderFeeApplicationDO
);
if
(
orderFeeApplicationDO
!=
null
)
{
...
...
@@ -641,12 +654,19 @@ public class OrderFeeApplicationServiceImpl extends AbstractService<OrderFeeAppl
}
return
convert
;
}
}
@Override
public
List
<
OrderFeeApplicationBackVO
>
getBatchFeeByProcessId
(
String
processId
)
{
OrderApprovalDO
orderApprovalDO
=
orderApprovalService
.
getApproval
(
Long
.
valueOf
(
processId
));
if
(
Objects
.
nonNull
(
orderApprovalDO
)
&&
orderApprovalDO
.
getType
()
==
41
&&
StringUtils
.
isNotBlank
(
orderApprovalDO
.
getDetails
()))
{
List
<
OrderFeeApplicationDO
>
orderFeeApplicationDOList
=
JSONObject
.
parseArray
(
orderApprovalDO
.
getDetails
(),
OrderFeeApplicationDO
.
class
);
return
OrderFeeApplicationConvert
.
INSTANCE
.
convertList
(
orderFeeApplicationDOList
);
}
else
{
List
<
OrderFeeApplicationDO
>
orderFeeApplicationDOList
=
feeApplicationMapper
.
selectList
(
OrderFeeApplicationDO:
:
getBatchBpmBusinessId
,
processId
);
return
OrderFeeApplicationConvert
.
INSTANCE
.
convertList
(
orderFeeApplicationDOList
);
}
}
@Override
@Transactional
(
rollbackFor
=
Exception
.
class
)
...
...
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