Browse Source

删除过时代码

feature/independent
YUJT 5 years ago
parent
commit
85de135b18
  1. 18
      epdc-cloud-vim-yushan/src/main/resources/mapper/epidemic/EpidemicUserInfoDao.xml

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

@ -59,15 +59,6 @@
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="deptIdList != null and deptIdList.size() > 0">
and
<foreach collection="deptIdList" open="(" close=")" separator="or" item="deptId">
uir.LIVE_ADDRESS_CODE like '%${deptId}%'
</foreach>
</if>
<if test="startTime != null and startTime != '' and endTime != null and endTime != ''">
and date_format(uir.CREATED_TIME,'%Y-%m-%d') BETWEEN #{startTime} AND #{endTime}
</if>
<if test="idCard != null and idCard != ''">
and ui.ID_CARD = #{idCard}
</if>
@ -77,15 +68,6 @@
<if test="mobile != null and mobile != ''">
and uir.MOBILE = #{mobile}
</if>
<if test="returnState != null and returnState != ''">
and uir.RETURN_STATE =#{returnState}
</if>
<if test="outCode != null and outCode != ''">
and uir.OUT_LIVE_ADDRESS_CODE like '%${outCode}%'
</if>
<if test="outStreet != null and outStreet != ''">
and uir.LIVE_ADDRESS_CODE like '%${outStreet}%'
</if>
<if test="street != null and street != ''">
and uir.LIVE_ADDRESS_NAME like '%${street}%'
</if>

Loading…
Cancel
Save