瀏覽代碼

修复BUG

master
牧羊人 4 年之前
父節點
當前提交
140f3249ae
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      src/main/java/com/taauav/admin/mapper/LsAdminMapper.xml

+ 2
- 2
src/main/java/com/taauav/admin/mapper/LsAdminMapper.xml 查看文件

@@ -4,13 +4,13 @@

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

Loading…
取消
儲存