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
ebaffebd
Commit
ebaffebd
authored
Aug 15, 2022
by
墨竹
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into developer
parents
c37b3f5f
f069d751
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
StaffMapper.xml
...manage3-service/src/main/resources/mapper/StaffMapper.xml
+4
-2
No files found.
haoban-manage3-service/src/main/resources/mapper/StaffMapper.xml
View file @
ebaffebd
...
...
@@ -288,7 +288,7 @@
b.department_id departmentIds
from tab_haoban_staff a
left join tab_haoban_staff_department_related b on a.staff_id = b.staff_id
where a.status_flag = 1 and a.wx_enterprise_id = #{wxEnterpriseId}
where a.status_flag = 1 and
b.status_flag = 1 and
a.wx_enterprise_id = #{wxEnterpriseId}
<if
test=
"keyword != null and keyword != ''"
>
and (a.staff_name like CONCAT('%',#{keyword},'%') or a.phone_number like CONCAT('%',#{keyword},'%'))
</if>
...
...
@@ -514,7 +514,7 @@
update tab_haoban_staff
set add_num = add_num +1,
update_time = now()
where staff_id = #{staffId}
where staff_id = #{staffId}
and status_flag = 1
</update>
...
...
@@ -531,6 +531,7 @@
<set>
add_num = 0,update_time = now()
</set>
where status_flag = 1
</update>
</mapper>
\ No newline at end of file
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