xiaoying 1 год назад
Родитель
Сommit
4d4a086f23
1 измененных файлов: 1 добавлений и 1 удалений
  1. +1
    -1
      tuoheng_oidc_admin/src/main/resources/mapper/TenantMapper.xml

+ 1
- 1
tuoheng_oidc_admin/src/main/resources/mapper/TenantMapper.xml Просмотреть файл

@@ -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 != ''">

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