Commit 0780982b authored by 廖旭伟's avatar 廖旭伟

增加辅助接件事项功能接口,增加站点事项材料列表查询接口

parent 3d4bbccc
......@@ -1197,4 +1197,271 @@ msg|String|消息|-
}
```
## 辅助接件事项
### 查询辅助接件事项列表
**请求URL:** site/matter/assist/list
**请求方式:** POST
**内容类型:** application/json;charset=utf-8
**简要描述:** 查询辅助接件事项
**请求参数:**
参数名称|类型|必填|描述
:---|:---|:---|:------
page|Integer|否|当前页
size|Integer|否|每页条数,值为-1,查询所有记录
officeName|String|否|股室名称,字段前后添加%%模糊查询
dutyer|String|否|负责人姓名,字段前后添加%%模糊查询
telephone|String|否|联系电话,字段前后添加%%模糊查询
govUrl|String|否|政务网地址,字段前后添加%%模糊查询
**请求样例:**
```
{
"officeName":"4qbvm7",
"dutyer":"dyxxti",
"telephone":"007d25",
"govUrl":"xmtzoj",
"page":1,
"size":10
}
```
**响应参数:**
参数名称|参数类型|描述
:---|:---|:------
code|Integer|结果码(-1.失败,1.成功)
msg|String|消息
data|object|数据对象
 per_page|Integer|每页条数
 total|Integer|总条数
 last_page|Integer|总页数
 current_page|Integer|当前页
 data|array|结果集列表|数组
  id|Long|序号,主键,自增长
  siteMatterId|Long|站点事项id
  matterId|Long|事项ID
  matterName|String|事项名称
  matterCode|String|事项编码
  deptId|Long|部门ID
  deptName|String|部门名称
  deptCode|String|部门编码
  officeId|Long|股室ID
  officeName|String|股室名称
  dutyer|String|负责人姓名
  telephone|String|联系电话
  govUrl|String|政务网地址
  createUserId|Long|创建用户
  createTime|Date|创建时间
  updateUserId|Long|更新用户
  updateTime|Date|更新时间
dict|object|字典对象
**响应消息样例:**
```
{
"code":1,
"data":{
}
}
```
### 查看辅助接件事项
**请求URL:** site/matter/assist/info
**请求方式:** GET
**内容类型:** application/json;charset=utf-8
**简要描述:** 查看辅助接件事项,返回实例详细信息
**请求参数:**
参数名称|类型|必填|描述
:---|:---|:---|:------
id|Long|是|ID
**请求样例:**
```
http://localhost/site/matter/assist/info?id=549
```
**响应参数:**
参数名称 |参数类型|描述
:---|:---|:-------
code|Integer|结果码(-1.失败,1.成功)
msg|String|消息
data|object|数据对象
 id|Long|序号,主键,自增长
 siteMatterId|Long|站点事项id
 matterId|Long|事项ID
 matterName|String|事项名称
 matterCode|String|事项编码
 deptId|Long|部门ID
 deptName|String|部门名称
 deptCode|String|部门编码
 officeId|Long|股室ID
 officeName|String|股室名称
 dutyer|String|负责人姓名
 telephone|String|联系电话
 govUrl|String|政务网地址
 createUserId|Long|创建用户
 createTime|Date|创建时间
 updateUserId|Long|更新用户
 updateTime|Date|更新时间
dict|object|字典对象
**响应消息样例:**
```
{
"code": 1,
"data": {
"id":7131,
"siteMatterId":3359,
"matterId":9568,
"matterName":"k3sbg7",
"matterCode":"s9zus9",
"deptId":5548,
"deptName":"exnztm",
"deptCode":"3s3iaa",
"officeId":1513,
"officeName":"kbk5tt",
"dutyer":"zmgzpa",
"telephone":"5dnypb",
"govUrl":"q2nxeq",
"createUserId":5930,
"createTime":"2023-03-17",
"updateUserId":7894,
"updateTime":"2023-03-17"
}
}
```
### 保存更新辅助接件事项
**请求URL:** site/matter/assist/save
**请求方式:** POST
**内容类型:** application/json;charset=utf-8
**简要描述:** 保存或更新辅助接件事项:id为空时为新增保存,否则为更新提交
**请求参数:**
参数名称|类型|必填|描述
:---|:---|:---|:-------
siteMatterId|Long|否|站点事项id
matterId|Long|否|事项ID
matterName|String|否|事项名称
matterCode|String|否|事项编码
deptId|Long|否|部门ID
deptName|String|否|部门名称
deptCode|String|否|部门编码
officeId|Long|否|股室ID
officeName|String|否|股室名称
dutyer|String|否|负责人姓名
telephone|String|否|联系电话
govUrl|String|否|政务网地址
**请求样例:**
```
{
"siteMatterId":5126,
"matterId":9000,
"matterName":"030xfo",
"matterCode":"drvlpx",
"deptId":9170,
"deptName":"yo2kqh",
"deptCode":"46bmqb",
"officeId":7136,
"officeName":"qbtdim",
"dutyer":"fyruzo",
"telephone":"ddfjfj",
"govUrl":"3h7560",
}
```
**响应参数:**
参数名称 |参数类型|描述
:---|:---|:------
code|Integer|结果码(-1.失败,1.成功)
msg|String|消息
data|object|数据对象
 id|Long|保存后主键id
 entity|object|保存更新实体
  id|Long|序号,主键,自增长
  siteMatterId|Long|站点事项id
  matterId|Long|事项ID
  matterName|String|事项名称
  matterCode|String|事项编码
  deptId|Long|部门ID
  deptName|String|部门名称
  deptCode|String|部门编码
  officeId|Long|股室ID
  officeName|String|股室名称
  dutyer|String|负责人姓名
  telephone|String|联系电话
  govUrl|String|政务网地址
  createUserId|Long|创建用户
  createTime|Date|创建时间
  updateUserId|Long|更新用户
  updateTime|Date|更新时间
**响应消息样例:**
```
{
"msg":"新增模块成功",
"code":1,
"data":{}
}
}
```
### 删除辅助接件事项
**请求URL:** site/matter/assist/delete
**请求方式:** GET
**内容类型:** application/json;charset=utf-8
**简要描述:** 删除辅助接件事项
**请求参数:**
参数名称|类型|必填|描述
:---|:---|:---|:------
id|String|是|数组
**请求样例:**
```
http://localhost:8080/site/matter/assist/delete?id=1&id=2'
```
**响应参数:**
参数名称 |参数类型|备注|其它
---|---|---|---
code|Integer|结果码(-1.失败,1.成功)|-
msg|String|消息|-
**响应消息样例:**
```
{
"code":1,
"msg":"成功"
}
```
## 字典附录
......@@ -25,7 +25,7 @@
</activation>
<properties>
<profiles.active>develop</profiles.active>
<profiles.server.path>/kbm</profiles.server.path>
<profiles.server.path>/kb</profiles.server.path>
<profiles.publish.path>/home/publish</profiles.publish.path>
<profiles.nacos.server-addr>192.168.0.252:8848</profiles.nacos.server-addr>
<profiles.nacos.group>DEFAULT_GROUP</profiles.nacos.group>
......@@ -40,7 +40,7 @@
<id>test</id>
<properties>
<profiles.active>test</profiles.active>
<profiles.server.path>/kbm</profiles.server.path>
<profiles.server.path>/kb</profiles.server.path>
<profiles.publish.path>/home/publish</profiles.publish.path>
<profiles.nacos.server-addr>192.168.0.252:8848</profiles.nacos.server-addr>
<profiles.nacos.group>DEFAULT_GROUP</profiles.nacos.group>
......@@ -56,12 +56,12 @@
<id>product</id>
<properties>
<profiles.active>product</profiles.active>
<profiles.server.path>/kbm</profiles.server.path>
<profiles.server.port>17211</profiles.server.port>
<profiles.server.path>/kb</profiles.server.path>
<profiles.server.port>18002</profiles.server.port>
<profiles.publish.path>/home/publish</profiles.publish.path>
<profiles.nacos.server-addr>127.0.0.1:8848</profiles.nacos.server-addr>
<profiles.nacos.group>DEFAULT_GROUP</profiles.nacos.group>
<profiles.nacos.namespace>smart-gov</profiles.nacos.namespace>
<profiles.nacos.namespace>smart-gov-chuanshan</profiles.nacos.namespace>
<profiles.log.path>/home/mortals/app/logs</profiles.log.path>
<profiles.log.level>INFO</profiles.log.level>
<package.environment>build</package.environment>
......
......@@ -56,7 +56,7 @@
<properties>
<profiles.active>product</profiles.active>
<profiles.server.path>/sm</profiles.server.path>
<profiles.server.port>17001</profiles.server.port>
<profiles.server.port>18001</profiles.server.port>
<profiles.publish.path>/home/publish</profiles.publish.path>
<profiles.nacos.server-addr>127.0.0.1:8848</profiles.nacos.server-addr>
<profiles.nacos.group>DEFAULT_GROUP</profiles.nacos.group>
......
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