Cui Zhi Feng
2024-10-20 cf918aa0dfd432466f5f1f8bb067d5b836ef343c
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}