|
@@ -141,7 +141,7 @@ public class GeneralInsertUpdateSqlProvider {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
public static String getTableName(Object obj) {
|
|
public static String getTableName(Object obj) {
|
|
|
- return camelCase2Underscore(obj.getClass().getSimpleName());
|
|
|
|
|
|
|
+ return camelCase2Underscore(obj.getClass().getSimpleName().replaceAll("PO",""));
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
public static String camelCase2Underscore(String s) {
|
|
public static String camelCase2Underscore(String s) {
|