Browse Source

人口搜索完善

zy_PrivacyExport
Jackwang 4 years ago
parent
commit
b48ef6d7c5
  1. 9
      epdc-cloud-vim-yushan/src/main/resources/mapper/epidemic/EpidemicUserInfoDao.xml

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

@ -71,7 +71,7 @@
and ui.USER_NAME like '%${username}%' and ui.USER_NAME like '%${username}%'
</if> </if>
<if test="mobile != null and mobile != ''"> <if test="mobile != null and mobile != ''">
and ui.MOBILE = #{mobile} and ui.MOBILE like '%${mobile}%'
</if> </if>
<if test="specialCrowd != null and specialCrowd != ''"> <if test="specialCrowd != null and specialCrowd != ''">
and ui.SPECIAL_CROWD = #{specialCrowd} and ui.SPECIAL_CROWD = #{specialCrowd}
@ -151,7 +151,7 @@
and ui.GENDER = #{gender} and ui.GENDER = #{gender}
</if> </if>
<if test="nation != null and nation != ''"> <if test="nation != null and nation != ''">
and ui.NATION = #{nation} and ui.NATION like '%${nation}%'
</if> </if>
<if test="formerName != null and formerName != ''"> <if test="formerName != null and formerName != ''">
and ui.FORMER_NAME like '%${formerName}%' and ui.FORMER_NAME like '%${formerName}%'
@ -201,15 +201,14 @@
<if test="car != null and car != ''"> <if test="car != null and car != ''">
and ui.CAR like '%${car}%' and ui.CAR like '%${car}%'
</if> </if>
<if test="carNo != null and carNo != ''"> <if test="carNo != null and carNo != ''">
and ui.CAR_NO like '%${carNo}%' and ui.CAR_NO like '%${carNo}%'
</if> </if>
<if test="hushaiStatus != null and hushaiStatus != ''"> <if test="hushaiStatus != null and hushaiStatus != ''">
and ui.HUSHAI_STATUS = #{hushaiStatus} and ui.HUSHAI_STATUS like '%${hushaiStatus}%'
</if> </if>
<if test="bloodType != null and bloodType != ''"> <if test="bloodType != null and bloodType != ''">
and ui.BLOOD_TYPE = #{bloodType} and ui.BLOOD_TYPE like '%${bloodType}%'
</if> </if>
<if test="accountType != null and accountType != ''"> <if test="accountType != null and accountType != ''">

Loading…
Cancel
Save