diff --git a/blade-service/blade-desk/src/main/java/org/springblade/desk/mapper/NoticeMapper.java b/blade-service/blade-desk/src/main/java/org/springblade/desk/mapper/NoticeMapper.java index 8815c9ee..22443e5e 100644 --- a/blade-service/blade-desk/src/main/java/org/springblade/desk/mapper/NoticeMapper.java +++ b/blade-service/blade-desk/src/main/java/org/springblade/desk/mapper/NoticeMapper.java @@ -18,7 +18,6 @@ package org.springblade.desk.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.core.metadata.IPage; -import org.springblade.core.datascope.annotation.DataAuth; import org.springblade.desk.entity.Notice; import org.springblade.desk.vo.NoticeVO; @@ -33,18 +32,19 @@ public interface NoticeMapper extends BaseMapper { /** * 前N条数据 - * @param number - * @return + * + * @param number 数量 + * @return List */ List topList(Integer number); /** * 自定义分页 - * @param page - * @param notice - * @return + * + * @param page 分页 + * @param notice 实体 + * @return List */ - @DataAuth(code = "desk") List selectNoticePage(IPage page, NoticeVO notice); }