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.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
package com.dao ;
import com.entity.NewsEntity ;
import com.baomidou.mybatisplus.mapper.BaseMapper ;
import java.util.List ;
import java.util.Map ;
import com.baomidou.mybatisplus.mapper.Wrapper ;
import com.baomidou.mybatisplus.plugins.pagination.Pagination ;
import org.apache.ibatis.annotations.Param ;
import com.entity.vo.NewsVO ;
import com.entity.view.NewsView ;
/**
* 公告信息
* 该接口用于定义与公告信息相关的数据访问操作
*
* @author
* @email
* @date 2023-02-21 09:46:06
*/
public interface NewsDao extends BaseMapper < NewsEntity > {
// 根据查询条件( Wrapper) 选择公告的信息列表, 并返回一个 NewsVO 对象的列表
List < NewsVO > selectListVO ( @Param ( "ew" ) Wrapper < NewsEntity > wrapper ) ;
// 根据查询条件( Wrapper) 选择单个公告的信息, 并返回一个 NewsVO 对象
NewsVO selectVO ( @Param ( "ew" ) Wrapper < NewsEntity > wrapper ) ;
// 根据查询条件( Wrapper) 选择公告的信息视图列表, 并返回一个 NewsView 对象的列表
List < NewsView > selectListView ( @Param ( "ew" ) Wrapper < NewsEntity > wrapper ) ;
// 根据查询条件( Wrapper) 与分页信息选择公告的信息视图列表, 并返回一个 NewsView 对象的列表
List < NewsView > selectListView ( Pagination page , @Param ( "ew" ) Wrapper < NewsEntity > wrapper ) ;
// 根据查询条件( Wrapper) 选择单个公告的信息视图, 并返回一个 NewsView 对象
NewsView selectView ( @Param ( "ew" ) Wrapper < NewsEntity > wrapper ) ;
}