陶杰
2024-10-10 c3910a68f8c6a71c9e2dd73f6cdc9df2d89637e9
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}