Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
data-center
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
廖鑫
data-center
Commits
ff6cc0e0
Commit
ff6cc0e0
authored
Nov 15, 2021
by
shenxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
蓉易办推送数据
parent
dc4df905
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
1 deletion
+20
-1
dataCenter-manager/src/main/java/com/mortals/xhx/modules/information/service/InformationService.java
...s/xhx/modules/information/service/InformationService.java
+2
-0
dataCenter-manager/src/main/java/com/mortals/xhx/modules/information/service/impl/InformationServiceImpl.java
...ules/information/service/impl/InformationServiceImpl.java
+10
-1
dataCenter-manager/src/main/java/com/mortals/xhx/modules/information/web/InformationController.java
...ls/xhx/modules/information/web/InformationController.java
+8
-0
No files found.
dataCenter-manager/src/main/java/com/mortals/xhx/modules/information/service/InformationService.java
View file @
ff6cc0e0
...
...
@@ -15,4 +15,6 @@ public interface InformationService extends ICRUDService<InformationEntity,Long>
void
applyAndAccept
();
void
submitLinkData
();
void
pushMaxNum
();
}
\ No newline at end of file
dataCenter-manager/src/main/java/com/mortals/xhx/modules/information/service/impl/InformationServiceImpl.java
View file @
ff6cc0e0
...
...
@@ -311,7 +311,7 @@ public class InformationServiceImpl extends AbstractCRUDServiceImpl<InformationD
@Override
public
void
submitLinkData
()
{
PageInfo
pageInfo
=
new
PageInfo
();
pageInfo
.
setPrePageResult
(
100
);
pageInfo
.
setPrePageResult
(
pageSize
);
InformationQuery
informationQuery
=
new
InformationQuery
();
informationQuery
.
setNodeType
(
NodeTypeEnum
.
办结
.
getCode
());
informationQuery
.
setIsReport
(
"1"
);
...
...
@@ -348,6 +348,15 @@ public class InformationServiceImpl extends AbstractCRUDServiceImpl<InformationD
informationService
.
update
(
collect
,
null
);
}
@Override
public
void
pushMaxNum
()
{
PageInfo
pageInfo
=
new
PageInfo
();
pageInfo
.
setPrePageResult
(
pageSize
);
List
<
InformationEntity
>
informationEntities
=
informationService
.
find
(
null
,
pageInfo
,
null
).
getList
();
informationService
.
update
(
informationEntities
,
null
);
log
.
info
(
"数量为:"
+
pageSize
);
}
private
HashMap
<
String
,
Object
>
assemblyParametersLink
(
InformationEntity
e
)
{
SimpleDateFormat
format
=
new
SimpleDateFormat
(
"yyyy-MM-dd HH:mm:ss"
);
HashMap
<
String
,
Object
>
dataMap
=
new
HashMap
<>(
16
);
...
...
dataCenter-manager/src/main/java/com/mortals/xhx/modules/information/web/InformationController.java
View file @
ff6cc0e0
...
...
@@ -159,6 +159,14 @@ public class InformationController extends BaseCRUDJsonController<InformationSer
}
/**
* 推送蓉易办测试每次最大推送数量
*/
@GetMapping
(
value
=
"pushMaxNum"
)
public
void
pushMaxNum
(){
informationService
.
pushMaxNum
();
}
}
\ 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