|
@@ -141,8 +141,8 @@
|
|
|
<if test="query.bedNo!=null and query.bedNo!=''">
|
|
<if test="query.bedNo!=null and query.bedNo!=''">
|
|
|
and c.bed_no like concat('%',#{query.bedNo},'%')
|
|
and c.bed_no like concat('%',#{query.bedNo},'%')
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="query.timeRange != null and query.timeRange.size >0">
|
|
|
|
|
- and c.monitor_start_time > #{query.timeRange[0]} and c.monitor_start_time < #{query.timeRange[1]}
|
|
|
|
|
|
|
+ <if test="query.startTimeRange != null and query.startTimeRange.size >0">
|
|
|
|
|
+ and c.monitor_start_time > #{query.startTimeRange[0]} and c.monitor_start_time < #{query.startTimeRange[1]}
|
|
|
</if>
|
|
</if>
|
|
|
<if test="query.patientCode!=null and query.patientCode!=''">
|
|
<if test="query.patientCode!=null and query.patientCode!=''">
|
|
|
and c.patient_code like concat('%',#{query.patientCode},'%')
|
|
and c.patient_code like concat('%',#{query.patientCode},'%')
|
|
@@ -216,8 +216,8 @@
|
|
|
<if test="query.bedNo!=null">
|
|
<if test="query.bedNo!=null">
|
|
|
and bed_no like concat('%',#{query.bedNo},'%')
|
|
and bed_no like concat('%',#{query.bedNo},'%')
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="query.timeRange != null and query.timeRange.size >0">
|
|
|
|
|
- and monitor_start_time > #{query.timeRange[0]} and monitor_start_time < #{query.timeRange[1]}
|
|
|
|
|
|
|
+ <if test="query.startTimeRange != null and query.startTimeRange.size >0">
|
|
|
|
|
+ and monitor_start_time > #{query.startTimeRange[0]} and monitor_start_time < #{query.startTimeRange[1]}
|
|
|
</if>
|
|
</if>
|
|
|
</where>
|
|
</where>
|
|
|
) as c on p.clinic_id=c.id
|
|
) as c on p.clinic_id=c.id
|