wangliang 4 лет назад
Родитель
Сommit
bf4b5520ff
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      themis-business/src/main/resources/mapper/TOeExamRecordMapper.xml

+ 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,