2 Commits d9d1354dbd ... 0252cdb73b

Author SHA1 Message Date
  yaoll 0252cdb73b Merge remote-tracking branch 'origin/master' 4 years ago
  yaoll bf774a2897 bug refenum -> enum 4 years ago

+ 5 - 1
dmp-rwd-edit/src/main/java/com/persagy/dmp/rwd/edit/service/RwdeditVersionService.java

@@ -263,7 +263,11 @@ public class RwdeditVersionService {
                 buff.append(addString(funcid.getCategory().name())).append(",");
                 buff.append(addString(funcid.getPriority())).append(",");
                 buff.append(addString(funcid.getUnit())).append(",");
-                buff.append(addString(funcid.getDataType().name())).append(",");
+                if (funcid.getDataType() == FuncidDataType.REFENUM) {
+                    buff.append(FuncidDataType.ENUM.name()).append(",");
+                } else {
+                    buff.append(addString(funcid.getDataType().name())).append(",");
+                }
                 buff.append(funcid.getIsMultiple() ? 1 : 0).append(",");
                 buff.append(funcid.getIsRegion() ? 1 : 0).append(",");
                 buff.append(addString(funcid.getFormater())).append(",");