LsSectionRouteService.java
990 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
43
44
45
46
47
48
49
50
51
52
53
package com.bsth.service;
import com.bsth.entity.LsSectionRoute;
import java.util.List;
import java.util.Map;
/**
* @author Hill
*/
public interface LsSectionRouteService extends BaseService<LsSectionRoute, Integer> {
/**
* 获取历史路段路由
* @param map
* @return
*/
List<LsSectionRoute> findSectionRoutes(Map<String, Object> map);
/**
* 批量撤销路段路由
* @param ids
*/
void batchDestroy(List<Integer> ids);
/**
* 批量恢复撤销的站点路由
* @param ids
*/
void batchRecover(List<Integer> ids);
/**
* 引用另一上下行路段
* @param lineId
* @param version
* @param direction
* @param otherDirection
* @return
*/
Map<String, Object> quoteOtherSide(int lineId, int version, int direction, int otherDirection);
/**
* 添加路段路由
* @param sectionRoute
*/
void add(LsSectionRoute sectionRoute);
/**
* 修改路段路由
* @param sectionRoute
*/
void modify(LsSectionRoute sectionRoute);
}