yujian
2019-09-23 aec36e0e136b55ffeb1d22dd3d7f5c2443b806aa
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
package com.yeshi.fanli.service.inter.brand;
 
import java.util.List;
 
import com.yeshi.fanli.entity.brand.BrandClass;
import com.yeshi.fanli.exception.brand.BrandClassException;
 
/**
 * 品牌分类服务
 * 
 * @author Administrator
 *
 */
public interface BrandClassService {
 
    /**
     * 查询有效分类
     * @return
     */
    public List<BrandClass> listEffective();
    
    /**
     * 查询有效分类
     * @return
     */
    public List<BrandClass> listBrandClassEffectiveCache();
 
    /**
     * 保存品牌信息
     * @param record
     * @throws BrandClassException
     * @throws Exception
     */
    public void saveObject(BrandClass record) throws BrandClassException, Exception;
 
    /**
     * 查询列表
     * @param start
     * @param count
     * @param key
     * @param state
     * @return
     */
    public List<BrandClass> listQuery(long start, int count, String key, Integer state);
 
    public long countQuery(String key, Integer state);
 
    /**
     * 修改排序
     * @param id
     * @param moveType
     * @throws BrandClassException
     * @throws Exception
     */
    public void updateOrder(Long id, Integer moveType) throws BrandClassException, Exception;
 
    /**
     * 批量删除
     * @param list
     * @return
     */
    public int deleteBatchByPrimaryKey(List<Long> list);
 
    /**
     * 
     * @param id
     * @return
     */
    public BrandClass selectByPrimaryKey(Long id);
 
    
}