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
e40f6ea9
Commit
e40f6ea9
authored
Jun 20, 2020
by
Suvalue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
病组修改
parent
1b4d1475
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
bsoft-api/src/main/resources/mapper/SerDiseaseMapper.xml
+8
-0
No files found.
bsoft-api/src/main/resources/mapper/SerDiseaseMapper.xml
View file @
e40f6ea9
...
@@ -88,7 +88,11 @@
...
@@ -88,7 +88,11 @@
join SER_DISEASE_DOC_RS rs on rs.MDC_CODE=d.MDC_CODE
join SER_DISEASE_DOC_RS rs on rs.MDC_CODE=d.MDC_CODE
join (select ZBZBM,KSBM,SUM(ZLS) as ZLS
join (select ZBZBM,KSBM,SUM(ZLS) as ZLS
from val_block_values_1_5_2
from val_block_values_1_5_2
where TIME=#{date}
group by ZBZBM,KSBM) val on val.ZBZBM = d.MDC_CODE and val.KSBM=rs.DEPT_CODE
group by ZBZBM,KSBM) val on val.ZBZBM = d.MDC_CODE and val.KSBM=rs.DEPT_CODE
<if
test=
"deptCode!=null"
>
and val.KSBM=#{deptCode,jdbcType=VARCHAR}
</if>
where 1 = 1 and STATE=1
where 1 = 1 and STATE=1
<if
test=
"level!=null"
>
<if
test=
"level!=null"
>
and d.`LEVEL` = #{level,jdbcType=DECIMAL}
and d.`LEVEL` = #{level,jdbcType=DECIMAL}
...
@@ -136,7 +140,11 @@
...
@@ -136,7 +140,11 @@
join SER_DISEASE_DOC_RS rs on rs.MDC_CODE=d.MDC_CODE
join SER_DISEASE_DOC_RS rs on rs.MDC_CODE=d.MDC_CODE
join (select ZBZBM,KSBM,SUM(ZLS) as ZLS
join (select ZBZBM,KSBM,SUM(ZLS) as ZLS
from val_block_values_1_5_2
from val_block_values_1_5_2
where TIME=#{date}
group by ZBZBM,KSBM) val on val.ZBZBM = d.MDC_CODE and val.KSBM=rs.DEPT_CODE
group by ZBZBM,KSBM) val on val.ZBZBM = d.MDC_CODE and val.KSBM=rs.DEPT_CODE
<if
test=
"deptCode!=null"
>
and val.KSBM=#{deptCode,jdbcType=VARCHAR}
</if>
where 1 = 1 and STATE=1 and STATE=1
where 1 = 1 and STATE=1 and STATE=1
<if
test=
"parentId!=null"
>
<if
test=
"parentId!=null"
>
and d.PARENT_ID = #{parentId,jdbcType=DECIMAL}
and d.PARENT_ID = #{parentId,jdbcType=DECIMAL}
...
...
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