🐛 Fixing a bug.权限名称去掉分隔符、i18n文件变量名小驼峰
This commit is contained in:
1 parent
1f6f73848c
commit
ebde2a65f8
1 file changed
+1
-6
@@ -27,12 +27,7 @@ public class GenKit {
|
||||
* @return 功能名
|
||||
*/
|
||||
public String getFunctionName(String tableName) {
|
||||
String functionName = StrUtil.subAfter(tableName, "_", true);
|
||||
if (StrUtil.isBlank(functionName)) {
|
||||
functionName = tableName;
|
||||
}
|
||||
|
||||
return functionName;
|
||||
return StrUtil.toCamelCase(tableName);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user