|
@@ -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}
|