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
00ea90b8
Commit
00ea90b8
authored
Aug 05, 2024
by
廖旭伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug修改
parent
68b5bca0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
one-certificate-manager/src/main/java/com/mortals/xhx/module/certificate/model/vo/CertificateIndustryVo.java
...hx/module/certificate/model/vo/CertificateIndustryVo.java
+1
-1
one-certificate-manager/src/main/java/com/mortals/xhx/module/certificate/web/CertificateIndustryController.java
...module/certificate/web/CertificateIndustryController.java
+2
-2
No files found.
one-certificate-manager/src/main/java/com/mortals/xhx/module/certificate/model/vo/CertificateIndustryVo.java
View file @
00ea90b8
...
...
@@ -13,5 +13,5 @@ import java.util.List;
*/
@Data
public
class
CertificateIndustryVo
extends
BaseEntityLong
{
List
<
CertificateIndustryEntity
>
child
Industry
;
List
<
CertificateIndustryEntity
>
child
ren
;
}
\ No newline at end of file
one-certificate-manager/src/main/java/com/mortals/xhx/module/certificate/web/CertificateIndustryController.java
View file @
00ea90b8
...
...
@@ -66,7 +66,7 @@ public class CertificateIndustryController extends BaseCRUDJsonBodyMappingContro
if
(
CollectionUtils
.
isNotEmpty
(
result
)){
List
<
CertificateIndustryEntity
>
collect
=
result
.
stream
().
filter
(
t
->
t
.
getParentId
()
==
-
1
).
map
(
m
->
{
m
.
setChild
Industry
(
getChildren
(
m
,
result
));
m
.
setChild
ren
(
getChildren
(
m
,
result
));
return
m
;
}
).
collect
(
Collectors
.
toList
());
...
...
@@ -95,7 +95,7 @@ public class CertificateIndustryController extends BaseCRUDJsonBodyMappingContro
return
Objects
.
equals
(
t
.
getParentId
(),
root
.
getId
());
}).
map
(
m
->
{
m
.
setChild
Industry
(
getChildren
(
m
,
all
));
m
.
setChild
ren
(
getChildren
(
m
,
all
));
return
m
;
}
).
collect
(
Collectors
.
toList
());
...
...
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