io.github.wslxm.springbootplus2.manage.sys.service.SysBannerService Maven / Gradle / Ivy
The newest version!
package io.github.wslxm.springbootplus2.manage.sys.service;
import io.github.wslxm.springbootplus2.core.base.model.BasePage;
import com.baomidou.mybatisplus.extension.service.IService;
import io.github.wslxm.springbootplus2.manage.sys.model.dto.SysBannerDTO;
import io.github.wslxm.springbootplus2.manage.sys.model.entity.SysBanner;
import io.github.wslxm.springbootplus2.manage.sys.model.query.SysBannerQuery;
import io.github.wslxm.springbootplus2.manage.sys.model.vo.SysBannerVO;
import java.util.List;
/**
* banner表
*
* ::本代码由[兮家小二]提供的代码生成器生成,如有问题,请手动修改 ::作者CSDN:https://blog.csdn.net/qq_41463655
*
*
* @author wangsong
* @email [email protected]
* @date 2020-08-23 23:14:01
*/
public interface SysBannerService extends IService {
/**
* 列表查询
*
* @param query query
* @return com.baomidou.mybatisplus.core.metadata.BasePage
* @version 1.0.0
*/
BasePage findPage(SysBannerQuery query);
/**
* 根据位置 查询
* @param position
* @return
*/
List findByPosition(Integer position);
/**
* 添加
*
* @param dto dto
* @return java.lang.String
* @version 1.0.0
*/
String insert(SysBannerDTO dto);
/**
* 编辑
*
* @param id id
* @param dto dto
* @return boolean
* @version 1.0.0
*/
boolean upd(String id, SysBannerDTO dto);
/**
* 删除
*
* @param id id
* @return boolean
* @version 1.0.0
*/
boolean del(String id);
}