Browse Source

更新外部人员搜索账号

master
牧羊人 4 years ago
parent
commit
16dec7681b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/main/java/com/taauav/admin/mapper/LsAdminMapper.xml

+ 1
- 1
src/main/java/com/taauav/admin/mapper/LsAdminMapper.xml View File

<select id="getAdminList" resultType="com.taauav.admin.entity.LsAdmin"> <select id="getAdminList" resultType="com.taauav.admin.entity.LsAdmin">
select * from ls_admin where mark=1 select * from ls_admin where mark=1
<if test="param.realname != null and param.realname != ''"> <if test="param.realname != null and param.realname != ''">
and realname like CONCAT('%',#{param.realname},'%')
and (realname like CONCAT('%',#{param.realname},'%') or username like CONCAT('%',#{param.realname},'%'))
</if> </if>
<if test="param.driverArea != null"> <if test="param.driverArea != null">
and driver_area = #{param.driverArea} and driver_area = #{param.driverArea}

Loading…
Cancel
Save