Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sample-form-platform
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
赵啸非
sample-form-platform
Commits
c894b9ad
Commit
c894b9ad
authored
2 years ago
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加级联删除事项材料
parent
2f08fdb5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
sample-form-manager/src/main/java/com/mortals/xhx/module/home/web/HomeController.java
.../java/com/mortals/xhx/module/home/web/HomeController.java
+2
-1
No files found.
sample-form-manager/src/main/java/com/mortals/xhx/module/home/web/HomeController.java
View file @
c894b9ad
...
...
@@ -33,6 +33,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
import
org.springframework.web.bind.annotation.RestController
;
import
java.util.*
;
import
java.util.stream.Collectors
;
@RestController
@RequestMapping
(
"home"
)
...
...
@@ -150,7 +151,7 @@ public class HomeController extends BaseJsonBodyController {
String
busiDesc
=
"获取首页数据"
;
int
code
=
VALUE_RESULT_SUCCESS
;
try
{
List
<
HotwordEntity
>
hotwordEntities
=
hotwordService
.
find
(
new
HotwordQuery
().
siteId
(
homeQueryPdu
.
getSiteId
()
));
List
<
String
>
hotwordEntities
=
hotwordService
.
find
(
new
HotwordQuery
().
siteId
(
homeQueryPdu
.
getSiteId
())).
stream
().
map
(
HotwordEntity:
:
getHotwords
).
collect
(
Collectors
.
toList
(
));
model
.
put
(
"hotWords"
,
hotwordEntities
);
MatterQuery
matterQuery
=
new
MatterQuery
();
matterQuery
.
setSiteId
(
homeQueryPdu
.
getSiteId
());
...
...
This diff is collapsed.
Click to expand it.
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