From 2bdb32c80a47649c53e018dcb877cd62edc0f7d4 Mon Sep 17 00:00:00 2001 From: xm Date: Fri, 25 Mar 2022 23:37:35 +0800 Subject: [PATCH] =?UTF-8?q?=E9=99=90=E5=AE=9A5=E4=B8=8E9=EF=BC=8C=E4=BB=A5?= =?UTF-8?q?=E5=8F=8A=E6=97=A0=E6=9F=A5=E8=AF=A2=E7=BB=93=E6=9E=9C=E4=B8=89?= =?UTF-8?q?=E7=A7=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/mapper/Archive_MasterMapper.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/resources/mapper/Archive_MasterMapper.xml b/src/main/resources/mapper/Archive_MasterMapper.xml index 43859880..bd065c81 100644 --- a/src/main/resources/mapper/Archive_MasterMapper.xml +++ b/src/main/resources/mapper/Archive_MasterMapper.xml @@ -679,7 +679,8 @@ on amfa.master_id = amfc.ida AND amfa.handle_time = amfc.t WHERE ida is not NULL - AND t is not null) amf + AND t is not null + AND following_type in (5,9)) amf on m.id=amf.master_id LEFT JOIN(select archive_detail_id,count(*) numb from emr_fault_detail where 1=1 and back_flag in ('1','5') GROUP BY archive_detail_id) sDoctor on m.id=sDoctor.archive_detail_id