Pre Merge pull request !1065 from Chen/master
commit
d264a90aa2
|
|
@ -163,9 +163,7 @@ public class GenUtils
|
||||||
*/
|
*/
|
||||||
public static String getBusinessName(String tableName)
|
public static String getBusinessName(String tableName)
|
||||||
{
|
{
|
||||||
int lastIndex = tableName.lastIndexOf("_");
|
return StringUtils.toCamelCase(tableName);
|
||||||
int nameLength = tableName.length();
|
|
||||||
return StringUtils.substring(tableName, lastIndex + 1, nameLength);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue