CarService.java
1.45 KB
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
package com.glsx.publicservice.service;
import java.util.List;
import com.glsx.biz.common.base.entity.CarBrandSelected;
import com.glsx.biz.common.base.entity.Carbrand;
import com.glsx.biz.common.base.entity.Carseries;
import com.glsx.biz.common.base.entity.Cartype;
/**
*
* @Title CarbrandService.java
* @Package com.glsx.publicservice.service
* @Description TODO 汽车品牌
* @author zhanghj
* @date 2018年7月24日 下午8:39:03
* @version
*/
public interface CarService {
/**
* 获取所有的汽车品牌
* @return
*/
List<Carbrand> getCarbrandList();
/**
* 根据汽车品牌id,获取车系列表
* @param bid
* @return
*/
List<Carseries> getCarseriesList(Integer bid);
/**
* 通过车系id,获取车型列表
* @param bid
* @return
*/
List<Cartype> getCartypeList(Integer seriesId);
/**
* 根据品牌id获取品牌信息
* @param bid
* @return
*/
Carbrand getCarbrandById(Integer bid);
/**
* 根据车系id获取车系信息
* @param seriesId
* @return
*/
Carseries getCarseriesById(Integer seriesId);
/**
* 根据车型id获取车型信息
* @param cartypeId
* @return
*/
Cartype getCartypeById(Integer seriesId, Integer cartypeId);
Cartype getCarTypeDetail( Integer cartypeId) ;
/**
*
* @param type 品牌树层级 2:二级 3:三级
* @return
*/
List<CarBrandSelected> getCarbrandTree(Integer type);
}