chengwang 1 год назад
Родитель
Сommit
d6b59a94bf
1 измененных файлов: 1 добавлений и 1 удалений
  1. +1
    -1
      tuoheng-service/tuoheng-admin/src/main/resources/mapper/UserMapper.xml

+ 1
- 1
tuoheng-service/tuoheng-admin/src/main/resources/mapper/UserMapper.xml Просмотреть файл

@@ -68,7 +68,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
select <include refid="selectUserVo"/>
from th_oauth_user
<where>
<if test="1 == 1"> and mark = 1 </if>
<if test="1 == 1"> and mark = 1 and role_id != 1 </if>
<if test="request.tenantId != null and request.tenantId != ''"> and tenant_id = #{request.tenantId} </if>
<if test="request.username != null and request.username != ''"> and username like concat('%', #{request.username}, '%') </if>
<if test="request.realname != null and request.realname != ''"> and realname like concat('%', #{request.realname}, '%') </if>

Загрузка…
Отмена
Сохранить