From 0115eb4991765b52467e6833137936e456dbe9e9 Mon Sep 17 00:00:00 2001 From: xuhx <1216720373@qq.com> Date: Mon, 6 Sep 2021 12:04:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0=E7=BA=B8=E5=8C=96=E5=BD=92=E6=A1=A3?= =?UTF-8?q?=E5=8A=9F=E8=83=BD=E4=BF=AE=E6=94=B9=5F=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E5=87=BA=E9=99=A2=E6=B5=8F=E8=A7=88=E5=87=BA=E7=8E=B0=E9=87=8D?= =?UTF-8?q?=E5=A4=8D=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/mapper/Archive_MasterMapper.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/resources/mapper/Archive_MasterMapper.xml b/src/main/resources/mapper/Archive_MasterMapper.xml index 9111944b..0f620ea4 100644 --- a/src/main/resources/mapper/Archive_MasterMapper.xml +++ b/src/main/resources/mapper/Archive_MasterMapper.xml @@ -285,11 +285,11 @@ on m.id=sNurse.archive_detail_id LEFT JOIN (select MasterID,COUNT(*) num from archive_printInfo group by MasterID) printTable on m.id=printTable.MasterID - LEFT JOIN (select zyh,jzh,T1,COUNT(*) num from archive_other_ext group by zyh,jzh,T1) extDoctor + LEFT JOIN (select zyh,jzh,COUNT(*) num from archive_other_ext group by zyh,jzh) extDoctor on m.inp_no=extDoctor.zyh and m.visit_id=extDoctor.jzh and extDoctor.T1!='1801-02-03 00:00:00.000' - LEFT JOIN (select zyh,jzh,T2,COUNT(*) num from archive_other_ext group by zyh,jzh,T2) extNurse + LEFT JOIN (select zyh,jzh,COUNT(*) num from archive_other_ext group by zyh,jzh) extNurse on m.inp_no=extNurse.zyh and m.visit_id=extNurse.jzh and extNurse.T2!='1801-02-03 00:00:00.000'