Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yd-backend
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
AutogeneralShanghai
yd-backend
Commits
31617862
Commit
31617862
authored
Jan 13, 2021
by
jianan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
审批状态筛选问题修改
parent
a5384511
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
4 deletions
+16
-4
yd-api/src/main/resources/mapper/agms/AgmsHiringMapper.xml
+3
-3
yd-api/src/main/resources/mapper/practitioner/PractitionerHiringMapper.xml
+13
-1
No files found.
yd-api/src/main/resources/mapper/agms/AgmsHiringMapper.xml
View file @
31617862
...
...
@@ -184,13 +184,13 @@
</if>
<if
test=
"status != null"
>
<choose>
<when
test=
"status = 0 "
>
<when
test=
'status == "0" '
>
and r.approving_status is null
</when>
<when
test=
"status = 1 "
>
<when
test=
'status == "1" '
>
and r.approving_status = 1
</when>
<when
test=
"status = 2 "
>
<when
test=
'status == "2" '
>
and r.approving_status = 0
</when>
</choose>
...
...
yd-api/src/main/resources/mapper/practitioner/PractitionerHiringMapper.xml
View file @
31617862
...
...
@@ -42,7 +42,19 @@
on b.id = r.hiring_basic_info_id
where (m.mentor_practitioner_id = #{practitionerId,jdbcType=BIGINT} or
m.subsystem_owner_id = #{practitionerId,jdbcType=BIGINT})
and r.approving_status = #{approvingStatus,jdbcType=BIGINT}
<if
test=
"approvingStatus != null"
>
<choose>
<when
test=
'approvingStatus == "0" '
>
and r.approving_status is null
</when>
<when
test=
'approvingStatus == "1" '
>
and r.approving_status = 1
</when>
<when
test=
'approvingStatus == "2" '
>
and r.approving_status = 0
</when>
</choose>
</if>
and m.md_drop_option_id != (select id
from ag_md_drop_options
where drop_option_code = 'S2'
...
...
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