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

+ 3 - 0
java110-db/src/main/resources/mapper/community/NoticeServiceDaoImplMapper.xml

@@ -135,6 +135,9 @@
         <if test="userId !=null and userId != ''">
             and t.user_id= #{userId}
         </if>
+        <if test="state !=null and state != ''">
+            and t.state= #{state}
+        </if>
         <if test="noticeId !=null and noticeId != ''">
             and t.notice_id= #{noticeId}
         </if>