diff --git a/nladmin-system/nlsso-server/src/main/java/org/nl/modules/common/generator/utils/GenUtil.java b/nladmin-system/nlsso-server/src/main/java/org/nl/modules/common/generator/utils/GenUtil.java index fa49734..fed7d2e 100644 --- a/nladmin-system/nlsso-server/src/main/java/org/nl/modules/common/generator/utils/GenUtil.java +++ b/nladmin-system/nlsso-server/src/main/java/org/nl/modules/common/generator/utils/GenUtil.java @@ -277,6 +277,12 @@ public class GenUtil { genMap.put("hasQuery", false); // 自增主键 genMap.put("auto", false); + // 存储主键类型(未标明主键) + genMap.put("pkColumnType", "Long"); + // 存储小写开头的字段名(未标明主键) + genMap.put("pkChangeColName", "id"); + // 存储大写开头的字段名(未标明主键) + genMap.put("pkCapitalColName", "Id"); // 存在字典 genMap.put("hasDict", false); // 存在日期注解