Pre Merge pull request !1065 from Chen/master

pull/1065/MERGE
Chen 2025-12-02 06:57:40 +00:00 committed by Gitee
commit d264a90aa2
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 3 deletions

View File

@ -163,9 +163,7 @@ public class GenUtils
*/
public static String getBusinessName(String tableName)
{
int lastIndex = tableName.lastIndexOf("_");
int nameLength = tableName.length();
return StringUtils.substring(tableName, lastIndex + 1, nameLength);
return StringUtils.toCamelCase(tableName);
}
/**