From dc0ddfc898a9146d4a1a7381e68f6d692b7c24d2 Mon Sep 17 00:00:00 2001 From: cjw Date: Tue, 20 Aug 2024 11:22:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/scale/ReservationDayMapper.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruoyi-modules/rouyi-scale/src/main/resources/mapper/scale/ReservationDayMapper.xml b/ruoyi-modules/rouyi-scale/src/main/resources/mapper/scale/ReservationDayMapper.xml index 99195e4..a4d229d 100644 --- a/ruoyi-modules/rouyi-scale/src/main/resources/mapper/scale/ReservationDayMapper.xml +++ b/ruoyi-modules/rouyi-scale/src/main/resources/mapper/scale/ReservationDayMapper.xml @@ -12,6 +12,6 @@ and status = 0 group by day_id) t on t.day_id = rd.id where rd.counselor_id = #{userId} - and DATE_FORMAT(rd.day_time, '%Y-%m-%d') = #{time} + and DATE_FORMAT(rd.day_time, '%Y-%m') = #{time}