java110 лет назад: 5
Родитель
Сommit
9369ea7d20

+ 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>