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

回退站点业务请求列表

parent a423e55a
......@@ -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);
}
}
......
......@@ -8,6 +8,7 @@ Content-Type: application/json
"isWorkGuide":1 ,
"filter":1 ,
"page":1,
"source": 0,
"size":-1
}
......
......@@ -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
###基础事项编辑
......
......@@ -4,12 +4,12 @@ POST {{baseUrl}}/site/matter/list
Content-Type: application/json
{
"siteId":1,
"page":1,
"deptCode":"008702197",
"siteId": 1,
"page": 1,
"deptId": "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"
}
......
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