修改查询语句
parent
d1dce90cf8
commit
95eefe9aab
|
@ -45,8 +45,9 @@ public class DataValueController {
|
||||||
|
|
||||||
//获取字段值 供任务调用
|
//获取字段值 供任务调用
|
||||||
@PostMapping("/findTableValueToArray")
|
@PostMapping("/findTableValueToArray")
|
||||||
public DataValue[][] findTableValueToArray(@RequestParam("basicId") Long basicId, @RequestParam("sql") String sql,@RequestParam("one") Long one, @RequestParam("two") Integer two){
|
public Result<DataValue[][]> findTableValueToArray(@RequestParam("basicId") Long basicId, @RequestParam("sql") String sql,@RequestParam("one") Long one, @RequestParam("two") Integer two){
|
||||||
return dataValueService.findTableValueArray(basicId,sql,one,two);
|
DataValue[][] dataValues= dataValueService.findTableValueArray(basicId,sql,one,two);
|
||||||
|
return Result.success(dataValues);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue