Browse Source

修改返回参数为success

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

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

@@ -122,7 +122,7 @@ public class InspectionFileServiceImpl implements IInspectionFileService {
.eq(InspectionFile::getMark, 1)
.eq(InspectionFile::getTenantId, tenantId));
if (CollectionUtil.isEmpty(inspectionFileList)) {
return JsonResult.error("该覆盖区域范围内没有问题");
return JsonResult.success("该覆盖区域范围内没有问题");
}
for (InspectionFile inspectionFile : inspectionFileList) {
//任务状态判断

Loading…
Cancel
Save