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
da7a662a
Commit
da7a662a
authored
Jun 20, 2024
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
企微托管
parent
33fa04b7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
OpenStaffMapper.xml
...ge3-service/src/main/resources/mapper/OpenStaffMapper.xml
+6
-3
No files found.
haoban-manage3-service/src/main/resources/mapper/OpenStaffMapper.xml
View file @
da7a662a
...
@@ -193,7 +193,7 @@
...
@@ -193,7 +193,7 @@
#{id,jdbcType=VARCHAR}
#{id,jdbcType=VARCHAR}
</foreach>
</foreach>
</if>
</if>
and delete_flag = 0
order by a.create_time desc
order by a.create_time desc
</select>
</select>
...
@@ -215,6 +215,7 @@
...
@@ -215,6 +215,7 @@
<foreach
collection=
"list"
index=
"idex"
item=
"item"
separator=
","
close=
")"
open=
"("
>
<foreach
collection=
"list"
index=
"idex"
item=
"item"
separator=
","
close=
")"
open=
"("
>
#{item}
#{item}
</foreach>
</foreach>
and a.delete_flag = 0
</select>
</select>
<select
id=
"listOpenStaffByStore"
resultType=
"com.gic.haoban.manage.api.dto.StaffClerkRelationDTO"
>
<select
id=
"listOpenStaffByStore"
resultType=
"com.gic.haoban.manage.api.dto.StaffClerkRelationDTO"
>
...
@@ -225,16 +226,17 @@
...
@@ -225,16 +226,17 @@
<foreach
collection=
"list"
index=
"idex"
item=
"item"
separator=
","
close=
")"
open=
"("
>
<foreach
collection=
"list"
index=
"idex"
item=
"item"
separator=
","
close=
")"
open=
"("
>
#{item}
#{item}
</foreach>
</foreach>
and a.delete_flag = 0
</select>
</select>
<select
id=
"listAll"
resultType=
"java.lang.String"
>
<select
id=
"listAll"
resultType=
"java.lang.String"
>
select staff_id from tab_haoban_open_staff where status_flag = 1
select staff_id from tab_haoban_open_staff where status_flag = 1
and delete_flag = 0
</select>
</select>
<select
id=
"listOpenStoreId"
resultType=
"java.lang.String"
>
<select
id=
"listOpenStoreId"
resultType=
"java.lang.String"
>
select a.store_id from tab_haoban_staff_clerk_relation a left join tab_haoban_open_staff b on a.staff_id = b.staff_id
select a.store_id from tab_haoban_staff_clerk_relation a left join tab_haoban_open_staff b on a.staff_id = b.staff_id
where a.wx_enterprise_id = #{wxEnterpriseId} and a.enterprise_id=#{enterpriseId} and a.status_flag = 1
where a.wx_enterprise_id = #{wxEnterpriseId} and a.enterprise_id=#{enterpriseId} and a.status_flag = 1
and b.status_flag = 1
and b.status_flag = 1
and b.delete_flag = 0
</select>
</select>
<select
id=
"getNum"
resultType=
"java.lang.Integer"
>
<select
id=
"getNum"
resultType=
"java.lang.Integer"
>
...
@@ -242,6 +244,7 @@
...
@@ -242,6 +244,7 @@
<if
test=
"status==1"
>
<if
test=
"status==1"
>
and status_flag = 1
and status_flag = 1
</if>
</if>
and delete_flag = 0
</select>
</select>
...
...
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