【修复】修复 #I663US 代码生成主键驼峰命名错误

pull/87/head
xuyuxiang 2023-03-01 13:26:10 +08:00
parent 5ac312af12
commit 286e5add86
1 changed files with 1 additions and 1 deletions

View File

@ -552,7 +552,7 @@ public class GenBasicServiceImpl extends ServiceImpl<GenBasicMapper, GenBasic> i
// 主键名驼峰
bindingJsonObject.set("dbTableKeyCamelCase", StrUtil.toCamelCase(genBasic.getDbTableKey().toLowerCase()));
// 主键首字母大写名
bindingJsonObject.set("dbTableKeyFirstUpper", StrUtil.upperFirst(genBasic.getDbTableKey().toLowerCase()));
bindingJsonObject.set("dbTableKeyFirstUpper", StrUtil.upperFirst(StrUtil.toCamelCase(genBasic.getDbTableKey().toLowerCase())));
// 主键注释
bindingJsonObject.set("dbTableKeyRemark", genBasic.getDbTableKey());
// 表单布局