陶杰
2024-11-06 f78a8ed5049dae99e864ef9c7e6088a7a85fdfd8
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}