Commit 659bf541 authored by tianyiming's avatar tianyiming

两员配备-企业两员配备情况查询优化

parent 638c166a
......@@ -236,27 +236,7 @@ public class TzsTwoStaffingServiceImpl extends BaseService<TzsTwoStaffingDto, Tz
if(!ObjectUtils.isEmpty(companyList.getRecords())){
for (TzsTwoStaffingCompanyDto item : companyList.getRecords()) {
if (item.getUnitType().contains("使用单位") && (item.getUnitType().contains("充装单位")
|| item.getUnitType().contains("安装改造维修单位")
|| item.getUnitType().contains("制造单位")
|| item.getUnitType().contains("设计单位"))) {
item.setCompleteNormal(Integer.valueOf(item.getAllDone()) == 1 ? "是" : "否");
continue;
}
if (item.getUnitType().contains("使用单位")) {
item.setCompleteNormal(Integer.valueOf(item.getUseDone()) == 1 ? "是" : "否");
continue;
}
if (item.getUnitType().contains("充装单位")
|| item.getUnitType().contains("安装改造维修单位")
|| item.getUnitType().contains("制造单位")
|| item.getUnitType().contains("设计单位")) {
item.setCompleteNormal(Integer.valueOf(item.getProductDone()) == 1 ? "是" : "否");
continue;
}
item.setCompleteNormal(Integer.valueOf(item.getCompleteNormal()) == 1 ? "是" : "否");
}
}
return companyList;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment