xiatian 8 달 전
부모
커밋
a53912ea6f
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/main/resources/mapper/StudentMapper.xml

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

@@ -670,10 +670,10 @@
                sb.name  as         subjectName,
                count(1) as         totalCount,
                sum(case
-                       when stu.file_upload_status = 'UPLOADED' and stu.image_check_status = 'WAITING' then 1
+                       when stu.image_check_status = 'WAITING' then 1
                        else 0 end) waitingCount,
                sum(case
-                       when stu.file_upload_status = 'UPLOADED' and stu.image_check_status = 'FAILED' then 1
+                       when 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