|
|
@@ -75,6 +75,12 @@
|
|
|
<if test="query.condition != null and query.condition != ''">
|
|
|
and bcr.patient_name like concat('%',#{query.condition,jdbcType=VARCHAR},'%')
|
|
|
</if>
|
|
|
+ <if test="query.timeRange != null and query.timeRange.size() > 0">
|
|
|
+ and bcr.clinic_start_time >= #{query.timeRange[0]}
|
|
|
+ </if>
|
|
|
+ <if test="query.timeRange != null and query.timeRange.size() > 1">
|
|
|
+ and bcr.clinic_start_time <= #{query.timeRange[1]}
|
|
|
+ </if>
|
|
|
</where>
|
|
|
|
|
|
</select>
|