Browse Source

搜索修改

origin/feature/monitoring
Jackwang 4 years ago
parent
commit
d617a9a96a
  1. 8
      epdc-cloud-vim-yushan/src/main/resources/mapper/epidemic/EpidemicUserInfoDao.xml

8
epdc-cloud-vim-yushan/src/main/resources/mapper/epidemic/EpidemicUserInfoDao.xml

@ -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}

Loading…
Cancel
Save