|
@@ -113,7 +113,7 @@
|
|
|
AND a.hospital_id = #{hospitalId}
|
|
|
</if>
|
|
|
<if test="startDate != null and startDate != ''">
|
|
|
- <![CDATA[ and a.leave_hospital_date >= #{startDate}]]>
|
|
|
+ <![CDATA[ and a.behospital_date >= #{startDate}]]>
|
|
|
</if>
|
|
|
GROUP BY
|
|
|
c.msg
|
|
@@ -139,7 +139,7 @@
|
|
|
AND a.hospital_id = #{hospitalId}
|
|
|
</if>
|
|
|
<if test="startDate != null and startDate != ''">
|
|
|
- <![CDATA[ and a.leave_hospital_date >= #{startDate}]]>
|
|
|
+ <![CDATA[ and a.behospital_date >= #{startDate}]]>
|
|
|
</if>
|
|
|
) t2
|
|
|
)
|
|
@@ -177,7 +177,7 @@
|
|
|
AND a.hospital_id = #{hospitalId}
|
|
|
</if>
|
|
|
<if test="startDate != null and startDate != ''">
|
|
|
- <![CDATA[ and a.leave_hospital_date >= #{startDate}]]>
|
|
|
+ <![CDATA[ and a.behospital_date >= #{startDate}]]>
|
|
|
</if>
|
|
|
GROUP BY
|
|
|
a.beh_dept_id,
|
|
@@ -204,7 +204,7 @@
|
|
|
AND a.hospital_id = #{hospitalId}
|
|
|
</if>
|
|
|
<if test="startDate != null and startDate != ''">
|
|
|
- <![CDATA[ and a.leave_hospital_date >= #{startDate}]]>
|
|
|
+ <![CDATA[ and a.behospital_date >= #{startDate}]]>
|
|
|
</if>
|
|
|
) t2
|
|
|
)
|