and tee.monitor_status <![CDATA[ <> ]]> 'FINISHED'
</where>
- ) t
+ group by
+ tee.id,tees.room_code,tee.name,teea.id,teea.code,tees.`identity`,tees.name,leftExamCount,statusTemp,tes.mobile_number,t.breach_status,tees.class_no) t
<where>
<if test="status != null and status != '' or status == 0">