From 4ad83223428798cdfc64fbea5cfb938328a30905 Mon Sep 17 00:00:00 2001 From: liquanyu Date: Thu, 19 Aug 2021 16:23:31 +0800 Subject: [PATCH] update --- .../src/main/resources/mainOrm/master/MasterMysqlAntexc.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform-biz-service/src/main/resources/mainOrm/master/MasterMysqlAntexc.xml b/platform-biz-service/src/main/resources/mainOrm/master/MasterMysqlAntexc.xml index 2692709..4b56d26 100644 --- a/platform-biz-service/src/main/resources/mainOrm/master/MasterMysqlAntexc.xml +++ b/platform-biz-service/src/main/resources/mainOrm/master/MasterMysqlAntexc.xml @@ -2526,7 +2526,7 @@ INNER JOIN (select a.sourceId,a.checkTime from report_antexchu a where a.type =1 and a.hivkt is not null ) c on c.sourceId= f.sourceId - where DATEDIFF(f.lastMenses,c.checkTime) 83 + where DATEDIFF(c.checkTime,f.lastMenses) 83 and f.fmHospital = #{hospitalId,jdbcType=VARCHAR} @@ -2557,7 +2557,7 @@ INNER JOIN (select a.sourceId,a.checkTime from report_antexchu a where a.type =1 and a.hivkt ='yang' ) c on c.sourceId= f.sourceId - where DATEDIFF(f.lastMenses,c.checkTime) 83 + where DATEDIFF(c.checkTime,f.lastMenses) 83 and f.fmHospital = #{hospitalId,jdbcType=VARCHAR} -- 1.8.3.1