|
@@ -534,8 +534,8 @@
|
|
AND a.behospital_code = b.behospital_code
|
|
AND a.behospital_code = b.behospital_code
|
|
AND a.is_placefile = '1'
|
|
AND a.is_placefile = '1'
|
|
AND (
|
|
AND (
|
|
- ( IFNULL( b.newborn_day, '' ) != '' AND b.newborn_day != '0' )
|
|
|
|
- OR ( IFNULL( b.newborn_month, '' )!= '' AND b.newborn_month != '0' )
|
|
|
|
|
|
+ ( IFNULL( b.newborn_day, '' ) != '' AND b.newborn_day != '0' AND b.newborn_day != '-' )
|
|
|
|
+ OR ( IFNULL( b.newborn_month, '' )!= '' AND b.newborn_month != '0' AND b.newborn_month != '-' )
|
|
)
|
|
)
|
|
<![CDATA[AND a.qc_type_id <>0 ]]>
|
|
<![CDATA[AND a.qc_type_id <>0 ]]>
|
|
<if test="hospitalId != null and hospitalId != ''">
|
|
<if test="hospitalId != null and hospitalId != ''">
|
|
@@ -657,8 +657,8 @@
|
|
AND a.behospital_code = b.behospital_code
|
|
AND a.behospital_code = b.behospital_code
|
|
AND a.beh_dept_id = c.dept_id
|
|
AND a.beh_dept_id = c.dept_id
|
|
AND (
|
|
AND (
|
|
- ( IFNULL( b.newborn_day, '' ) != '' AND b.newborn_day != '0' )
|
|
|
|
- OR ( IFNULL( b.newborn_month, '' )!= '' AND b.newborn_month != '0' )
|
|
|
|
|
|
+ ( IFNULL( b.newborn_day, '' ) != '' AND b.newborn_day != '0' AND b.newborn_day != '-' )
|
|
|
|
+ OR ( IFNULL( b.newborn_month, '' )!= '' AND b.newborn_month != '0' AND b.newborn_month != '-' )
|
|
)
|
|
)
|
|
AND a.is_placefile = '1'
|
|
AND a.is_placefile = '1'
|
|
<![CDATA[AND a.qc_type_id <>0 ]]>
|
|
<![CDATA[AND a.qc_type_id <>0 ]]>
|
|
@@ -3898,8 +3898,8 @@
|
|
AND t1.hospital_id = t2.hospital_id
|
|
AND t1.hospital_id = t2.hospital_id
|
|
AND t1.behospital_code = t2.behospital_code
|
|
AND t1.behospital_code = t2.behospital_code
|
|
AND (
|
|
AND (
|
|
- ( IFNULL( t2.newborn_day, '' ) != '' AND t2.newborn_day != '0' )
|
|
|
|
- OR ( IFNULL( t2.newborn_month, '' )!= '' AND t2.newborn_month != '0' )
|
|
|
|
|
|
+ ( IFNULL( t2.newborn_day, '' ) != '' AND t2.newborn_day != '0' AND t2.newborn_day != '-' )
|
|
|
|
+ OR ( IFNULL( t2.newborn_month, '' )!= '' AND t2.newborn_month != '0' AND t2.newborn_month != '-' )
|
|
)
|
|
)
|
|
</if>
|
|
</if>
|
|
<if test="qcResultShortPageVO.leaveHosType != null and qcResultShortPageVO.leaveHosType ==1">
|
|
<if test="qcResultShortPageVO.leaveHosType != null and qcResultShortPageVO.leaveHosType ==1">
|
|
@@ -4473,8 +4473,8 @@
|
|
AND t1.hospital_id = t2.hospital_id
|
|
AND t1.hospital_id = t2.hospital_id
|
|
AND t1.behospital_code = t2.behospital_code
|
|
AND t1.behospital_code = t2.behospital_code
|
|
AND (
|
|
AND (
|
|
- ( IFNULL( t2.newborn_day, '' ) != '' AND t2.newborn_day != '0' )
|
|
|
|
- OR ( IFNULL( t2.newborn_month, '' )!= '' AND t2.newborn_month != '0' )
|
|
|
|
|
|
+ ( IFNULL( t2.newborn_day, '' ) != '' AND t2.newborn_day != '0' AND t2.newborn_day != '-' )
|
|
|
|
+ OR ( IFNULL( t2.newborn_month, '' )!= '' AND t2.newborn_month != '0' AND t2.newborn_month != '-' )
|
|
)
|
|
)
|
|
</if>
|
|
</if>
|
|
<if test="qcResultShortPageVO.leaveHosType != null and qcResultShortPageVO.leaveHosType ==1">
|
|
<if test="qcResultShortPageVO.leaveHosType != null and qcResultShortPageVO.leaveHosType ==1">
|
|
@@ -4646,8 +4646,8 @@
|
|
AND t1.hospital_id = t2.hospital_id
|
|
AND t1.hospital_id = t2.hospital_id
|
|
AND t1.behospital_code = t2.behospital_code
|
|
AND t1.behospital_code = t2.behospital_code
|
|
AND (
|
|
AND (
|
|
- ( IFNULL( t2.newborn_day, '' ) != '' AND t2.newborn_day != '0' )
|
|
|
|
- OR ( IFNULL( t2.newborn_month, '' )!= '' AND t2.newborn_month != '0' )
|
|
|
|
|
|
+ ( IFNULL( t2.newborn_day, '' ) != '' AND t2.newborn_day != '0' AND t2.newborn_day != '-' )
|
|
|
|
+ OR ( IFNULL( t2.newborn_month, '' )!= '' AND t2.newborn_month != '0' AND t2.newborn_month != '-' )
|
|
)
|
|
)
|
|
</if>
|
|
</if>
|
|
<if test="qcResultShortPageVO.leaveHosType != null and qcResultShortPageVO.leaveHosType ==1">
|
|
<if test="qcResultShortPageVO.leaveHosType != null and qcResultShortPageVO.leaveHosType ==1">
|