Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sv-springboot
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
bsoft
sv-springboot
Commits
4985acf4
Commit
4985acf4
authored
May 09, 2020
by
Suvalue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化疾病列表查询速度
parent
04e80373
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
bsoft-api/src/main/resources/mapper/SerDiseaseMapper.xml
+2
-1
No files found.
bsoft-api/src/main/resources/mapper/SerDiseaseMapper.xml
View file @
4985acf4
...
@@ -98,11 +98,12 @@
...
@@ -98,11 +98,12 @@
and rs.DEPT_CODE = #{deptCode,jdbcType=VARCHAR}
and rs.DEPT_CODE = #{deptCode,jdbcType=VARCHAR}
</if>
</if>
<if
test=
"deptCode==null"
>
<if
test=
"deptCode==null"
>
and
rs.DEPT_CODE in
(select o2.ORG_CODE as DEPT_CODE
and
EXISTS
(select o2.ORG_CODE as DEPT_CODE
from SYS_USER_ORG_RS rs2
from SYS_USER_ORG_RS rs2
join DIC_ORG o2 on o2.id = rs2.ORG_ID and rs2.STATE = 1
join DIC_ORG o2 on o2.id = rs2.ORG_ID and rs2.STATE = 1
where o2.STATE = 1
where o2.STATE = 1
and rs2.USER_ID = #{userId,jdbcType=DECIMAL}
and rs2.USER_ID = #{userId,jdbcType=DECIMAL}
and o2.ORG_CODE = rs.DEPT_CODE
)
)
</if>
</if>
order by d.MDC_NUM
order by d.MDC_NUM
...
...
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