修改了message配置
This commit is contained in:
parent
f8e3b1495a
commit
9cb004c2c9
@ -40,7 +40,6 @@ public class DynamicDataController {
|
||||
return result;
|
||||
}
|
||||
@Operation(summary = "根据主键查询表数据")
|
||||
@OperationLog(type = "06", module = "动态数据管理", description = "根据主键查询表数据")
|
||||
@PostMapping("getTableDataByPk")
|
||||
public Map<String, Object> getTableDataByPk(Long datasourceId,@RequestParam("whereJson") String whereJson) throws Exception {
|
||||
Map<String, Object> result=dynamicDataService.getTableDataByPk(
|
||||
@ -73,7 +72,6 @@ public class DynamicDataController {
|
||||
}
|
||||
|
||||
@Operation(summary = "分页查询表数据")
|
||||
@OperationLog(type = "06", module = "动态数据管理", description = "分页查询表数据")
|
||||
@PostMapping("queryTableDataPaged")
|
||||
public Page<Map<String, Object>> queryTableDataPaged(Long datasourceId, @RequestParam("queryJson") String queryJson) throws Exception {
|
||||
Page<Map<String, Object>> result = dynamicDataService.queryTableDataPaged(
|
||||
|
@ -285,7 +285,7 @@ public class DynamicDataServiceImpl implements IDynamicDataService {
|
||||
if (coreDatasource == null) {
|
||||
BusinessException.throwException("数据源不存在");
|
||||
}
|
||||
|
||||
coreDatasource.setConfiguration(String.valueOf(EncryptUtils.aesDecrypt(coreDatasource.getConfiguration())));
|
||||
// 解析 condition JSON 数据
|
||||
Map<String, Object> dataMap = JsonUtil.parseObject(condition, Map.class);
|
||||
String tableName = (String) dataMap.get("tableName");
|
||||
|
Loading…
Reference in New Issue
Block a user