Commit 6dbeaec5 authored by tanyang's avatar tanyang

租户禁用问题

parent 0819b54a
...@@ -8,6 +8,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" ...@@ -8,6 +8,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
select t.id, t.tenant_id,t.company_name from sys_tenant t select t.id, t.tenant_id,t.company_name from sys_tenant t
inner join sys_user t1 on t1.tenant_id=t.tenant_id inner join sys_user t1 on t1.tenant_id=t.tenant_id
where t.del_flag=0 where t.del_flag=0
and t.status=0
and t1.phonenumber=#{username} and t1.phonenumber=#{username}
order by t1.create_time desc order by t1.create_time desc
</select> </select>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment