wangliang 4 lat temu
rodzic
commit
a48cb97640

+ 1 - 0
themis-business/src/main/resources/mapper/TEExamReexamMapper.xml

@@ -48,6 +48,7 @@
                     and tees.identity like CONCAT('%', #{identity},'%')
                 </if>
                 and tees.enable = 1
+                and tee.monitor_status <![CDATA[ <> ]]> 'FINISHED'
             </where>
         ) t where t.examCount = 0 and statusCount = 0
             order by t.roomCode

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

@@ -550,6 +550,7 @@
 			</if>
 			and tee.enable = 1
 			and teea.enable = 1
+			and tee.monitor_status <![CDATA[ <> ]]> 'FINISHED'
 		</where>
 		order by tees.room_code
 	</select>
@@ -607,6 +608,7 @@
 			</if>
 			and tee.enable = 1
 			and teea.enable = 1
+			and tee.monitor_status <![CDATA[ <> ]]> 'FINISHED'
 		</where>
 		group by tee.id,tees.room_code,tee.name,teea.id,teea.code,tees.`identity`,tees.name,leftExamCount,status,tes.mobile_number
 		order by tees.room_code