Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
one-certificate-system
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
one-certificate-system
Commits
eb6c43f5
Commit
eb6c43f5
authored
Aug 07, 2024
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加目录字段
parent
7942005d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
one-certificate-manager/src/main/java/com/mortals/xhx/module/record/service/impl/ApplyLogServiceImpl.java
...s/xhx/module/record/service/impl/ApplyLogServiceImpl.java
+2
-4
No files found.
one-certificate-manager/src/main/java/com/mortals/xhx/module/record/service/impl/ApplyLogServiceImpl.java
View file @
eb6c43f5
...
@@ -144,12 +144,11 @@ public class ApplyLogServiceImpl extends AbstractCRUDServiceImpl<ApplyLogDao, Ap
...
@@ -144,12 +144,11 @@ public class ApplyLogServiceImpl extends AbstractCRUDServiceImpl<ApplyLogDao, Ap
.
collect
(
Collectors
.
groupingBy
(
ChildLicenseEntity:
:
getApplyId
));
.
collect
(
Collectors
.
groupingBy
(
ChildLicenseEntity:
:
getApplyId
));
for
(
ApplyLogEntity
entity
:
list
)
{
for
(
ApplyLogEntity
entity
:
list
)
{
//List<ChildLicenseEntity> childLicenseList = childLicenseService.find(new ChildLicenseQuery().applyId(entity.getId()));
List
<
ChildLicenseEntity
>
childLicenseList
=
childLicenseListMap
.
get
(
entity
.
getId
());
List
<
ChildLicenseEntity
>
childLicenseList
=
childLicenseListMap
.
get
(
entity
.
getId
());
Predicate
<
ChildLicenseEntity
>
enablePredicate
=
item
->
item
.
getChildStatus
()
==
StatusEnum
.
ENABLE
.
getValue
();
Predicate
<
ChildLicenseEntity
>
enablePredicate
=
item
->
item
.
getChildStatus
()
==
StatusEnum
.
ENABLE
.
getValue
();
Predicate
<
ChildLicenseEntity
>
processPredicate
=
item
->
item
.
getChildStatus
()
==
StatusEnum
.
ENABLE
.
getValue
()&&
item
.
getProcessStatus
()
==
ProcessStatusEnum
.
已处理
.
getValue
();
Predicate
<
ChildLicenseEntity
>
processPredicate
=
item
->
item
.
getChildStatus
()
==
StatusEnum
.
ENABLE
.
getValue
()&&
item
.
getProcessStatus
()
==
ProcessStatusEnum
.
已处理
.
getValue
();
long
childSum
=
childLicenseList
.
s
tream
().
filter
(
enablePredicate
).
count
();
long
childSum
=
childLicenseList
.
parallelS
tream
().
filter
(
enablePredicate
).
count
();
long
pCount
=
childLicenseList
.
s
tream
().
filter
(
processPredicate
).
count
();
long
pCount
=
childLicenseList
.
parallelS
tream
().
filter
(
processPredicate
).
count
();
List
<
CertificateDocumentPdu
>
documentEntityList
=
childLicenseList
.
stream
().
map
(
item
->
{
List
<
CertificateDocumentPdu
>
documentEntityList
=
childLicenseList
.
stream
().
map
(
item
->
{
CertificateDocumentPdu
pdu
=
new
CertificateDocumentPdu
();
CertificateDocumentPdu
pdu
=
new
CertificateDocumentPdu
();
pdu
.
setId
(
item
.
getId
());
pdu
.
setId
(
item
.
getId
());
...
@@ -179,7 +178,6 @@ public class ApplyLogServiceImpl extends AbstractCRUDServiceImpl<ApplyLogDao, Ap
...
@@ -179,7 +178,6 @@ public class ApplyLogServiceImpl extends AbstractCRUDServiceImpl<ApplyLogDao, Ap
}*/
}*/
entity
.
setProcessStatus
(
pCount
+
"/"
+
childSum
);
entity
.
setProcessStatus
(
pCount
+
"/"
+
childSum
);
entity
.
setChildCertificate
(
documentEntityList
);
entity
.
setChildCertificate
(
documentEntityList
);
//entity.setChildLicense(childLicenseList);
}
}
}
}
...
...
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