Browse Source

去除判断

tags/v1.1.0^2
chengwang 1 year ago
parent
commit
d091d3b0b3
1 changed files with 0 additions and 6 deletions
  1. +0
    -6
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/inspectionfile/InspectionFileServiceImpl.java

+ 0
- 6
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/inspectionfile/InspectionFileServiceImpl.java View File

@@ -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()){

Loading…
Cancel
Save