Sfoglia il codice sorgente

Merge branch 'develop' of http://192.168.11.14:51037/gitadmin/tuoheng_freeway into develop

tags/v1.0.0^2
chengwang 1 anno fa
parent
commit
d6b59a94bf
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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 Vedi File

select <include refid="selectUserVo"/> select <include refid="selectUserVo"/>
from th_oauth_user from th_oauth_user
<where> <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.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.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> <if test="request.realname != null and request.realname != ''"> and realname like concat('%', #{request.realname}, '%') </if>

Loading…
Annulla
Salva