You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
65 lines
1.7 KiB
65 lines
1.7 KiB
package com.service;
|
|
|
|
import com.baomidou.mybatisplus.mapper.Wrapper;
|
|
import com.baomidou.mybatisplus.service.IService;
|
|
import com.utils.PageUtils;
|
|
import com.entity.ForumEntity; // 导入论坛实体类
|
|
import java.util.List;
|
|
import java.util.Map;
|
|
import com.entity.vo.ForumVO;// 导入论坛VO类
|
|
import org.apache.ibatis.annotations.Param;
|
|
import com.entity.view.ForumView;v// 导入论坛视图类
|
|
/**
|
|
* 论坛表
|
|
*
|
|
* @author
|
|
* @email
|
|
* @date 2023-02-21 09:46:06
|
|
*/
|
|
public interface ForumService extends IService<ForumEntity> {
|
|
|
|
/**
|
|
* 查询分页数据
|
|
* @param params 查询参数
|
|
* @return 分页结果
|
|
*/
|
|
PageUtils queryPage(Map<String, Object> params);
|
|
|
|
/**
|
|
* 查询VO列表
|
|
* @param wrapper 查询条件包装器
|
|
* @return ForumVO对象列表
|
|
*/
|
|
List<ForumVO> selectListVO(Wrapper<ForumEntity> wrapper);
|
|
|
|
/**
|
|
* 查询单个VO对象
|
|
* @param wrapper 查询条件包装器
|
|
* @return 单个ForumVO对象
|
|
*/
|
|
ForumVO selectVO(@Param("ew") Wrapper<ForumEntity> wrapper);
|
|
|
|
/**
|
|
* 查询视图列表
|
|
* @param wrapper 查询条件包装器
|
|
* @return ForumView对象列表
|
|
*/
|
|
List<ForumView> selectListView(Wrapper<ForumEntity> wrapper);
|
|
|
|
/**
|
|
* 查询单个视图对象
|
|
* @param wrapper 查询条件包装器
|
|
* @return 单个ForumView对象
|
|
*/
|
|
ForumView selectView(@Param("ew") Wrapper<ForumEntity> wrapper);
|
|
|
|
/**
|
|
* 带条件的查询分页数据
|
|
* @param params 查询参数
|
|
* @param wrapper 查询条件包装器
|
|
* @return 分页结果
|
|
*/
|
|
PageUtils queryPage(Map<String, Object> params, Wrapper<ForumEntity> wrapper);
|
|
}
|
|
|