| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- /**
- * @api {delete} /v1/patrol/task/delete 06.删除多条巡检任务
- * @apiName 删除多条巡检任务
- * @apiGroup 巡检计划-巡检任务
- * @apiVersion 1.0.3
- * @apiPermission 【/v1/patrol/task/delete#DELETE】
- * @apiHeader {String = application/x-www-form-urlencoded} Content-Type = application/x-www-form-urlencoded
- * @apiHeader {String} Authorization = eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VyX3V1aWQiOjMzODkzNTc0MDMzNjk0NzIwLCJuYmYiOjE2NDcxMDMzMjV9.zkk2igTRJMx15TPwlpVRa63sV11YHFgAqPZpnp9hGEU 授权信息
- * @apiHeader {String = zh-CN,en-US} accept-language = zh-CN
- * @apiQuery { Long[] { 1-2147483647 } } ids 巡检任务id数组
- * @apiSuccess { Boolean } data 数据
- * @apiSuccess { String } message 信息
- * @apiSuccess { Integer } code 状态码
- * @apiSuccessExample Response
- *
- * {"data":true, "message":"", "code":1}
- */
- /**
- * @api {delete} /v1/patrol/task/delete/:id 07.删除巡检任务
- * @apiName 删除巡检任务
- * @apiGroup 巡检计划-巡检任务
- * @apiVersion 1.0.3
- * @apiPermission 【/v1/patrol/task/delete/{id}#DELETE】
- * @apiHeader {String = application/x-www-form-urlencoded} Content-Type = application/x-www-form-urlencoded
- * @apiHeader {String} Authorization = eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VyX3V1aWQiOjMzODkzNTc0MDMzNjk0NzIwLCJuYmYiOjE2NDcxMDMzMjV9.zkk2igTRJMx15TPwlpVRa63sV11YHFgAqPZpnp9hGEU 授权信息
- * @apiHeader {String = zh-CN,en-US} accept-language = zh-CN
- * @apiParam { Long } id 巡检任务id
- * @apiSuccess { Boolean } data 数据
- * @apiSuccess { String } message 信息
- * @apiSuccess { Integer } code 状态码
- * @apiSuccessExample Response
- *
- * {"data":true, "message":"", "code":1}
- */
- /**
- * @api {get} /v1/temporary/task/list/statistical 04.临时任务统计
- * @apiName 临时任务统计
- * @apiGroup 临时任务-全部临时任务
- * @apiVersion 1.0.3
- * @apiPermission 【/v1/temporary/task/list/statistical#GET】
- * @apiHeader {String = application/x-www-form-urlencoded} Content-Type = application/x-www-form-urlencoded
- * @apiHeader {String} Authorization = eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VyX3V1aWQiOjMzODkzNTc0MDMzNjk0NzIwLCJuYmYiOjE2NDcxMDMzMjV9.zkk2igTRJMx15TPwlpVRa63sV11YHFgAqPZpnp9hGEU 授权信息
- * @apiHeader {String = zh-CN,en-US} accept-language = zh-CN
- * @apiQuery { Integer } type 统计口径 1:执行人 2:任务类型 3:任务日期 4:任务月份
- * @apiQuery { Date } [ startTime ] 开始日期
- * @apiQuery { Date } [ endTime ] 结束日期
- * @apiQuery { Integer } [ page = 1 ] 页码
- * @apiQuery { Integer } [ size = 10 ] 页大小
- * @apiQuery { String { ^[-+][\w]+ } } [ order = +name ] 排序规则(默认name正序),排序字段前加:+表示正序 -表示倒序
- * @apiSuccess { Object } data 数据
- * @apiSuccess { Long } data.total 数据总数
- * @apiSuccess { Object[] } data.list 数据列表
- * @apiSuccess { String } data.list.name 项目名称
- * @apiSuccess { Object[] } data.list.statusList 状态列表
- * @apiSuccess { Integer } data.list.statusList.status 任务状态 1:正在处理 2:已经完成 3:已经取消 4:超时任务
- * @apiSuccess { Integer } data.list.statusList.count 任务总数
- * @apiSuccess { String } message 信息
- * @apiSuccess { Integer } code 状态码
- * @apiSuccessExample Response
- *
- * {"data":{"total":1, "list":[{"name":"", "statusList":[{"status":1, "count":1}]}]}, "message":"", "code":1}
- */
|