Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
haoban3.0
haoban-manage3.0
Commits
b752fd0f
Commit
b752fd0f
authored
Feb 22, 2022
by
xugaojun
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix-02-21_group_send' of
http://git.gicdev.com/haoban3.0/haoban-manage3.0
parents
813fac7b
0d7e0023
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
TabHaobanStaffClerkRelationMapper.xml
...in/resources/mapper/TabHaobanStaffClerkRelationMapper.xml
+8
-7
No files found.
haoban-manage3-service/src/main/resources/mapper/TabHaobanStaffClerkRelationMapper.xml
View file @
b752fd0f
...
@@ -393,16 +393,17 @@
...
@@ -393,16 +393,17 @@
ecr.external_user_id as memberExternalUserId,
ecr.external_user_id as memberExternalUserId,
scr.wx_user_id as staffWxUserId,
scr.wx_user_id as staffWxUserId,
scr.clerk_id as staffClerkId
scr.clerk_id as staffClerkId
from (select staff_id,
from (select a.staff_id,
wx_user_id,
b.wx_user_id,
clerk_id
a.clerk_id
from tab_haoban_staff_clerk_relation
from tab_haoban_staff_clerk_relation a
where clerk_id in
left join tab_haoban_staff b on a.staff_id = b.staff_id
where a.clerk_id in
<foreach
collection=
"clerkIdList"
item=
"item"
separator=
","
open=
"("
close=
")"
>
<foreach
collection=
"clerkIdList"
item=
"item"
separator=
","
open=
"("
close=
")"
>
#{item}
#{item}
</foreach>
</foreach>
and
status_flag = 1
and a.
status_flag = 1
group by staff_id, wx_user_id,
clerk_id) as scr
group by a.staff_id, a.wx_user_id, a.
clerk_id) as scr
left join tab_haoban_external_clerk_related as ecr on scr.staff_id = ecr.staff_id
left join tab_haoban_external_clerk_related as ecr on scr.staff_id = ecr.staff_id
where ecr.status_flag = 1
where ecr.status_flag = 1
and ecr.enterprise_id = #{enterpriseId,jdbcType=VARCHAR}
and ecr.enterprise_id = #{enterpriseId,jdbcType=VARCHAR}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment