mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 11:05:18 +08:00
update 默认分隔符
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package com.jsowell.generator.util;
|
||||
|
||||
import com.jsowell.common.constant.Constants;
|
||||
import com.jsowell.common.constant.GenConstants;
|
||||
import com.jsowell.common.util.StringUtils;
|
||||
import com.jsowell.generator.config.GenConfig;
|
||||
@@ -156,7 +157,7 @@ public class GenUtils {
|
||||
boolean autoRemovePre = GenConfig.getAutoRemovePre();
|
||||
String tablePrefix = GenConfig.getTablePrefix();
|
||||
if (autoRemovePre && StringUtils.isNotEmpty(tablePrefix)) {
|
||||
String[] searchList = StringUtils.split(tablePrefix, ",");
|
||||
String[] searchList = StringUtils.split(tablePrefix, Constants.DEFAULT_DELIMITER);
|
||||
tableName = replaceFirst(tableName, searchList);
|
||||
}
|
||||
return StringUtils.convertToCamelCase(tableName);
|
||||
|
||||
Reference in New Issue
Block a user