Commit 08ca81b7 by 叶立庆

Merge branch 'v5.5.3' into 'master'

上线合并

See merge request !9
2 parents 866b407a 398b2630
...@@ -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!