From 5f1d1c462bbf49bc6a22b9e17b49733bcc1e0bc6 Mon Sep 17 00:00:00 2001 From: zjh <1084500556@qq.com> Date: 星期五, 20 六月 2025 19:01:13 +0800 Subject: [PATCH] zjh20250620 --- ltkj-hosp/src/main/resources/mapper/hosp/TjReservationMapper.xml | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/ltkj-hosp/src/main/resources/mapper/hosp/TjReservationMapper.xml b/ltkj-hosp/src/main/resources/mapper/hosp/TjReservationMapper.xml index 2cf9135..22f0fa6 100644 --- a/ltkj-hosp/src/main/resources/mapper/hosp/TjReservationMapper.xml +++ b/ltkj-hosp/src/main/resources/mapper/hosp/TjReservationMapper.xml @@ -84,7 +84,8 @@ <if test="idCard != null and idCard != ''">and id_card = #{idCard}</if> <if test="phoe != null and phoe != ''">and phoe = #{phoe}</if> <if test="company != null and company != ''">and company like concat('%', #{company}, '%')</if> - <if test="reservationTime != null ">and reservation_time BETWEEN #{reservationTime} and now()</if> + <if test="companyId != null and companyId != ''">and company_id = #{companyId} </if> + <if test="yykssj != null and yyjssj != null ">and reservation_time BETWEEN #{yykssj} and #{yyjssj} </if> <if test="isExpire != null ">and is_expire = #{isExpire}</if> and deleted = '0' </where> -- Gitblit v1.8.0