Sfoglia il codice sorgente

更新外部人员搜索账号

master
牧羊人 4 anni fa
parent
commit
16dec7681b
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      src/main/java/com/taauav/admin/mapper/LsAdminMapper.xml

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

@@ -5,7 +5,7 @@
<select id="getAdminList" resultType="com.taauav.admin.entity.LsAdmin">
select * from ls_admin where mark=1
<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 test="param.driverArea != null">
and driver_area = #{param.driverArea}

Loading…
Annulla
Salva