Commit 4ad83223428798cdfc64fbea5cfb938328a30905
1 parent
4a8863f122
Exists in
master
and in
6 other branches
update
Showing 1 changed file with 2 additions and 2 deletions
platform-biz-service/src/main/resources/mainOrm/master/MasterMysqlAntexc.xml
View file @
4ad8322
| ... | ... | @@ -2526,7 +2526,7 @@ |
| 2526 | 2526 | INNER JOIN (select a.sourceId,a.checkTime from report_antexchu a where a.type =1 and a.hivkt is not null |
| 2527 | 2527 | |
| 2528 | 2528 | ) c on c.sourceId= f.sourceId |
| 2529 | - where DATEDIFF(f.lastMenses,c.checkTime) <![CDATA[ <= ]]> 83 | |
| 2529 | + where DATEDIFF(c.checkTime,f.lastMenses) <![CDATA[ <= ]]> 83 | |
| 2530 | 2530 | <if test="hospitalId != null and hospitalId != ''"> |
| 2531 | 2531 | and f.fmHospital = #{hospitalId,jdbcType=VARCHAR} |
| 2532 | 2532 | </if> |
| ... | ... | @@ -2557,7 +2557,7 @@ |
| 2557 | 2557 | INNER JOIN (select a.sourceId,a.checkTime from report_antexchu a where a.type =1 and a.hivkt ='yang' |
| 2558 | 2558 | |
| 2559 | 2559 | ) c on c.sourceId= f.sourceId |
| 2560 | - where DATEDIFF(f.lastMenses,c.checkTime) <![CDATA[ <= ]]> 83 | |
| 2560 | + where DATEDIFF(c.checkTime,f.lastMenses) <![CDATA[ <= ]]> 83 | |
| 2561 | 2561 | <if test="hospitalId != null and hospitalId != ''"> |
| 2562 | 2562 | and f.fmHospital = #{hospitalId,jdbcType=VARCHAR} |
| 2563 | 2563 | </if> |