添加字段和表
parent
d76372492b
commit
c0725308b6
|
@ -0,0 +1,15 @@
|
||||||
|
package com.muyu.common.domian.resp;
|
||||||
|
|
||||||
|
import lombok.AllArgsConstructor;
|
||||||
|
import lombok.Builder;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.NoArgsConstructor;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@Builder
|
||||||
|
@AllArgsConstructor
|
||||||
|
@NoArgsConstructor
|
||||||
|
public class TaskInfoFieNameResp {
|
||||||
|
private String tableFieName;
|
||||||
|
private String tableFieAsName;
|
||||||
|
}
|
|
@ -122,5 +122,13 @@ public class TaskInfoController {
|
||||||
return Result.success();
|
return Result.success();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@PostMapping("/findByTableFieName/{taskId}")
|
||||||
|
public Result findByTableFieName(@PathVariable("taskId") Long taskId){
|
||||||
|
QueryWrapper<TaskInfo> wrapper = new QueryWrapper<>();
|
||||||
|
wrapper.eq("task_id",taskId);
|
||||||
|
List<TaskInfo> list = taskInfoService.list(wrapper);
|
||||||
|
return Result.success(list);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -97,6 +97,9 @@ public class TaskInputServiceImpl extends ServiceImpl<TaskInputMapper, TaskInput
|
||||||
System.out.println("select "+fieName + " from "+joint);
|
System.out.println("select "+fieName + " from "+joint);
|
||||||
Result<List<List<DataValue>>> tableValue = datasourceFeign.findTableValue(basicId, sql);
|
Result<List<List<DataValue>>> tableValue = datasourceFeign.findTableValue(basicId, sql);
|
||||||
System.out.println(tableValue);
|
System.out.println(tableValue);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue