Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
smart_gov_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
赵啸非
smart_gov_platform
Commits
e362d766
Commit
e362d766
authored
May 09, 2023
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
回退站点业务请求列表
parent
c1cce852
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
base-manager/src/main/java/com/mortals/xhx/daemon/task/StatSiteDeptMatterTaskImpl.java
...m/mortals/xhx/daemon/task/StatSiteDeptMatterTaskImpl.java
+5
-1
base-manager/src/main/java/com/mortals/xhx/module/site/web/SiteMatterController.java
...com/mortals/xhx/module/site/web/SiteMatterController.java
+1
-3
No files found.
base-manager/src/main/java/com/mortals/xhx/daemon/task/StatSiteDeptMatterTaskImpl.java
View file @
e362d766
...
...
@@ -18,6 +18,7 @@ import lombok.extern.slf4j.Slf4j;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
java.util.Arrays
;
import
java.util.Date
;
import
java.util.List
;
...
...
@@ -38,7 +39,10 @@ public class StatSiteDeptMatterTaskImpl implements ITaskExcuteService {
log
.
info
(
"开始同步事项列表!"
);
List
<
DeptEntity
>
deptEntities
=
deptService
.
find
(
new
DeptQuery
());
for
(
DeptEntity
deptEntity
:
deptEntities
)
{
int
total
=
matterService
.
count
(
new
MatterQuery
().
source
(
SourceEnum
.
政务网
.
getValue
()).
deptCode
(
deptEntity
.
getDeptNumber
()),
null
);
MatterQuery
matterQuery
=
new
MatterQuery
();
matterQuery
.
setEventTypeShowNotList
(
Arrays
.
asList
(
"行政处罚"
));
int
total
=
matterService
.
count
(
matterQuery
.
source
(
SourceEnum
.
政务网
.
getValue
()).
deptCode
(
deptEntity
.
getDeptNumber
()),
null
);
DeptEntity
deptQuery
=
new
DeptEntity
();
deptQuery
.
setTotal
(
total
);
deptQuery
.
setUpdateTime
(
new
Date
());
...
...
base-manager/src/main/java/com/mortals/xhx/module/site/web/SiteMatterController.java
View file @
e362d766
...
...
@@ -45,9 +45,7 @@ public class SiteMatterController extends BaseCRUDJsonBodyMappingController<Site
super
.
doListBefore
(
query
,
model
,
context
);
query
.
setOrderColList
(
Arrays
.
asList
(
new
OrderCol
(
"hot"
,
OrderCol
.
DESCENDING
)));
if
(
ObjectUtils
.
isEmpty
(
query
.
getEventTypeShowNotList
()))
{
ArrayList
<
String
>
notList
=
new
ArrayList
<>();
notList
.
add
(
"行政处罚"
);
query
.
setEventTypeShowNotList
(
notList
);
query
.
setEventTypeShowNotList
(
Arrays
.
asList
(
"行政处罚"
));
}
}
}
\ 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