添加字段和表
parent
4007e9186f
commit
34b113a19c
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue