Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
fangxinjiang
yifu-mvp
Commits
64f28b46
Commit
64f28b46
authored
Jun 12, 2023
by
wangzb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feature-wzb :bug修复
parent
2bd2a9b1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
TOrderServiceImpl.java
...ud/plus/v1/yifu/order/service/impl/TOrderServiceImpl.java
+6
-4
No files found.
yifu-order/yifu-order-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/order/service/impl/TOrderServiceImpl.java
View file @
64f28b46
...
...
@@ -225,7 +225,7 @@ public class TOrderServiceImpl extends ServiceImpl<TOrderMapper, TOrder> impleme
.
eq
(
TOrderEnclosure:
:
getDeleteFlag
,
CommonConstants
.
ZERO_INT
)
);
if
(
CollectionUtils
.
isNotEmpty
(
list
))
{
List
<
TOrderEnclosure
>
listOld
=
list
.
stream
().
filter
(
e
->
CommonConstants
.
ZERO_INTEGER
.
equals
(
e
.
getEnclosureFlag
())).
collect
(
Collectors
.
toList
());
List
<
TOrderEnclosure
>
fileList
=
list
.
stream
().
filter
(
e
->
CommonConstants
.
ZERO_INTEGER
.
equals
(
e
.
getEnclosureFlag
())).
collect
(
Collectors
.
toList
());
List
<
TOrderEnclosure
>
wageList
=
list
.
stream
().
filter
(
e
->
CommonConstants
.
TWO_INTEGER
.
equals
(
e
.
getEnclosureFlag
())).
collect
(
Collectors
.
toList
());
List
<
TOrderEnclosure
>
salaryList
=
list
.
stream
().
filter
(
e
->
CommonConstants
.
THREE_INTEGER
.
equals
(
e
.
getEnclosureFlag
())).
collect
(
Collectors
.
toList
());
List
<
TOrderEnclosure
>
socialList
=
list
.
stream
().
filter
(
e
->
CommonConstants
.
FOUR_INTEGER
.
equals
(
e
.
getEnclosureFlag
())).
collect
(
Collectors
.
toList
());
...
...
@@ -237,8 +237,8 @@ public class TOrderServiceImpl extends ServiceImpl<TOrderMapper, TOrder> impleme
List
<
TOrderEnclosure
>
otherList
=
list
.
stream
().
filter
(
e
->
CommonConstants
.
TEN_INTEGER
.
equals
(
e
.
getEnclosureFlag
())).
collect
(
Collectors
.
toList
());
List
<
TOrderEnclosure
>
salaryHandoverList
=
list
.
stream
().
filter
(
e
->
CommonConstants
.
ELEVEN_INTEGER
.
equals
(
e
.
getEnclosureFlag
())).
collect
(
Collectors
.
toList
());
if
(
CollectionUtils
.
isNotEmpty
(
listOld
))
{
orderDetailVO
.
setOrderEnclosure
(
listOld
);
if
(
CollectionUtils
.
isNotEmpty
(
fileList
))
{
orderDetailVO
.
setOrderEnclosure
(
fileList
);
}
else
{
orderDetailVO
.
setOrderEnclosure
(
Lists
.
newArrayList
());
}
...
...
@@ -508,7 +508,9 @@ public class TOrderServiceImpl extends ServiceImpl<TOrderMapper, TOrder> impleme
if
(!
Common
.
isEmpty
(
vo
.
getOrderContent
())
&&
!
ValidityUtil
.
validate2048
(
vo
.
getOrderContent
())){
return
R
.
failed
(
OrderConstants
.
ORDER_CONTENT_MORE_THAN_2048
);
}
TSettleDomain
settleDomain
=
new
TSettleDomain
();
if
(
CollectionUtils
.
isEmpty
(
vo
.
getHandleUserList
())){
return
R
.
failed
(
OrderConstants
.
HANDLE_USER_IS_EMPTY
);
}
TSettleDomain
settleDomain
=
new
TSettleDomain
();
List
<
TSettleDomainSelectVo
>
settleDomainR
;
R
<
TSettleDomainListVo
>
listVo
;
...
...
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