From 9e9a1920aca3609436afaa00408c71b4db0e6a61 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期五, 21 七月 2023 17:49:38 +0800 Subject: [PATCH] !400 修复客户端编辑时授权类型变更未保存的问题 Merge pull request !400 from David Wei/bugfix/client_update --- ruoyi-modules/ruoyi-generator/src/main/java/org/dromara/generator/controller/GenController.java | 2 +- 1 files changed, 1 insertions(+), 1 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..a4509b2 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); -- Gitblit v1.9.3