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
da1ac3b9
Commit
da1ac3b9
authored
May 08, 2023
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
回退站点业务请求列表
parent
a423e55a
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
24 deletions
+21
-24
base-manager/src/main/java/com/mortals/xhx/daemon/task/StatSiteDeptMatterTaskImpl.java
...m/mortals/xhx/daemon/task/StatSiteDeptMatterTaskImpl.java
+6
-10
base-manager/src/test/java/com/mortals/httpclient/dept/DeptController.http
...test/java/com/mortals/httpclient/dept/DeptController.http
+1
-0
base-manager/src/test/java/com/mortals/httpclient/matter/MatterController.http
.../java/com/mortals/httpclient/matter/MatterController.http
+1
-1
base-manager/src/test/java/com/mortals/httpclient/site/SiteMatterController.http
...ava/com/mortals/httpclient/site/SiteMatterController.http
+13
-13
No files found.
base-manager/src/main/java/com/mortals/xhx/daemon/task/StatSiteDeptMatterTaskImpl.java
View file @
da1ac3b9
...
...
@@ -39,16 +39,12 @@ public class StatSiteDeptMatterTaskImpl implements ITaskExcuteService {
List
<
DeptEntity
>
deptEntities
=
deptService
.
find
(
new
DeptQuery
());
for
(
DeptEntity
deptEntity
:
deptEntities
)
{
int
total
=
matterService
.
count
(
new
MatterQuery
().
source
(
SourceEnum
.
政务网
.
getValue
()).
deptCode
(
deptEntity
.
getDeptNumber
()),
null
);
if
(
total
>
0
)
{
DeptEntity
deptQuery
=
new
DeptEntity
();
deptQuery
.
setTotal
(
total
);
deptQuery
.
setUpdateTime
(
new
Date
());
DeptEntity
condition
=
new
DeptEntity
();
condition
.
setId
(
deptEntity
.
getId
());
deptService
.
getDao
().
update
(
deptQuery
,
condition
);
}
DeptEntity
deptQuery
=
new
DeptEntity
();
deptQuery
.
setTotal
(
total
);
deptQuery
.
setUpdateTime
(
new
Date
());
DeptEntity
condition
=
new
DeptEntity
();
condition
.
setId
(
deptEntity
.
getId
());
deptService
.
getDao
().
update
(
deptQuery
,
condition
);
}
}
...
...
base-manager/src/test/java/com/mortals/httpclient/dept/DeptController.http
View file @
da1ac3b9
...
...
@@ -8,6 +8,7 @@ Content-Type: application/json
"isWorkGuide":1 ,
"filter":1 ,
"page":1,
"source": 0,
"size":-1
}
...
...
base-manager/src/test/java/com/mortals/httpclient/matter/MatterController.http
View file @
da1ac3b9
...
...
@@ -124,7 +124,7 @@ client.global.set("Matter_id", JSON.parse(response.body).data.id);
%}
###基础事项查看
GET {{baseUrl}}/matter/info?id=3
4000
GET {{baseUrl}}/matter/info?id=3
9654
Accept: application/json
###基础事项编辑
...
...
base-manager/src/test/java/com/mortals/httpclient/site/SiteMatterController.http
View file @
da1ac3b9
...
...
@@ -4,12 +4,12 @@ POST {{baseUrl}}/site/matter/list
Content-Type: application/json
{
"siteId":
1,
"page":
1,
"dept
Code":"008702197
",
"siteId":
1,
"page":
1,
"dept
Id": "455
",
"display": 1,
"source":
1
,
"size":
10
"source":
0
,
"size":
10
}
...
...
@@ -18,12 +18,12 @@ POST {{baseUrl}}/site/matter/save
Content-Type: application/json
{
"siteId":
2268,
"siteName":
"lrt9zi",
"matterId":
6861,
"matterName":
"cnobgt",
"deptId":
1953,
"deptName":
"ittgh4"
"siteId":
2268,
"siteName":
"lrt9zi",
"matterId":
6861,
"matterName":
"cnobgt",
"deptId":
1953,
"deptName":
"ittgh4"
}
> {%
...
...
@@ -49,8 +49,8 @@ Content-Type: application/json
Authorization: {{authToken}}
{
"siteId":35,
"matterIds":"1"
"siteId":
35,
"matterIds":
"1"
}
...
...
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