|
|
@@ -44,10 +44,12 @@ |
|
|
|
select * |
|
|
|
from tuoheng_oidc.t_tenant |
|
|
|
where code = #{code} |
|
|
|
and enabled = 1 |
|
|
|
</select> |
|
|
|
<select id="findList" resultType="com.tuoheng.model.po.TenantPo"> |
|
|
|
SELECT t.id, t.user_id, t.remark, t.code, |
|
|
|
t.name,t.province_code,t.province_name,t.city_code,t.city_name,t.district_code,t.district_name,u.username username |
|
|
|
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.tenantName != null and query.tenantName != ''"> |