@ -142,6 +142,9 @@
<if test='null != isolatedState and "" != isolatedState'>
AND a.isolated_state = #{isolatedState}
</if>
<if test='null == isolatedState or "" == isolatedState'>
AND a.isolated_state is not null
<if test='null != isHistory and "" != isHistory and isHistory == "0"'>
AND a.IS_ATTENTION = 1