Ver código fonte

更新

tags/v2.4.1
xiaoying 1 ano atrás
pai
commit
4d4a086f23
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      tuoheng_oidc_admin/src/main/resources/mapper/TenantMapper.xml

+ 1
- 1
tuoheng_oidc_admin/src/main/resources/mapper/TenantMapper.xml Ver arquivo

@@ -50,7 +50,7 @@
t.name,t.province_code,t.province_name,t.city_code,t.city_name,t.district_code,t.district_name,u.username username
FROM t_tenant t,users u
WHERE t.enabled = 1 and u.enabled =1 and t.user_id =u.id
<if test="query.name != null and query.name != ''">
<if test="query.tenantName != null and query.tenantName != ''">
and t.name LIKE concat('%',#{query.tenantName},'%')
</if>
<if test="query.username != null and query.username != ''">

Carregando…
Cancelar
Salvar