From c604c2de98447af15efaf594cf2940aa78203b67 Mon Sep 17 00:00:00 2001 From: hebo <13216192626@163.com> Date: 星期一, 13 九月 2021 21:21:19 +0800 Subject: [PATCH] fix 代码生成-当表未设置主键时第一个字段重复生成 --- ruoyi-common/src/main/java/com/ruoyi/common/constant/GenConstants.java | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/ruoyi-common/src/main/java/com/ruoyi/common/constant/GenConstants.java b/ruoyi-common/src/main/java/com/ruoyi/common/constant/GenConstants.java index 6baaa8c..1fa328e 100644 --- a/ruoyi-common/src/main/java/com/ruoyi/common/constant/GenConstants.java +++ b/ruoyi-common/src/main/java/com/ruoyi/common/constant/GenConstants.java @@ -13,6 +13,9 @@ /** 鏍戣〃锛堝鍒犳敼鏌ワ級 */ public static final String TPL_TREE = "tree"; + /** 涓诲瓙琛紙澧炲垹鏀规煡锛� */ + public static final String TPL_SUB = "sub"; + /** 鏍戠紪鐮佸瓧娈� */ public static final String TREE_CODE = "treeCode"; -- Gitblit v1.9.3