diff --git a/ZR.CodeGenerator/CodeGeneratorTool.cs b/ZR.CodeGenerator/CodeGeneratorTool.cs
index a7fbf695..f6cb94d4 100644
--- a/ZR.CodeGenerator/CodeGeneratorTool.cs
+++ b/ZR.CodeGenerator/CodeGeneratorTool.cs
@@ -268,16 +268,6 @@ namespace ZR.CodeGenerator
return tableName.Substring(0, 1).ToUpper() + tableName[1..].Replace("_", "");
}
- ///
- /// 获取业务名
- ///
- /// tableName 表名
- /// 业务名
- public static string GetBusinessName(string tableName)
- {
- return tableName.Substring(0, 1).ToUpper() + tableName[1..].Replace("_", "");
- }
-
///
/// 首字母转小写,输出前端
///
@@ -356,7 +346,7 @@ namespace ZR.CodeGenerator
BaseNameSpace = "ZR.",//导入默认命名空间前缀
ModuleName = "business",//导入默认模块名
ClassName = GetClassName(tableName),
- BusinessName = GetBusinessName(tableName),
+ BusinessName = FirstUpperCase(tableName.UnderScoreToCamelCase()),
FunctionAuthor = ConfigUtils.Instance.GetConfig(GenConstants.Gen_author),
TableName = tableName,
TableComment = desc,