From 3a02e327c748098bc50c0e7175ec7d328111edc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=85=B3=E7=BE=BD?= Date: Thu, 9 Apr 2026 09:38:28 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=BF=87=E6=BB=A4=E5=8C=BB=E7=94=9F?= =?UTF-8?q?=E4=BD=99=E5=8F=B7=E6=97=B6=E6=8E=92=E9=99=A4=E5=B7=B2=E8=BF=87?= =?UTF-8?q?=E6=9C=9F=E7=9A=84=E5=8F=B7=E6=BA=90=EF=BC=8C=E5=8F=AA=E7=BB=9F?= =?UTF-8?q?=E8=AE=A1=E5=BD=93=E5=89=8D=E6=97=A5=E6=9C=9F=E5=8F=8A=E6=9C=AA?= =?UTF-8?q?=E6=9D=A5=E6=97=A5=E6=9C=9F=E7=9A=84=E5=8F=B7=E6=BA=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/mapper/administration/ScheduleSlotMapper.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/openhis-server-new/openhis-domain/src/main/resources/mapper/administration/ScheduleSlotMapper.xml b/openhis-server-new/openhis-domain/src/main/resources/mapper/administration/ScheduleSlotMapper.xml index f93a7e6c..06d91ec2 100644 --- a/openhis-server-new/openhis-domain/src/main/resources/mapper/administration/ScheduleSlotMapper.xml +++ b/openhis-server-new/openhis-domain/src/main/resources/mapper/administration/ScheduleSlotMapper.xml @@ -379,9 +379,12 @@ AND org.delete_flag = '0' p.delete_flag = '0' + AND p.schedule_date = CAST(#{query.date} AS DATE) + + AND p.schedule_date >= CURRENT_DATE AND org.name = #{query.department}