diff --git a/src/main/java/com/mobile_education_platform/service/impl/NoticeServiceImpl.java b/src/main/java/com/mobile_education_platform/service/impl/NoticeServiceImpl.java index 58ef300c2da5cfd2ae9fec365496de4a1fcb8b2c..722369435f615be72485a30976a66bf5e9db9f00 100644 --- a/src/main/java/com/mobile_education_platform/service/impl/NoticeServiceImpl.java +++ b/src/main/java/com/mobile_education_platform/service/impl/NoticeServiceImpl.java @@ -63,6 +63,7 @@ public class NoticeServiceImpl extends ServiceImpl impleme Page page=new Page<>(pageNum,pageCount); QueryWrapper queryWrapper = new QueryWrapper<>(); queryWrapper.eq("promulgator_id",teacherId); + queryWrapper.eq("is_deleted",1); return baseMapper.selectPage(page,queryWrapper); }