Sfoglia il codice sorgente

Merge remote-tracking branch 'origin/dev/29290610_1.3.3' into dev/29290610_1.3.3

zhoutg 5 anni fa
parent
commit
4766a31e1f
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/main/resources/mapper/BehospitalInfoMapper.xml

+ 1 - 1
src/main/resources/mapper/BehospitalInfoMapper.xml

@@ -425,7 +425,7 @@
         AND a.behospital_code = b.behospital_code
         AND a.is_placefile = '1'
         -- AND ( b.age IS NULL OR b.age = '-' OR b.age = '' )
-        <![CDATA[AND ( b.newborn_month IS NOT NULL OR b.newborn_month <> '' OR b.newborn_day IS NOT NULL OR b.newborn_day <> '' )]]>
+        <![CDATA[AND ( b.newborn_month IS NOT NULL OR b.newborn_month <> '' OR b.newborn_month <> '0' OR b.newborn_day IS NOT NULL OR b.newborn_day <> '' OR b.newborn_day <> '0' )]]>
         <![CDATA[AND a.qc_type_id <>0 ]]>
         <if test="hospitalId != null and hospitalId != ''">
             AND a.hospital_id = #{hospitalId}