5-27 fix
parent
4e3f454f4f
commit
73f91b09de
|
|
@ -56,9 +56,9 @@ public class FeedbackController {
|
|||
return taskListService.getByFeedbackId(feedbackId);
|
||||
}
|
||||
|
||||
@ApiOperation("获取异常记录列表")
|
||||
@PostMapping("/exception/list")
|
||||
public PageResponse<FeedbackExceptionCO> exceptionPage(@RequestBody FeedbackExceptionPageQry qry) {
|
||||
return taskListService.exceptionPage(qry);
|
||||
}
|
||||
// @ApiOperation("获取异常记录列表")
|
||||
// @PostMapping("/exception/list")
|
||||
// public PageResponse<FeedbackExceptionCO> exceptionPage(@RequestBody FeedbackExceptionPageQry qry) {
|
||||
// return taskListService.exceptionPage(qry);
|
||||
// }
|
||||
}
|
||||
|
|
|
|||
|
|
@ -58,13 +58,13 @@ public class TaskListController {
|
|||
|
||||
@ApiOperation("关闭清单")
|
||||
@PostMapping("/close")
|
||||
public Response close(@Validated @RequestBody TaskListCloseCmd cmd) {
|
||||
public SingleResponse close(@Validated @RequestBody TaskListCloseCmd cmd) {
|
||||
return taskListService.close(cmd);
|
||||
}
|
||||
|
||||
@ApiOperation("任务下发")
|
||||
@PostMapping("/issue")
|
||||
public Response issue(@Validated @RequestBody TaskListIssueCmd cmd) {
|
||||
public SingleResponse issue(@Validated @RequestBody TaskListIssueCmd cmd) {
|
||||
return taskListService.issue(cmd);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -102,15 +102,15 @@ public class TaskListServiceImpl implements TaskListServiceI {
|
|||
}
|
||||
|
||||
@Override
|
||||
public Response close(TaskListCloseCmd cmd) {
|
||||
public SingleResponse close(TaskListCloseCmd cmd) {
|
||||
taskListCloseExe.execute(cmd);
|
||||
return Response.buildSuccess();
|
||||
return SingleResponse.buildSuccess();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Response issue(TaskListIssueCmd cmd) {
|
||||
public SingleResponse issue(TaskListIssueCmd cmd) {
|
||||
taskListIssueExe.execute(cmd);
|
||||
return Response.buildSuccess();
|
||||
return SingleResponse.buildSuccess();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ public interface TaskListServiceI {
|
|||
* @param cmd 关闭命令
|
||||
* @return 操作结果
|
||||
*/
|
||||
Response close(TaskListCloseCmd cmd);
|
||||
SingleResponse close(TaskListCloseCmd cmd);
|
||||
|
||||
/**
|
||||
* 任务清单下发(指定执行企业和执行人,设置周期起止时间)
|
||||
|
|
@ -81,7 +81,7 @@ public interface TaskListServiceI {
|
|||
* @param cmd 下发命令
|
||||
* @return 操作结果
|
||||
*/
|
||||
Response issue(TaskListIssueCmd cmd);
|
||||
SingleResponse issue(TaskListIssueCmd cmd);
|
||||
|
||||
/**
|
||||
* 分页查询任务详情列表(含反馈统计和异常记录)
|
||||
|
|
|
|||
Loading…
Reference in New Issue