Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
scrm
/
platform-merchants
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 99a2268e
authored
Jan 06, 2026
by
叶立庆
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
【+】根据uuid查询员工详情,增加角色名称返回
1 parent
7afe1200
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
platform-merchants-container/src/main/resources/META-INF/orm/MerchantStaffMapper.xml
platform-merchants-container/src/main/resources/META-INF/orm/MerchantStaffMapper.xml
View file @
99a2268
...
...
@@ -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.*
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment