|
@@ -52,7 +52,7 @@
|
|
<select id="selectList" resultMap="UserMap">
|
|
<select id="selectList" resultMap="UserMap">
|
|
select
|
|
select
|
|
b.TENANT_STATE, 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,
|
|
- b.iot_phone_number from uims_user a join uims_tenant b on a.TENANT_ID=b.CODE
|
|
|
|
|
|
+ b.iot_phone_number,b.customer_id 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
|
|
join uims_org c on a.COMPANY_ORG_ID=c.id left join
|
|
uims_org d on a.DEPT_ORG_ID=d.ID
|
|
uims_org d on a.DEPT_ORG_ID=d.ID
|
|
<where>
|
|
<where>
|
|
@@ -333,9 +333,12 @@
|
|
order by b.MENU_SEQ
|
|
order by b.MENU_SEQ
|
|
</select>
|
|
</select>
|
|
<select id="getAppSecret" resultType="string">
|
|
<select id="getAppSecret" resultType="string">
|
|
- select APP_SECRET_KEY from uims.uims_app where APP_ID=#{appId}
|
|
|
|
|
|
+ select APP_SECRET_KEY from uims_app where APP_ID=#{appId}
|
|
</select>
|
|
</select>
|
|
<select id="getUniqueUserID" resultType="string">
|
|
<select id="getUniqueUserID" resultType="string">
|
|
- select uniq_id from uims.uims_user where id=#{id}
|
|
|
|
|
|
+ select uniq_id from uims_user where id=#{id}
|
|
</select>
|
|
</select>
|
|
|
|
+ <update id="updateUniqueUserID">
|
|
|
|
+ update uims_user set uniq_id=#{uid} where id=#{id}
|
|
|
|
+ </update>
|
|
</mapper>
|
|
</mapper>
|