xiatian 8 mesiacov pred
rodič
commit
eb0144652c

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

@@ -660,8 +660,9 @@
         where exam_id = #{examId}
           and file_upload_status = 'UPLOADED'
           and image_check_status in ('WAITING', 'FAILED')
-          and id > #{startId} limit #{batchSize}
+          and id > #{startId} 
           order by id
+          limit #{batchSize}
     </select>
 
     <select id="countImageCheck" resultType="cn.com.qmth.scancentral.vo.imagecheck.ImageCheckVo">