This commit is contained in:
wangzhijiang
2022-05-10 18:01:50 +08:00
parent 7f41e7fbb3
commit c410979e85
@@ -543,29 +543,29 @@ public class ProjectTaskInventoryEOServiceImpl extends ServiceImpl<ProjectTaskIn
public void disposeData(List<ProjectTaskInventoryEO> result,String cut){
if(CollectionUtils.isNotEmpty(result)){
for (ProjectTaskInventoryEO projectTaskInventoryEO : result) {
/*if(StringUtils.isNotEmpty(projectTaskInventoryEO.getDesignStatus())){
if(StringUtils.isNotEmpty(projectTaskInventoryEO.getDesignStatus())){
String textByValue = DesignComplianceStatusEnum.getTextByValue(projectTaskInventoryEO.getDesignStatus(), cut);
projectTaskInventoryEO.setDesignStatus(textByValue);
}
if(StringUtils.isNotEmpty(projectTaskInventoryEO.getDesignFlowTaskStatus())){
/*if(StringUtils.isNotEmpty(projectTaskInventoryEO.getDesignFlowTaskStatus())){
String textByValue = ReviewResultEnum.getTextByValue(projectTaskInventoryEO.getDesignFlowTaskStatus(), cut);
projectTaskInventoryEO.setDesignFlowTaskStatus(textByValue);
}
}*/
if(StringUtils.isNotEmpty(projectTaskInventoryEO.getPrehomoStatus())){
String textByValue = DesignComplianceStatusEnum.getTextByValue(projectTaskInventoryEO.getPrehomoStatus(), cut);
projectTaskInventoryEO.setPrehomoStatus(textByValue);
}
if(StringUtils.isNotEmpty(projectTaskInventoryEO.getPrehomoFlowTaskStatus())){
/*if(StringUtils.isNotEmpty(projectTaskInventoryEO.getPrehomoFlowTaskStatus())){
String textByValue = ReviewResultEnum.getTextByValue(projectTaskInventoryEO.getPrehomoFlowTaskStatus(), cut);
projectTaskInventoryEO.setPrehomoFlowTaskStatus(textByValue);
}
}*/
if(StringUtils.isNotEmpty(projectTaskInventoryEO.getVerifyStatus())){
String textByValue = DesignComplianceStatusEnum.getTextByValue(projectTaskInventoryEO.getVerifyStatus(), cut);
projectTaskInventoryEO.setVerifyStatus(textByValue);
}
if(StringUtils.isNotEmpty(projectTaskInventoryEO.getVerifyFlowTaskStatus())){
/*if(StringUtils.isNotEmpty(projectTaskInventoryEO.getVerifyFlowTaskStatus())){
String textByValue = ReviewResultEnum.getTextByValue(projectTaskInventoryEO.getVerifyFlowTaskStatus(), cut);
projectTaskInventoryEO.setVerifyFlowTaskStatus(textByValue);
}*/