Commit a15bcab0 by 叶立庆

Merge remote-tracking branch 'origin/master' into v5.6.0

2 parents 58f6ddc8 08ca81b7
......@@ -534,10 +534,14 @@
</foreach>
</select>
<select id="selectStaffListByStaffUUID" resultMap="resultMap">
SELECT s.* FROM `platform_merchant_staff` s WHERE s.staff_uuid in
SELECT s.*,mr.role_name roleName FROM `platform_merchant_staff` s
LEFT JOIN `platform_merchant_role_staff_relation` rr ON rr.staff_id=s.id AND rr.del_flag=0
LEFT JOIN `platform_merchant_role` mr ON mr.id=rr.role_id AND mr.del_flag=0
WHERE s.staff_uuid in
<foreach collection="uuidList" open="(" close=")" separator="," item="uuid">
#{uuid}
</foreach>
GROUP BY s.id
</select>
<select id="selectStaffByMerchantNoAndWechatUnionId" resultMap="resultMap">
SELECT s.*
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!