update 标签管理 生成的数据库字段名
This commit is contained in:
+1
@@ -39,6 +39,7 @@ public class HanYuPinYinUtil {
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
tempStr = PinyinHelper.convertToPinyinString(pinYinStr, " ", PinyinFormat.WITH_TONE_NUMBER);
|
tempStr = PinyinHelper.convertToPinyinString(pinYinStr, " ", PinyinFormat.WITH_TONE_NUMBER);
|
||||||
|
tempStr = tempStr.replaceAll("[\\pP\\p{Punct}\\pS]", "");
|
||||||
} catch (Exception e)
|
} catch (Exception e)
|
||||||
{
|
{
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
|
|||||||
+1
-1
@@ -177,7 +177,7 @@ public class ILawsTagServiceImpl extends ServiceImpl<LawsTagMapper, LawsTag> imp
|
|||||||
String dbFieldName = lawsTag.getDbFieldName();
|
String dbFieldName = lawsTag.getDbFieldName();
|
||||||
String type;
|
String type;
|
||||||
if ("Double".equals(dbType)) {
|
if ("Double".equals(dbType)) {
|
||||||
type = "BigDecimal(100)";
|
type = "decimal(100)";
|
||||||
}else if ("Date".equals(dbType)){
|
}else if ("Date".equals(dbType)){
|
||||||
type = "Date";
|
type = "Date";
|
||||||
}else {
|
}else {
|
||||||
|
|||||||
Reference in New Issue
Block a user