update 标签管理 生成的数据库字段名

This commit is contained in:
lijiarao
2023-08-28 14:36:57 +08:00
parent 859adb0b99
commit 981273f6a3
2 changed files with 2 additions and 1 deletions
@@ -39,6 +39,7 @@ public class HanYuPinYinUtil {
try
{
tempStr = PinyinHelper.convertToPinyinString(pinYinStr, " ", PinyinFormat.WITH_TONE_NUMBER);
tempStr = tempStr.replaceAll("[\\pP\\p{Punct}\\pS]", "");
} catch (Exception e)
{
e.printStackTrace();
@@ -177,7 +177,7 @@ public class ILawsTagServiceImpl extends ServiceImpl<LawsTagMapper, LawsTag> imp
String dbFieldName = lawsTag.getDbFieldName();
String type;
if ("Double".equals(dbType)) {
type = "BigDecimal(100)";
type = "decimal(100)";
}else if ("Date".equals(dbType)){
type = "Date";
}else {