Parcourir la source

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

Signed-off-by: hamjin <335908093@qq.com>
hamjin il y a 2 ans
Parent
commit
8991effb62

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