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
ada675ae
Commit
ada675ae
authored
Aug 08, 2024
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加水印图片
parent
c3ecc9b8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
26 deletions
+1
-26
one-certificate-manager/src/main/java/com/mortals/xhx/module/certificate/web/CertificateIndustryController.java
...module/certificate/web/CertificateIndustryController.java
+1
-26
No files found.
one-certificate-manager/src/main/java/com/mortals/xhx/module/certificate/web/CertificateIndustryController.java
View file @
ada675ae
...
@@ -98,31 +98,6 @@ public class CertificateIndustryController extends BaseCRUDJsonBodyMappingContro
...
@@ -98,31 +98,6 @@ public class CertificateIndustryController extends BaseCRUDJsonBodyMappingContro
}
}
@PostMapping
(
"list/exclude"
)
public
String
excludeList
(
CertificateIndustryEntity
query
)
{
Map
<
String
,
Object
>
model
=
new
HashMap
<>();
JSONObject
ret
=
new
JSONObject
();
String
busiDesc
=
"查询"
+
this
.
getModuleDesc
();
Long
id
=
query
.
getId
();
int
code
=
VALUE_RESULT_SUCCESS
;
try
{
Set
<
Long
>
idSet
=
new
HashSet
<>();
idSet
.
add
(
query
.
getId
());
List
<
CertificateIndustryEntity
>
collect
=
this
.
service
.
find
(
new
CertificateIndustryQuery
()).
stream
().
map
(
item
->
{
if
(
idSet
.
contains
(
item
.
getId
()))
return
null
;
return
item
;
}).
filter
(
f
->
f
!=
null
).
collect
(
Collectors
.
toList
());
model
.
put
(
"result"
,
collect
);
recordSysLog
(
request
,
busiDesc
+
" 【成功】"
);
}
catch
(
Exception
e
)
{
code
=
VALUE_RESULT_FAILURE
;
this
.
doException
(
request
,
busiDesc
,
model
,
e
);
}
ret
.
put
(
KEY_RESULT_DATA
,
model
);
ret
.
put
(
KEY_RESULT_CODE
,
code
);
return
ret
.
toJSONString
();
}
/**
/**
* 获取站点下拉树列表
* 获取站点下拉树列表
...
@@ -137,7 +112,7 @@ public class CertificateIndustryController extends BaseCRUDJsonBodyMappingContro
...
@@ -137,7 +112,7 @@ public class CertificateIndustryController extends BaseCRUDJsonBodyMappingContro
try
{
try
{
List
<
CertificateIndustryEntity
>
list
=
this
.
service
.
find
(
new
CertificateIndustryQuery
());
List
<
CertificateIndustryEntity
>
list
=
this
.
service
.
find
(
new
CertificateIndustryQuery
());
List
<
CertificateIndustryTreeSelect
>
treeSelects
=
this
.
service
.
buildCertificateIndustryTreeSelect
(
list
);
List
<
CertificateIndustryTreeSelect
>
treeSelects
=
this
.
service
.
buildCertificateIndustryTreeSelect
(
list
);
model
.
put
(
"
result
"
,
treeSelects
);
model
.
put
(
"
data
"
,
treeSelects
);
recordSysLog
(
request
,
busiDesc
+
" 【成功】"
);
recordSysLog
(
request
,
busiDesc
+
" 【成功】"
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
code
=
VALUE_RESULT_FAILURE
;
code
=
VALUE_RESULT_FAILURE
;
...
...
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