|
@ -326,8 +326,8 @@ public class TaskController { |
|
|
@MustLoginTall |
|
|
@MustLoginTall |
|
|
@ApiOperation(value = "给任务增加分解任务",notes = "") |
|
|
@ApiOperation(value = "给任务增加分解任务",notes = "") |
|
|
@RequestMapping(value = "/addSubTaskForDetailTask", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"}) |
|
|
@RequestMapping(value = "/addSubTaskForDetailTask", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"}) |
|
|
public JsonResponse<List<TaskVo.AboutWeekTask>> addSubTaskForDetailTask(@ApiParam @Validated @RequestBody QueryDto<TaskDto.AboutWeekTask> params) throws Exception { |
|
|
public JsonResponse addSubTaskForDetailTask(@ApiParam @Validated @RequestBody QueryDto<TaskDto.AddSubTaskForDetailTask> params) throws Exception { |
|
|
List<TaskVo.AboutWeekTask> aboutWeekTask = taskDetailService.selectAboutWeekTask(params.getParam(),params.getUserId()); |
|
|
taskDetailService.addSubTaskForDetailTask(params.getParam(),params.getUserId()); |
|
|
return JsonResponse.newInstance().ok(aboutWeekTask); |
|
|
return JsonResponse.newInstance().ok(); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|