wangliang 4 роки тому
батько
коміт
bf4b5520ff

+ 2 - 2
themis-business/src/main/resources/mapper/TOeExamRecordMapper.xml

@@ -391,11 +391,11 @@
 				and t.exceptionCount <= #{maxExceptionCount}
 			</if>
 		</where>
-		order by t.roomCode
+		order by t.approveStatus
 	</select>
 
 	<update id="approveStatusListUpdate">
-		update t_ie_invigilate_warn_info tiiwi set tiiwi.approve_status = 0
+		update t_ie_invigilate_warn_info tiiwi set tiiwi.approve_status = 1
 		where exists(
 			select t.warningId from(select
 			tiiwi.id as warningId,