Browse Source

通知公告: 查询时默认排除被逻辑删除的

Signed-off-by: hamjin <335908093@qq.com>
hamjin 2 years ago
parent
commit
8991effb62
1 changed files with 1 additions and 0 deletions
  1. 1 0
      ruoyi-system/src/main/resources/mapper/system/PoNoticeMapper.xml

+ 1 - 0
ruoyi-system/src/main/resources/mapper/system/PoNoticeMapper.xml

@@ -64,6 +64,7 @@
                 AND notice_type like concat('%', #{noticeType}, '%')
             </if>
             <if test="delFlag != null">and del_flag = #{delFlag}</if>
+            <if test="delFlag == null">and del_flag = #{0}</if>
         </where>
     </select>