Commit be4af5cd by 叶立庆

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

2 parents 3a2c9b28 08ca81b7
...@@ -534,10 +534,14 @@ ...@@ -534,10 +534,14 @@
</foreach> </foreach>
</select> </select>
<select id="selectStaffListByStaffUUID" resultMap="resultMap"> <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"> <foreach collection="uuidList" open="(" close=")" separator="," item="uuid">
#{uuid} #{uuid}
</foreach> </foreach>
GROUP BY s.id
</select> </select>
<select id="selectStaffByMerchantNoAndWechatUnionId" resultMap="resultMap"> <select id="selectStaffByMerchantNoAndWechatUnionId" resultMap="resultMap">
SELECT s.* SELECT s.*
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!