Commit d17c890d authored by suhuiguang's avatar suhuiguang

1.转办bug修改

parent fb4a376a
......@@ -68,29 +68,6 @@
</foreach>
GROUP BY c.company_code
</select>
<select id="selectUserByCompanyCodeAndRole" resultType="com.yeejoin.amos.boot.module.ymt.api.dto.TzsUserInfoDto">
select
a.user_id as amos_user_id,
b.real_name as name
from
(SELECT
DISTINCT u.user_id
FROM
"privilege_user_org_role" u,
"privilege_company" c
WHERE
u.company_seq = c.sequence_nbr
and c.company_code =#{companyCode}
and u.role_seq in
<foreach collection="roleSeqs" item="roleSeq" open="(" close=")" separator=",">
#{roleSeq}
</foreach>) as a,
privilege_agency_user b
where
a.user_id = b.user_id
</select>
<select id="selectOneCompanyByCode" resultType="com.yeejoin.amos.feign.privilege.model.CompanyModel">
SELECT
c.*
......
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