|
@@ -54,11 +54,11 @@ public class D10002Service extends D10002BaseModel implements ExecProcessFlow {
|
|
pipe.setEnid(enId);
|
|
pipe.setEnid(enId);
|
|
pipe.setRoughCoe(Float.valueOf(roughCoe));
|
|
pipe.setRoughCoe(Float.valueOf(roughCoe));
|
|
pipe.setSectionType(sectionType);
|
|
pipe.setSectionType(sectionType);
|
|
- pipe.setSectionPara1(Float.valueOf(sectionPara1));
|
|
|
|
- pipe.setSectionPara2(Float.valueOf(sectionPara2));
|
|
|
|
- pipe.setSectionPara3(Float.valueOf(sectionPara3));
|
|
|
|
- pipe.setSectionPara4(Float.valueOf(sectionPara4));
|
|
|
|
- pipe.setSectionPara5(Float.valueOf(sectionPara5));
|
|
|
|
|
|
+ pipe.setSectionPara1(Float.valueOf(!StringUtil.isEmpty(sectionPara1)?sectionPara1:"0"));
|
|
|
|
+ pipe.setSectionPara2(Float.valueOf(!StringUtil.isEmpty(sectionPara2)?sectionPara2:"0"));
|
|
|
|
+ pipe.setSectionPara3(Float.valueOf(!StringUtil.isEmpty(sectionPara3)?sectionPara3:"0"));
|
|
|
|
+ pipe.setSectionPara4(Float.valueOf(!StringUtil.isEmpty(sectionPara4)?sectionPara4:"0"));
|
|
|
|
+ pipe.setSectionPara5(Float.valueOf(!StringUtil.isEmpty(sectionPara5)?sectionPara5:"0"));
|
|
dPipeDao.updateByPrimaryKey(pipe);
|
|
dPipeDao.updateByPrimaryKey(pipe);
|
|
}
|
|
}
|
|
|
|
|