法规清单-列表展示数据 设计、验证符合性流程状态处理。

This commit is contained in:
wangzhijiang
2023-03-17 14:22:37 +08:00
parent 93d30cc36d
commit d559ff292d
2 changed files with 14 additions and 0 deletions
@@ -487,8 +487,12 @@ public class ProjectLawsInventoryEO implements Serializable {
/**设计符合性确认-流程状态*/
@ApiModelProperty(value = "设计符合性确认-流程状态")
private String designFlowStatus;
@TableField(exist = false)
private String designFlowStatusName;
/**验证符合性确认-流程状态*/
@ApiModelProperty(value = "验证符合性确认-流程状态")
private String verifyFlowStatus;
@TableField(exist = false)
private String verifyFlowStatusName;
}
@@ -1665,6 +1665,16 @@ public class ProjectLawsInventoryEOServiceImpl extends ServiceImpl<ProjectLawsIn
}
}
}
// 处理符合性流程状态
if(StringUtils.isNotEmpty(projectLawsInventoryEO.getDesignFlowStatus())){
String designFlowStatusName = ComplianceFlowStatusEnum.getTextByValue(projectLawsInventoryEO.getDesignFlowStatus(), cut);
projectLawsInventoryEO.setDesignFlowStatusName(designFlowStatusName);
}
if(StringUtils.isNotEmpty(projectLawsInventoryEO.getVerifyFlowStatus())){
String verifyFlowStatusName = ComplianceFlowStatusEnum.getTextByValue(projectLawsInventoryEO.getVerifyFlowStatus(), cut);
projectLawsInventoryEO.setVerifyFlowStatusName(verifyFlowStatusName);
}
}
}
}