From 8e1ac2261f2676225f7f4882c7863e88b3c49b0c Mon Sep 17 00:00:00 2001 From: yangfei Date: Thu, 19 Oct 2017 18:06:50 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=80=E9=80=9A=E5=A2=9E=E5=80=BC=E6=9C=8D?= =?UTF-8?q?=E5=8A=A1=E5=90=8C=E6=AD=A5=E6=95=B0=E6=8D=AE=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E9=AA=8C=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/mainOrm/master/PatientMarkHospital.xml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/platform-biz-service/src/main/resources/mainOrm/master/PatientMarkHospital.xml b/platform-biz-service/src/main/resources/mainOrm/master/PatientMarkHospital.xml index 442742e..d4a8594 100644 --- a/platform-biz-service/src/main/resources/mainOrm/master/PatientMarkHospital.xml +++ b/platform-biz-service/src/main/resources/mainOrm/master/PatientMarkHospital.xml @@ -392,7 +392,7 @@ count(*) num, sum( CASE back_failure - WHEN 1 THEN + WHEN 1 and back_result = 2 THEN 1 ELSE 0 @@ -400,7 +400,7 @@ ) AS noPhoneNum, sum( CASE back_failure - WHEN 2 THEN + WHEN 2 and back_result = 2 THEN 1 ELSE 0 @@ -408,7 +408,7 @@ ) AS otherHospNum, sum( CASE back_failure - WHEN 3 THEN + WHEN 3 and back_result = 2 THEN 1 ELSE 0 @@ -416,7 +416,7 @@ ) AS indeterNum, sum( CASE back_failure - WHEN 4 THEN + WHEN 4 and back_result = 2 THEN 1 ELSE 0 @@ -432,7 +432,7 @@ count(*) num, sum( CASE in_hospit_failure - WHEN 1 THEN + WHEN 1 and in_hospit_result = 2 THEN 1 ELSE 0 @@ -440,7 +440,7 @@ ) AS 电话无人接听, sum( CASE in_hospit_failure - WHEN 2 THEN + WHEN 2 and in_hospit_result = 2 THEN 1 ELSE 0 @@ -448,7 +448,7 @@ ) AS 他院已办理住院, sum( CASE in_hospit_failure - WHEN 3 THEN + WHEN 3 and in_hospit_result = 2 THEN 1 ELSE 0 @@ -456,7 +456,7 @@ ) AS 暂时未确定, sum( CASE in_hospit_failure - WHEN 4 THEN + WHEN 4 and in_hospit_result = 2 THEN 1 ELSE 0 -- 1.8.3.1