Commit a6c18b8b by Suvalue

病组修改

parent e40f6ea9
...@@ -88,7 +88,7 @@ ...@@ -88,7 +88,7 @@
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} where TIME=#{date} and ZLS>0
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"> <if test="deptCode!=null">
and val.KSBM=#{deptCode,jdbcType=VARCHAR} and val.KSBM=#{deptCode,jdbcType=VARCHAR}
...@@ -140,7 +140,7 @@ ...@@ -140,7 +140,7 @@
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} where TIME=#{date} and ZLS>0
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"> <if test="deptCode!=null">
and val.KSBM=#{deptCode,jdbcType=VARCHAR} and val.KSBM=#{deptCode,jdbcType=VARCHAR}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment