Parcourir la source

项目组件属性值处理

huangxingxing il y a 3 mois
Parent
commit
584b94a2a8
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/main/java/com/miniframe/bisiness/es/ES0009Service.java

+ 1 - 1
src/main/java/com/miniframe/bisiness/es/ES0009Service.java

@@ -41,7 +41,7 @@ public class ES0009Service extends ES0009BaseModel implements ExecProcessFlow {
 			row.setCode(dto.getCode());
 			row.setValueType(dto.getValueType());
 			row.setValueDef(dto.getValueDef());
-			row.setDataType(dto.getDataType());
+			row.setDataType(dto.getDataType()==null?-1: dto.getDataType());
 			rows.add(row);
 		}
 		this.getD_es0009().setRows(rows);