|
@@ -23,6 +23,7 @@
|
|
|
<result property="webUrl" column="WEB_URL" jdbcType="VARCHAR"/>
|
|
|
<result property="companyOrgState" column="companyOrgState" jdbcType="INTEGER"/>
|
|
|
<result property="departmentOrgState" column="departmentOrgState" jdbcType="INTEGER"/>
|
|
|
+ <result property="tenantState" column="TENANT_STATE" jdbcType="INTEGER"/>
|
|
|
</resultMap>
|
|
|
|
|
|
|
|
@@ -49,7 +50,7 @@
|
|
|
<!--通过实体作为筛选条件查询-->
|
|
|
<select id="selectList" resultMap="UserMap">
|
|
|
select
|
|
|
- a.*, b.LOGO,b.WEB_URL ,c.ORG_STATE companyOrgState,d.ORG_STATE departmentOrgState
|
|
|
+ b.TENANT_STATE, a.*, b.LOGO,b.WEB_URL ,c.ORG_STATE companyOrgState,d.ORG_STATE departmentOrgState
|
|
|
from uims_user a join uims_tenant b on a.TENANT_ID=b.CODE
|
|
|
join uims_org c on a.COMPANY_ORG_ID=c.id left join
|
|
|
uims_org d on a.DEPT_ORG_ID=d.ID
|