Skip to content

Commit

Permalink
Update GenUtil.java (#654)
Browse files Browse the repository at this point in the history
修改移除表前缀后变量名大写
  • Loading branch information
yuchumian authored Jul 19, 2021
1 parent 3637ae0 commit 12a7e03
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ private static Map<String, Object> getGenMap(List<ColumnInfo> columnInfos, GenCo
if (StringUtils.isNotEmpty(genConfig.getPrefix())) {
className = StringUtils.toCapitalizeCamelCase(StrUtil.removePrefix(genConfig.getTableName(), genConfig.getPrefix()));
changeClassName = StringUtils.toCamelCase(StrUtil.removePrefix(genConfig.getTableName(), genConfig.getPrefix()));
changeClassName = StringUtils.uncapitalize(changeClassName);
}
// 保存类名
genMap.put("className", className);
Expand Down

0 comments on commit 12a7e03

Please sign in to comment.