From 9cb004c2c9b11ca52f3db4981441a90435db146e Mon Sep 17 00:00:00 2001 From: root <13910913995@163.com> Date: Sun, 15 Jun 2025 11:10:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=86message=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/stdproject/controller/DynamicDataController.java | 2 -- .../com/stdproject/service/impl/DynamicDataServiceImpl.java | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/backend/src/main/java/com/stdproject/controller/DynamicDataController.java b/backend/src/main/java/com/stdproject/controller/DynamicDataController.java index d21f0d0..0e078f4 100644 --- a/backend/src/main/java/com/stdproject/controller/DynamicDataController.java +++ b/backend/src/main/java/com/stdproject/controller/DynamicDataController.java @@ -40,7 +40,6 @@ public class DynamicDataController { return result; } @Operation(summary = "根据主键查询表数据") - @OperationLog(type = "06", module = "动态数据管理", description = "根据主键查询表数据") @PostMapping("getTableDataByPk") public Map getTableDataByPk(Long datasourceId,@RequestParam("whereJson") String whereJson) throws Exception { Map result=dynamicDataService.getTableDataByPk( @@ -73,7 +72,6 @@ public class DynamicDataController { } @Operation(summary = "分页查询表数据") - @OperationLog(type = "06", module = "动态数据管理", description = "分页查询表数据") @PostMapping("queryTableDataPaged") public Page> queryTableDataPaged(Long datasourceId, @RequestParam("queryJson") String queryJson) throws Exception { Page> result = dynamicDataService.queryTableDataPaged( diff --git a/backend/src/main/java/com/stdproject/service/impl/DynamicDataServiceImpl.java b/backend/src/main/java/com/stdproject/service/impl/DynamicDataServiceImpl.java index 59eda99..9a4fde0 100644 --- a/backend/src/main/java/com/stdproject/service/impl/DynamicDataServiceImpl.java +++ b/backend/src/main/java/com/stdproject/service/impl/DynamicDataServiceImpl.java @@ -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 dataMap = JsonUtil.parseObject(condition, Map.class); String tableName = (String) dataMap.get("tableName");