LineService.java
833 Bytes
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
package com.bsth.service;
import com.bsth.entity.Line;
import java.util.Map;
/**
*
* @Interface: LineService(线路service业务层实现接口)
*
* @extends : BaseService
*
* @Description: TODO(线路service业务层实现接口)
*
* @Author bsth@lq
*
* @Date 2016年4月28日 上午9:21:17
*
* @Version 公交调度系统BS版 0.1
*
*/
public interface LineService extends BaseService<Line, Integer> {
/**
* 获取线路编码
*
* @return long <lineCode:线路编码>
*/
long selectMaxIdToLineCode();
Line findByLineCode(String lineCode);
Line findById(Integer id);
String lineCodeVerification(String lineCode);
Map<String, Object> update(Line l);
Map<String,Object> remove(Integer id);
Map<String, Boolean> lineNature();
}