Browse Source

处理已确认问题/发现问题字段

tags/v1.0.0^2
wanjing 1 year ago
parent
commit
17e5e64c5a
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/inspection/query/handle/ProblemCountHandle.java

+ 3
- 1
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/inspection/query/handle/ProblemCountHandle.java View File

@@ -44,7 +44,9 @@ public class ProblemCountHandle implements GenerateInspectionFieldHander {
if (CollectionUtil.isNotEmpty(inspectionFileList)) {
discoverProblemCount = inspectionFileList.size();
for (InspectionFile inspectionFile : inspectionFileList) {
if (InspectionFileStatusEnum.CONFIRMED.getCode() == inspectionFile.getStatus()) {
if (InspectionFileStatusEnum.CONFIRMED.getCode() == inspectionFile.getStatus()
|| InspectionFileStatusEnum.GENERATE_ORDER.getCode() == inspectionFile.getStatus()
|| InspectionFileStatusEnum.PROCESSED.getCode() == inspectionFile.getStatus()) {
confirmedProblemCount++;
}
}

Loading…
Cancel
Save