update 标签管理 生成的数据库字段名
This commit is contained in:
+1
@@ -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();
|
||||
|
||||
+1
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user