xiatian 8 hónapja
szülő
commit
4839da8265
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      src/main/resources/mapper/StudentMapper.xml

+ 1 - 1
src/main/resources/mapper/StudentMapper.xml

@@ -693,7 +693,7 @@
         stu.exam_site_name,
         stu.exam_room,
         stu.image_check_status,
-        sum(case when stu.file_upload_status='UPLOADED' and stu.image_check_status = 'FAILED' then 1 else 0 end)
+        sum(case when stu.file_upload_status='ERROR' or stu.image_check_status = 'FAILED' then 1 else 0 end)
         failedCount
         from sc_student stu
         inner join sc_subject sb on sb.exam_id = stu.exam_id and sb.code = stu.subject_code