代码生成没有设置主键出现的bug修复、ftl模板更新

This commit is contained in:
2022-12-07 14:10:24 +08:00
parent 83ca5012e7
commit 42a7674785
8 changed files with 151 additions and 137 deletions

View File

@@ -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);
// 存在日期注解