wuxw преди 3 години
родител
ревизия
beb132cbe3
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      java110-db/src/main/resources/mapper/community/NoticeServiceDaoImplMapper.xml

+ 2 - 2
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 != ''">