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}