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
cd028478
Commit
cd028478
authored
Aug 08, 2024
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加水印图片
parent
e20bec28
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
2 deletions
+13
-2
one-certificate-manager/src/main/java/com/mortals/xhx/module/certificate/model/CertificateIndustryTreeSelect.java
...dule/certificate/model/CertificateIndustryTreeSelect.java
+5
-1
one-certificate-manager/src/test/java/com/mortals/httpclient/http-client.env.json
...src/test/java/com/mortals/httpclient/http-client.env.json
+1
-1
one-certificate-manager/src/test/java/com/mortals/httpclient/system.http
...-manager/src/test/java/com/mortals/httpclient/system.http
+7
-0
No files found.
one-certificate-manager/src/main/java/com/mortals/xhx/module/certificate/model/CertificateIndustryTreeSelect.java
View file @
cd028478
...
...
@@ -5,6 +5,8 @@ import java.util.ArrayList;
import
com.mortals.xhx.module.certificate.model.vo.CertificateIndustryVo
;
import
com.fasterxml.jackson.annotation.JsonInclude
;
import
lombok.Data
;
import
org.springframework.util.ObjectUtils
;
import
java.io.Serializable
;
import
java.util.stream.Collectors
;
/**
...
...
@@ -36,7 +38,9 @@ public class CertificateIndustryTreeSelect implements Serializable {
public
CertificateIndustryTreeSelect
(
CertificateIndustryEntity
entity
)
{
this
.
id
=
entity
.
getId
();
this
.
label
=
entity
.
getIndustryName
();
this
.
children
=
entity
.
getChildren
().
stream
().
map
(
CertificateIndustryTreeSelect:
:
new
).
collect
(
Collectors
.
toList
());
if
(!
ObjectUtils
.
isEmpty
(
entity
.
getChildren
())){
this
.
children
=
entity
.
getChildren
().
stream
().
map
(
CertificateIndustryTreeSelect:
:
new
).
collect
(
Collectors
.
toList
());
}
}
}
\ No newline at end of file
one-certificate-manager/src/test/java/com/mortals/httpclient/http-client.env.json
View file @
cd028478
...
...
@@ -3,7 +3,7 @@
"baseUrl"
:
"http://127.0.0.1:17500/attendance"
},
"test"
:
{
"baseUrl"
:
"http://192.168.0.
250
:11011/onecert"
"baseUrl"
:
"http://192.168.0.
98
:11011/onecert"
},
"test-remote"
:
{
"baseUrl"
:
"http://8.136.255.30:11011/onecert"
...
...
one-certificate-manager/src/test/java/com/mortals/httpclient/system.http
View file @
cd028478
...
...
@@ -42,4 +42,11 @@ Content-Type: application/json
POST {{baseUrl}}/param/interlist
Content-Type: application/json
{}
###获取行业树
GET {{baseUrl}}/certificate/industry/treeselect
Content-Type: application/json
{}
\ No newline at end of file
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