Pre Merge pull request !1065 from Chen/master
commit
d264a90aa2
|
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue