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>