修改查询语句

master
lwj 2024-09-09 01:25:46 +08:00
parent d1dce90cf8
commit 95eefe9aab
1 changed files with 3 additions and 2 deletions

View File

@ -45,8 +45,9 @@ public class DataValueController {
//获取字段值 供任务调用
@PostMapping("/findTableValueToArray")
public 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);
public Result<DataValue[][]> findTableValueToArray(@RequestParam("basicId") Long basicId, @RequestParam("sql") String sql,@RequestParam("one") Long one, @RequestParam("two") Integer two){
DataValue[][] dataValues= dataValueService.findTableValueArray(basicId,sql,one,two);
return Result.success(dataValues);
}