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
84ed97ce
Commit
84ed97ce
authored
Dec 06, 2022
by
“yiyousong”
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.scsmile.cn/zxf/sample-form-platform
parents
33066c62
d0c54ff8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
sample-form-manager/src/main/java/com/mortals/xhx/module/home/pdu/HomeQueryPdu.java
...in/java/com/mortals/xhx/module/home/pdu/HomeQueryPdu.java
+3
-0
sample-form-manager/src/main/java/com/mortals/xhx/module/home/web/HomeController.java
.../java/com/mortals/xhx/module/home/web/HomeController.java
+4
-1
No files found.
sample-form-manager/src/main/java/com/mortals/xhx/module/home/pdu/HomeQueryPdu.java
View file @
84ed97ce
...
...
@@ -7,4 +7,7 @@ public class HomeQueryPdu {
private
Long
siteId
;
private
String
devicenum
;
private
Integer
newSource
;
}
sample-form-manager/src/main/java/com/mortals/xhx/module/home/web/HomeController.java
View file @
84ed97ce
...
...
@@ -147,6 +147,9 @@ public class HomeController extends BaseJsonBodyController {
return
ret
;
}
@PostMapping
({
"info"
})
@UnAuth
public
Rest
<
Object
>
homePageInfo
(
@RequestBody
HomeQueryPdu
homeQueryPdu
)
{
...
...
@@ -181,7 +184,7 @@ public class HomeController extends BaseJsonBodyController {
model
.
put
(
"totalThrift"
,
996
);
//累计节约
model
.
put
(
"message_info"
,
busiDesc
+
"成功"
);
Rest
<
com
.
mortals
.
xhx
.
common
.
pdu
.
site
.
SitePdu
>
info
=
siteFeign
.
info
(
homeQueryPdu
.
getSiteId
());
model
.
put
(
"title"
,
info
.
getData
().
getSiteName
());
//标题
model
.
put
(
"title"
,
info
==
null
?
""
:
info
.
getData
().
getSiteName
());
//标题
HotwordEntity
hotwordEntity
=
hotwordService
.
selectOne
(
new
HotwordQuery
().
siteId
(
homeQueryPdu
.
getSiteId
()));
model
.
put
(
"blankCount"
,
hotwordEntity
==
null
?
20
:
hotwordEntity
.
getPrintDisplay
());
//空白样表数量
...
...
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