|
|
@@ -345,6 +345,9 @@ public class WorkOrderServiceImpl extends BaseServiceImpl<WorkOrderMapper, WorkO |
|
|
|
InspectionFile inspectionFile = inspectionFileMapper.selectById(inspectionFiledId); |
|
|
|
inspectionFileList.add(inspectionFile); |
|
|
|
} |
|
|
|
if(CollectionUtil.isEmpty(inspectionFileList) || inspectionFileList.size() == 0){ |
|
|
|
throw new ServiceException("问题数据查询为空"); |
|
|
|
} |
|
|
|
log.info("问题列表为:inspectionFileList={}",inspectionFileList.toString()); |
|
|
|
//待处理问题总数 |
|
|
|
long count = inspectionFileList.stream().filter(t -> t.getStatus() == 20).count(); |