From 2acb85cbe19f2c960b064305aecdba6841b665c8 Mon Sep 17 00:00:00 2001 From: zhaowenxuan <chacca165@163.com> Date: 星期四, 12 六月 2025 17:56:26 +0800 Subject: [PATCH] oracle查询报错问题 --- ltkj-hosp/src/main/resources/mapper/hosp/TjReservationMapper.xml | 2 +- 1 files changed, 1 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 44256ba..630c7fa 100644 --- a/ltkj-hosp/src/main/resources/mapper/hosp/TjReservationMapper.xml +++ b/ltkj-hosp/src/main/resources/mapper/hosp/TjReservationMapper.xml @@ -86,7 +86,7 @@ <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' -- Gitblit v1.8.0