Commit da1ac3b9 authored by 赵啸非's avatar 赵啸非

回退站点业务请求列表

parent a423e55a
...@@ -39,16 +39,12 @@ public class StatSiteDeptMatterTaskImpl implements ITaskExcuteService { ...@@ -39,16 +39,12 @@ public class StatSiteDeptMatterTaskImpl implements ITaskExcuteService {
List<DeptEntity> deptEntities = deptService.find(new DeptQuery()); List<DeptEntity> deptEntities = deptService.find(new DeptQuery());
for (DeptEntity deptEntity : deptEntities) { for (DeptEntity deptEntity : deptEntities) {
int total = matterService.count(new MatterQuery().source(SourceEnum.政务网.getValue()).deptCode(deptEntity.getDeptNumber()), null); int total = matterService.count(new MatterQuery().source(SourceEnum.政务网.getValue()).deptCode(deptEntity.getDeptNumber()), null);
if (total > 0) {
DeptEntity deptQuery = new DeptEntity(); DeptEntity deptQuery = new DeptEntity();
deptQuery.setTotal(total); deptQuery.setTotal(total);
deptQuery.setUpdateTime(new Date()); deptQuery.setUpdateTime(new Date());
DeptEntity condition = new DeptEntity(); DeptEntity condition = new DeptEntity();
condition.setId(deptEntity.getId()); condition.setId(deptEntity.getId());
deptService.getDao().update(deptQuery, condition); deptService.getDao().update(deptQuery, condition);
}
} }
} }
......
...@@ -8,6 +8,7 @@ Content-Type: application/json ...@@ -8,6 +8,7 @@ Content-Type: application/json
"isWorkGuide":1 , "isWorkGuide":1 ,
"filter":1 , "filter":1 ,
"page":1, "page":1,
"source": 0,
"size":-1 "size":-1
} }
......
...@@ -124,7 +124,7 @@ client.global.set("Matter_id", JSON.parse(response.body).data.id); ...@@ -124,7 +124,7 @@ client.global.set("Matter_id", JSON.parse(response.body).data.id);
%} %}
###基础事项查看 ###基础事项查看
GET {{baseUrl}}/matter/info?id=34000 GET {{baseUrl}}/matter/info?id=39654
Accept: application/json Accept: application/json
###基础事项编辑 ###基础事项编辑
......
...@@ -4,12 +4,12 @@ POST {{baseUrl}}/site/matter/list ...@@ -4,12 +4,12 @@ POST {{baseUrl}}/site/matter/list
Content-Type: application/json Content-Type: application/json
{ {
"siteId":1, "siteId": 1,
"page":1, "page": 1,
"deptCode":"008702197", "deptId": "455",
"display": 1, "display": 1,
"source": 1, "source": 0,
"size":10 "size": 10
} }
...@@ -18,12 +18,12 @@ POST {{baseUrl}}/site/matter/save ...@@ -18,12 +18,12 @@ POST {{baseUrl}}/site/matter/save
Content-Type: application/json Content-Type: application/json
{ {
"siteId":2268, "siteId": 2268,
"siteName":"lrt9zi", "siteName": "lrt9zi",
"matterId":6861, "matterId": 6861,
"matterName":"cnobgt", "matterName": "cnobgt",
"deptId":1953, "deptId": 1953,
"deptName":"ittgh4" "deptName": "ittgh4"
} }
> {% > {%
...@@ -49,8 +49,8 @@ Content-Type: application/json ...@@ -49,8 +49,8 @@ Content-Type: application/json
Authorization: {{authToken}} Authorization: {{authToken}}
{ {
"siteId":35, "siteId": 35,
"matterIds":"1" "matterIds": "1"
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment