|
|
@@ -119,9 +119,6 @@ public class InspectionFileServiceImpl implements IInspectionFileService { |
|
|
|
List<InspectionFile> inspectionFileList = inspectionFileMapper.selectList(Wrappers.<InspectionFile>lambdaQuery() |
|
|
|
.eq(InspectionFile::getMark, 1) |
|
|
|
.eq(InspectionFile::getTenantId, tenantId)); |
|
|
|
if (CollectionUtil.isEmpty(inspectionFileList)) { |
|
|
|
return JsonResult.success("该覆盖区域范围内没有问题"); |
|
|
|
} |
|
|
|
for (InspectionFile inspectionFile : inspectionFileList) { |
|
|
|
//任务状态判断 |
|
|
|
if(20 == inspectionFile.getStatus()){ |
|
|
@@ -147,9 +144,6 @@ public class InspectionFileServiceImpl implements IInspectionFileService { |
|
|
|
.eq(InspectionFile::getMark, 1) |
|
|
|
.eq(InspectionFile::getTenantId, tenantId) |
|
|
|
.eq(InspectionFile::getInspectionId, inspection.getId())); |
|
|
|
if (CollectionUtil.isEmpty(inspectionFileList)) { |
|
|
|
return JsonResult.success("该覆盖区域范围内没有问题"); |
|
|
|
} |
|
|
|
for (InspectionFile inspectionFile : inspectionFileList) { |
|
|
|
//任务状态判断 |
|
|
|
if(20 == inspectionFile.getStatus()){ |