# 通用说明 ## 1.环境路径 > 政务网环境:http://2.21.138.145:8094 > 外网环境:http://60.166.115.76:8094 # 1.接收工单 ## 1.1入参描述、示例 | ***\*参数名\**** | ***\*中文描述\**** | ***\*类型\**** | ***\*是否必填\**** | |------------------|------------------------------------|--------------|----------------| | workordercode | 编号 | String | 必填 | | scene | 专项 | String | 必填 | | workordercontent | 工单内容 | String | 必填 | | place | 位置 | String | 必填 | | area | 区域 | String | 必填 | | dispatchtime | 下发时间 格式:yyyy-MM-dd HH:mm:ss | date | 必填 | | processlimited | 处理时限yyyy-MM-dd | date | | | state | 工单状态 0待处理 1处理中 2已完成 | intteger | 必填 | | workordertype | 工单类型 0事件工单、1预警工单、2风险工单、3隐患工单、4设备工单 | intteger | 必填 | | attachments | 附件URL地址(多个以逗号隔开) | String | 必填 | | sendscene | 需下发专项(多个专项用英文逗号分割) | String | 必填 | ## 1.2 请求方式 POST /TbPushWork/uploadTbPushWork > Body请求参数 ```json { "workordercode": "GS20240612000001", "scene": "供水", "workordercontent": "测试", "place": "测试", "area": "测试", "dispatchtime": "2024-06-12 12:18:11", "processlimited": "2024-06-17", "state": 0, "workordertype": 1, "attachments": "http://ip:xx/xxxx/xxx", "sendscene": "供水", "ordersource": "1111" } ``` ## 1.3返回结果 ```json { "success": true, "code": 10000, "message": "操作成功!", "pageInfo": null, "resultData": null } ``` # 2.工单问题答复 ## 2.1入参描述、示例 | 参数名 | 中文描述 | 类型 | 是否必填 | |----------------|-----------------------------|--------|------| | workordercode | 编号 | String | 必填 | | handlerid | 处理人员编号 | String | 必填 | | disposaldeptid | 处理单位(部门)id | String | 必填 | | processtime | 处理时间 格式:yyyy-MM-dd HH:mm:ss | date | 必填 | | state | 工单状态 1处理中 2已完成 | integer | 必填 | | feedback | 处理结果说明 | String | 必填 | | attachments | 附件URL地址 (多个以逗号隔开) | String | 必填 | | yjyabh | 关联应急预案编号 | String | 必填 | ## 2.2 请求方式 POST /TbPushWork/uploadTbWorkReceiptResult > Body请求参数 ```json { "workordercode": "GS20240612000001", "handlerid": "供水", "disposaldeptid": "测试", "processTime": "2024-06-12 12:18:11", "state": 0, "feedback": "11111", "attachments": "http://ip:xx/xxxx/xxx", "yjyabh": "1111" } ``` ## 2.3返回结果 ```json { "success": true, "code": 10000, "message": "操作成功!", "pageInfo": null, "resultData": null } ```