|
@@ -34,7 +34,7 @@
|
|
|
AND a.hospital_id = #{tranLogPageVO.hospitalId}
|
|
|
</if>
|
|
|
<if test="tranLogPageVO.deptName != null and tranLogPageVO.deptName !=''">
|
|
|
- AND a.dept_name = #{tranLogPageVO.deptName}
|
|
|
+ AND a.dept_name LIKE CONCAT( '%', #{tranLogPageVO.deptName}, '%' )
|
|
|
</if>
|
|
|
<if test="tranLogPageVO.patientId != null and tranLogPageVO.patientId != ''">
|
|
|
AND a.patient_id LIKE CONCAT( '%', #{tranLogPageVO.patientId}, '%' )
|
|
@@ -70,7 +70,7 @@
|
|
|
AND hospital_id = #{hospitalId}
|
|
|
</if>
|
|
|
<if test="deptName != null and deptName !=''">
|
|
|
- AND dept_name = #{deptName}
|
|
|
+ AND dept_name LIKE CONCAT( '%', #{deptName}, '%' )
|
|
|
</if>
|
|
|
<if test="startGmtReq != null and endGmtReq != null">
|
|
|
AND DATE_FORMAT( gmt_req, '%Y-%m-%d %T' ) BETWEEN DATE_FORMAT(#{startGmtReq}, '%Y-%m-%d %T'
|