yujian
2020-04-23 d844a30a240603daab46e8b2b32b01cd90f1272e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
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);
 
    public long countlistQuery(String key);
 
    /**
     * 根据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;
 
}