|
@@ -317,7 +317,7 @@
|
|
|
and undo_time > #{query.undoTime[0]} and c.undo_time < #{query.undoTime[1]}
|
|
and undo_time > #{query.undoTime[0]} and c.undo_time < #{query.undoTime[1]}
|
|
|
</if>
|
|
</if>
|
|
|
<if test="query.patientCode!=null and query.patientCode!=''">
|
|
<if test="query.patientCode!=null and query.patientCode!=''">
|
|
|
- and patient_code like concat('%',#{query.patientCode},'%')
|
|
|
|
|
|
|
+ and c.patient_code like concat('%',#{query.patientCode},'%')
|
|
|
</if>
|
|
</if>
|
|
|
<if test="query.bedNo!=null and query.bedNo!=''">
|
|
<if test="query.bedNo!=null and query.bedNo!=''">
|
|
|
and bed_no like concat('%',#{query.bedNo},'%')
|
|
and bed_no like concat('%',#{query.bedNo},'%')
|
|
@@ -332,7 +332,7 @@
|
|
|
and patient_name like concat('%',#{query.patientName},'%')
|
|
and patient_name like concat('%',#{query.patientName},'%')
|
|
|
</if>
|
|
</if>
|
|
|
<if test="query.clinicName!=null and query.clinicName!=''">
|
|
<if test="query.clinicName!=null and query.clinicName!=''">
|
|
|
- and clinic_name like concat('%',#{query.clinicName},'%')
|
|
|
|
|
|
|
+ and c.surgery_name like concat('%',#{query.surgeryName},'%')
|
|
|
</if>
|
|
</if>
|
|
|
<if test="query.liquidType!=null and query.liquidType == false">
|
|
<if test="query.liquidType!=null and query.liquidType == false">
|
|
|
and liquid_checker is null
|
|
and liquid_checker is null
|