|
|
@@ -72,11 +72,11 @@ public class InspectionFileConfirmService { |
|
|
|
return JsonResult.error(InspectionFileConfirmCodeEnum.INSPECTION_FILE_IS_NOT_EXIST.getCode(), InspectionFileConfirmCodeEnum.INSPECTION_FILE_IS_NOT_EXIST.getMsg()); |
|
|
|
} |
|
|
|
|
|
|
|
for (InspectionFile inspectionFile : inspectionFileList) { |
|
|
|
if (InspectionFileStatusEnum.WAIT_CONFIRMED.getCode() != inspectionFile.getStatus()) { |
|
|
|
return JsonResult.error(InspectionFileConfirmCodeEnum.NOT_CONFIRM_INSPECTION_FILE.getCode(), InspectionFileConfirmCodeEnum.NOT_CONFIRM_INSPECTION_FILE.getMsg()); |
|
|
|
} |
|
|
|
} |
|
|
|
// for (InspectionFile inspectionFile : inspectionFileList) { |
|
|
|
// if (InspectionFileStatusEnum.WAIT_CONFIRMED.getCode() != inspectionFile.getStatus()) { |
|
|
|
// return JsonResult.error(InspectionFileConfirmCodeEnum.NOT_CONFIRM_INSPECTION_FILE.getCode(), InspectionFileConfirmCodeEnum.NOT_CONFIRM_INSPECTION_FILE.getMsg()); |
|
|
|
// } |
|
|
|
// } |
|
|
|
|
|
|
|
return JsonResult.success(); |
|
|
|
} |