添加字段和表

master
Cui YongXing 2024-08-30 18:35:49 +08:00
parent 4007e9186f
commit 34b113a19c
1 changed files with 3 additions and 1 deletions

View File

@ -81,7 +81,9 @@ public class TaskInputController {
@GetMapping("/{id}")
@Operation(summary = "任务信息查询", description = "通过任务id查询任务信息")
public Result<TaskInputResp> selectById(@PathVariable("id") Long id) {
TaskInput byId = taskInputService.getById(id);
QueryWrapper<TaskInput> wrapper = new QueryWrapper<>();
wrapper.eq("node_id",id);
TaskInput byId = taskInputService.getById(wrapper);
return Result.success(TaskInput.build(byId));
}