package com.yeshi.fanli.service.inter.homemodule;
|
|
import java.util.List;
|
|
import org.springframework.web.multipart.MultipartFile;
|
|
import com.yeshi.fanli.entity.bus.homemodule.SpecialCard;
|
import com.yeshi.fanli.exception.homemodule.SpecialCardException;
|
|
/**
|
* 专题标识
|
*
|
* @author Administrator
|
*
|
*/
|
public interface SpecialCardService {
|
|
public List<SpecialCard> listQuery(long start, int count, String key, Integer sort, List<Long> listPid);
|
|
public long countlistQuery(String key, List<Long> listPid);
|
|
/**
|
* 根据id批量删除
|
* @param list
|
* @return
|
* @throws Exception
|
*/
|
public int deleteBatchByPrimaryKey(List<Long> list) throws Exception;
|
|
/**
|
* 新增、修改
|
* @param file
|
* @param record
|
* @throws SpecialCardException
|
* @throws Exception
|
*/
|
public void saveObject(MultipartFile file, SpecialCard record) throws SpecialCardException, Exception;
|
|
/**
|
* 获取背景图片
|
* @param placeKey
|
* @return
|
*/
|
public String getbottomPicture(String placeKey);
|
|
|
/**
|
* 状态切换
|
* @param id
|
* @throws SpecialCardException
|
*/
|
public void switchState(Long id) throws SpecialCardException;
|
|
}
|