فهرست منبع

Merge remote-tracking branch 'origin/develop' into develop

lijie 2 سال پیش
والد
کامیت
ebb1909a41

+ 2 - 1
dmp-business/dmp-rwd/src/main/java/com/persagy/dmp/rwd/basic/constant/DigitalDataType.java

@@ -20,7 +20,8 @@ public enum DigitalDataType {
     ATTACHMENT("ATTACHMENT", "附件"),
     PIC("PIC", "图片"),
     OBJECT("OBJECT", "对象"),
-    REFENUM("REFENUM", "参照枚举");
+    REFENUM("REFENUM", "参照枚举"),
+    TEXT("TEXT", "参照枚举");
 
     private String index;
     private String name;

+ 1 - 0
dmp-business/dmp-rwd/src/main/java/com/persagy/dmp/rwd/parser/service/InfoDataFactory.java

@@ -49,6 +49,7 @@ public class InfoDataFactory {
             parserMap.put(DigitalDataType.STRING.getIndex(), new StringInfoParser());
             parserMap.put(DigitalDataType.PIC.getIndex(), new PicInfoParser());
             parserMap.put(DigitalDataType.MENUM.getIndex(), new MenumInfoParser());
+            parserMap.put(DigitalDataType.TEXT.getIndex(), new StringInfoParser());
         }
         // 校验类型传值
         if(!parserMap.containsKey(dataType)) {