陶杰
2024-12-21 ae3dd677f3bbbc26d7c41aebc0e6048e2d20593c
src/main/resources/mapper/calendar/CalendarMapperCustom.xml
@@ -17,7 +17,7 @@
        from t_calendar t
        where 1=1
        <if test="dto.startDate != null">
            and t.cal_date &gt; #{dto.startDate}
            and t.cal_date &gt;= #{dto.startDate}
        </if>
        <if test="dto.endDate != null">
            and t.cal_date  &lt;= #{dto.endDate}