parent
9000dad8ad
commit
fa46759de9
@ -0,0 +1,29 @@
|
||||
// 定义当前接口所在的包路径
|
||||
package com.service;
|
||||
|
||||
// 导入MyBatis-Plus服务接口
|
||||
import com.baomidou.mybatisplus.service.IService;
|
||||
// 导入分页工具类
|
||||
import com.utils.PageUtils;
|
||||
// 导入健身资讯实体类
|
||||
import com.entity.NewsEntity;
|
||||
// 导入Java集合框架中的Map接口
|
||||
import java.util.Map;
|
||||
// 导入HTTP请求对象
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
// 导入Spring空值注解
|
||||
import org.springframework.lang.Nullable;
|
||||
// 导入Java集合框架中的List接口
|
||||
import java.util.List;
|
||||
|
||||
// 健身资讯服务接口定义
|
||||
// 继承MyBatis-Plus通用服务接口
|
||||
// 泛型参数为NewsEntity健身资讯实体类
|
||||
public interface NewsService extends IService<NewsEntity> {
|
||||
|
||||
// 分页查询健身资讯数据方法
|
||||
// params - 包含查询条件的参数Map
|
||||
// 返回封装好的分页工具对象
|
||||
PageUtils queryPage(Map<String, Object> params);
|
||||
|
||||
}
|
Loading…
Reference in new issue