| | |
| | | package com.panzhihua.service_grid.dao; |
| | | |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.panzhihua.common.model.dtos.grid.PageEventDTO; |
| | | import com.panzhihua.common.model.dtos.grid.PagePublicityEventDTO; |
| | | import com.panzhihua.service_grid.model.dos.EventDO; |
| | | import com.panzhihua.common.model.vos.grid.EventVO; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | |
| | | * |
| | | * @author cedoo email:cedoo(a)qq.com |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | * @since 1.0 |
| | | */ |
| | | @Mapper |
| | | public interface EventMapper extends BaseMapper<EventDO> { |
| | | |
| | | /** |
| | | * 分页查询 |
| | | * @param pageEventDTO |
| | | * @return |
| | | */ |
| | | IPage<EventVO> findByPage(Page page, @Param("pageEventDTO")PageEventDTO pageEventDTO); |
| | | /** |
| | | * 分页查询事件 |
| | | * |
| | | * @param pageEventDTO |
| | | * @return |
| | | */ |
| | | IPage<EventVO> findByPage(Page page, @Param("pageEventDTO") PageEventDTO pageEventDTO); |
| | | |
| | | /** |
| | | * 分页查询宣传教育 |
| | | * |
| | | * @param pagePublicityEventDTO |
| | | * @return |
| | | */ |
| | | IPage<EventVO> findPublicityByPage(Page page, @Param("pagePublicityEventDTO") PagePublicityEventDTO pagePublicityEventDTO); |
| | | } |