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
11a185c7
Commit
11a185c7
authored
Apr 23, 2021
by
yao.xiao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
补充提交
parent
feccbd8f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
yd-api/src/main/resources/mapper/agms/AgmsPractitionerMapper.xml
+6
-2
No files found.
yd-api/src/main/resources/mapper/agms/AgmsPractitionerMapper.xml
View file @
11a185c7
...
@@ -21,6 +21,7 @@
...
@@ -21,6 +21,7 @@
left join ag_md_drop_options o on o.id = s.md_drop_option_id
left join ag_md_drop_options o on o.id = s.md_drop_option_id
left join ag_acl_user uc on uc.id = s.created_by
left join ag_acl_user uc on uc.id = s.created_by
left join ag_acl_user uu on uu.id = s.created_by
left join ag_acl_user uu on uu.id = s.created_by
LEFT JOIN ag_acl_customer_object_share os on os.item_id = s.id
<where>
<where>
<if
test=
"mdDropOptionIds != null"
>
<if
test=
"mdDropOptionIds != null"
>
<foreach
collection=
"mdDropOptionIds"
item=
"mdDropOptionId"
index=
"index"
open=
"("
close=
")"
separator=
"or"
>
<foreach
collection=
"mdDropOptionIds"
item=
"mdDropOptionId"
index=
"index"
open=
"("
close=
")"
separator=
"or"
>
...
@@ -30,13 +31,15 @@
...
@@ -30,13 +31,15 @@
<if
test=
"id != null"
>
<if
test=
"id != null"
>
and s.id = #{id,jdbcType=BIGINT}
and s.id = #{id,jdbcType=BIGINT}
</if>
</if>
<if
test=
"id != null"
>
<if
test=
"shareCode != null"
>
and s.share_code = #{shareCode,jdbcType=VARCHAR}
and os.item_type = 1
and os.share_code = #{shareCode,jdbcType=VARCHAR}
</if>
</if>
<if
test=
"isActive != null"
>
<if
test=
"isActive != null"
>
and s.is_active = #{isActive,jdbcType=INTEGER}
and s.is_active = #{isActive,jdbcType=INTEGER}
</if>
</if>
</where>
</where>
group by s.id
ORDER BY s.id desc
ORDER BY s.id desc
</select>
</select>
</mapper>
</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