From 30d7651322cf24470e432f2827e06ae5578d3212 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期四, 04 一月 2024 16:33:48 +0800 Subject: [PATCH] update springboot 3.1.7 => 3.2.1 全面支持虚拟线程 update springboot-admin 3.1.8 => 3.2.0 update springdoc 2.2.0 => 2.3.0 update redisson 3.24.3 => 3.25.2 update hutool 5.8.22 => 5.8.24 update dynamic-ds 4.2.0 => 4.3.0 --- ruoyi-modules/ruoyi-generator/src/main/java/org/dromara/generator/controller/GenController.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ruoyi-modules/ruoyi-generator/src/main/java/org/dromara/generator/controller/GenController.java b/ruoyi-modules/ruoyi-generator/src/main/java/org/dromara/generator/controller/GenController.java index 25c510b..e3d4c08 100644 --- a/ruoyi-modules/ruoyi-generator/src/main/java/org/dromara/generator/controller/GenController.java +++ b/ruoyi-modules/ruoyi-generator/src/main/java/org/dromara/generator/controller/GenController.java @@ -56,7 +56,7 @@ GenTable table = genTableService.selectGenTableById(tableId); List<GenTable> tables = genTableService.selectGenTableAll(); List<GenTableColumn> list = genTableService.selectGenTableColumnListByTableId(tableId); - Map<String, Object> map = new HashMap<String, Object>(); + Map<String, Object> map = new HashMap<>(3); map.put("info", table); map.put("rows", list); map.put("tables", tables); @@ -79,7 +79,7 @@ */ @SaCheckPermission("tool:gen:list") @GetMapping(value = "/column/{tableId}") - public TableDataInfo<GenTableColumn> columnList(Long tableId) { + public TableDataInfo<GenTableColumn> columnList(@PathVariable("tableId") Long tableId) { TableDataInfo<GenTableColumn> dataInfo = new TableDataInfo<>(); List<GenTableColumn> list = genTableService.selectGenTableColumnListByTableId(tableId); dataInfo.setRows(list); -- Gitblit v1.9.3