Browse Source

社区查询搜索居民支持模糊搜索

master
yinzuomei 3 years ago
parent
commit
cfb4535ae6
  1. 6
      epmet-user/epmet-user-server/src/main/resources/mapper/IcResiUserDao.xml

6
epmet-user/epmet-user-server/src/main/resources/mapper/IcResiUserDao.xml

@ -201,9 +201,9 @@
<include refid="listWhereForPage"></include>
<if test="keyword != null and keyword != ''">
AND (
NAME = #{keyword}
or MOBILE = #{keyword}
or ID_CARD = #{keyword}
NAME like concat('%', #{keyword},'%')
or MOBILE like concat('%', #{keyword},'%')
or ID_CARD like concat('%', #{keyword},'%')
)
</if>
</where>

Loading…
Cancel
Save