From 2b2763c83e352f8ffd2ac0b5c46b60c49ee78439 Mon Sep 17 00:00:00 2001 From: zhaowenxuan <chacca165@163.com> Date: 星期二, 13 五月 2025 14:26:33 +0800 Subject: [PATCH] 2025-05-13 --- ltkj-hosp/src/main/resources/mapper/hosp/TjReservationMapper.xml | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/ltkj-hosp/src/main/resources/mapper/hosp/TjReservationMapper.xml b/ltkj-hosp/src/main/resources/mapper/hosp/TjReservationMapper.xml index ad35a8f..62d6251 100644 --- a/ltkj-hosp/src/main/resources/mapper/hosp/TjReservationMapper.xml +++ b/ltkj-hosp/src/main/resources/mapper/hosp/TjReservationMapper.xml @@ -84,10 +84,12 @@ <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="companyId != null and companyId != ''">and company_id = #{companyId} </if> <if test="reservationTime != null ">and reservation_time BETWEEN #{reservationTime} and now()</if> <if test="isExpire != null ">and is_expire = #{isExpire}</if> and deleted = '0' </where> + ORDER BY create_time desc </select> -- Gitblit v1.8.0