|
@@ -128,7 +128,14 @@
|
|
|
and s.room_code = #{roomCode}
|
|
|
</if>
|
|
|
<if test="status != null and status != ''">
|
|
|
- and t.status = #{status}
|
|
|
+ <choose>
|
|
|
+ <when test="status == EXCEPTION">
|
|
|
+ and t.exception_status is not null
|
|
|
+ </when>
|
|
|
+ <otherwise>
|
|
|
+ and t.status = #{status}
|
|
|
+ </otherwise>
|
|
|
+ </choose>
|
|
|
</if>
|
|
|
<if test="name != null and name !=''">
|
|
|
and s.name like CONCAT('%', #{name},'%')
|