From b73fedc4026231b31cbc99f9fdad54c8e73a1a34 Mon Sep 17 00:00:00 2001 From: zhaowenxuan <chacca165@163.com> Date: 星期五, 04 七月 2025 17:39:24 +0800 Subject: [PATCH] 2025-0704 --- ltkj-hosp/src/main/resources/mapper/hosp/TjReservationMapper.xml | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ltkj-hosp/src/main/resources/mapper/hosp/TjReservationMapper.xml b/ltkj-hosp/src/main/resources/mapper/hosp/TjReservationMapper.xml index 62d6251..630c7fa 100644 --- a/ltkj-hosp/src/main/resources/mapper/hosp/TjReservationMapper.xml +++ b/ltkj-hosp/src/main/resources/mapper/hosp/TjReservationMapper.xml @@ -73,7 +73,8 @@ time_region, id_type, age_unit, - career + career, + szd from tj_reservation </sql> @@ -85,8 +86,9 @@ <if test="phoe != null and phoe != ''">and phoe = #{phoe}</if> <if test="company != null and company != ''">and company like concat('%', #{company}, '%')</if> <if test="companyId != null and companyId != ''">and company_id = #{companyId} </if> - <if test="reservationTime != null ">and reservation_time BETWEEN #{reservationTime} and now()</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> + <if test="szd != null ">and szd = #{szd}</if> and deleted = '0' </where> ORDER BY create_time desc -- Gitblit v1.8.0