package com.dg.core.service;
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
import com.dg.core.ResultData;
|
import com.dg.core.db.gen.entity.Slideshow;
|
import com.dg.core.db.gen.entity.SysUser;
|
|
import java.util.List;
|
|
public interface ISlideshowService {
|
|
/**
|
* 查询轮播图列表(分页)
|
*
|
* @return 参数配置信息
|
*/
|
List<Slideshow> selectConfigList(IPage<SysUser> page, Integer state);
|
|
/**
|
* 查询轮播图列表(不分页)
|
*
|
* @return 参数配置信息
|
*/
|
List<Slideshow> selectList();
|
|
/**
|
* 根据id 查询轮播图数据
|
*
|
* @return 参数配置信息
|
*/
|
Slideshow queryById(Integer id);
|
|
/**
|
* 新增轮播图数据
|
*
|
* @return 参数配置信息
|
*/
|
ResultData add(Slideshow slideshow);
|
|
/**
|
* 修改轮播图数据
|
*
|
* @return 参数配置信息
|
*/
|
ResultData update(Slideshow slideshow);
|
|
|
/**
|
* 删除轮播图数据
|
*
|
* @return 参数配置信息
|
*/
|
ResultData delete(Integer id);
|
|
}
|