java110
2023-03-29 0b04f664887c73e90bf684a4e69c0fdbfe26349d
java110-db/src/main/resources/mapper/community/NoticeServiceDaoImplMapper.xml
@@ -113,10 +113,10 @@
        <if test="context !=null and context != ''">
            and t.context= #{context}
        </if>
        <if test="startTime !=null">
        <if test="startTime !=null and startTime != ''">
            and t.start_time &lt;= #{startTime}
        </if>
        <if test="endTime !=null">
        <if test="endTime !=null  and endTime != ''">
            and t.end_time &gt;= #{endTime}
        </if>
        <if test="statusCd !=null and statusCd != ''">
@@ -196,10 +196,10 @@
        <if test="context !=null and context != ''">
            and t.context= #{context}
        </if>
        <if test="startTime !=null">
        <if test="startTime !=null and startTime != ''">
            and t.start_time &lt;= #{startTime}
        </if>
        <if test="endTime !=null">
        <if test="endTime !=null  and endTime != ''">
            and t.end_time &gt;= #{endTime}
        </if>
        <if test="statusCd !=null and statusCd != ''">
@@ -217,6 +217,9 @@
        <if test="noticeId !=null and noticeId != ''">
            and t.notice_id= #{noticeId}
        </if>
        <if test="state !=null and state != ''">
            and t.state= #{state}
        </if>
    </select>
</mapper>