返回值方法修改

This commit is contained in:
even 2025-05-12 09:38:15 +08:00
parent a48ed89227
commit 5a0f2beb09

View File

@ -281,7 +281,7 @@ public class StageController {
@RequestMapping(path="/updateStage",method = RequestMethod.POST) @RequestMapping(path="/updateStage",method = RequestMethod.POST)
public CommonResult<Void> updateStageTask(@RequestBody @Valid @NotNull StageReq stage){ public CommonResult<Void> updateStageTask(@RequestBody @Valid @NotNull StageReq stage){
// stageService.updateStagesTask(stage); // stageService.updateStagesTask(stage);
return CommonResult.ok(); return CommonResult.success();
} }
/** /**
@ -294,7 +294,7 @@ public class StageController {
@RequestMapping(path="/updateStageName",method = RequestMethod.POST) @RequestMapping(path="/updateStageName",method = RequestMethod.POST)
public CommonResult<Void> updateTasksStage(@RequestBody @Valid @NotNull StageReq stage){ public CommonResult<Void> updateTasksStage(@RequestBody @Valid @NotNull StageReq stage){
// stageService.updateStageName(stage); // stageService.updateStageName(stage);
return CommonResult.ok(); return CommonResult.success();
} }
/** /**
@ -307,7 +307,7 @@ public class StageController {
@RequestMapping(path="/deleteStage",method = RequestMethod.POST) @RequestMapping(path="/deleteStage",method = RequestMethod.POST)
public CommonResult<Void> deleteTasksOrStage(@NotNull String taskId){ public CommonResult<Void> deleteTasksOrStage(@NotNull String taskId){
// stageService.deleteStagesOrTask(taskId); // stageService.deleteStagesOrTask(taskId);
return CommonResult.ok(); return CommonResult.success();
} }
/** /**