|
|
|
@ -62,11 +62,11 @@ |
|
|
|
left join epidemic_user_inout_record uir on ui.ID_CARD=uir.ID_CARD |
|
|
|
where ui.DEL_FLAG='0' |
|
|
|
and uir.DEL_FLAG='0' |
|
|
|
<if test="chechState != null and chechState != '' and chechState== '0'"> |
|
|
|
and ui.check_state = #{chechState} |
|
|
|
<if test="checkState != null and checkState != '' and checkState== '0'.toString()"> |
|
|
|
and ui.check_state = #{checkState} |
|
|
|
</if> |
|
|
|
<if test="chechState != null and chechState != '' and chechState== '1'"> |
|
|
|
and ( ui.check_state = #{chechState} or ui.check_state is null) |
|
|
|
<if test="checkState != null and checkState != '' and checkState== '1'.toString()"> |
|
|
|
and ( ui.check_state = #{checkState} or ui.check_state is null) |
|
|
|
</if> |
|
|
|
<if test="idCard != null and idCard != ''"> |
|
|
|
and ui.ID_CARD = #{idCard} |
|
|
|
|