StationRouteService.java
4.6 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
package com.bsth.service;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletResponse;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;
import com.bsth.entity.LsStationRoute;
import com.bsth.entity.StationRoute;
import com.bsth.entity.StationRouteCache;
/**
*
* @Interface: StationRouteService(站点路由service业务层实现接口)
*
* @Extends : BaseService
*
* @Description: TODO(站点路由service业务层实现接口)
*
* @Author bsth@lq
*
* @Date 2016年5月03日 上午9:21:17
*
* @Version 公交调度系统BS版 0.1
*
*/
public interface StationRouteService extends BaseService<StationRoute, Integer> {
/**
* 历史查询。
* @param map
* @return
*/
Iterable<LsStationRoute> list_ls(Map<String, Object> map);
/**
*
* @Title: list
* @Description: TODO(多条件查询)
* @throws
*/
Iterable<StationRoute> list(Map<String, Object> map);
List<StationRouteCache> cacheList(Map<String, Object> map);
/**
* @Description : TODO(根据路段站点Id批量撤销站点)
*
* @param map <id:站点路由ID>
*
* @return List<Map<String, Object>>
*/
Map<String, Object> updateStationRouteInfoFormId(Map<String, Object> map);
/**
* @Description :TODO(查询树站点与路段数据)
*
* @param map <line.id_eq:线路ID; directions_eq:方向>
*
* @return List<Map<String, Object>>
*/
List<Map<String, Object>> findPoints(Map<String, Object> map);
Map<String, Object> systemQuote(Map<String, Object> map);
/**
* @Description :TODO(查询线路某方向下的站点序号与类型)
*
* @param map <lineId:线路ID; direction:方向;stationRouteCode:站点编码>
*
* @return List<Map<String, Object>>
*/
List<Map<String, Object>> findUpStationRouteCode(Map<String, Object> map);
List<Map<String, Object>> findCacheUpStationRouteCode(Map<String, Object> map);
/**
* @Description :TODO(查询下一个站点)
*
* @param map <站点路由id; direction:方向;stationRouteCode:站点编码>
*
* @return List<Map<String, Object>>
*/
List<Map<String, Object>> findDownStationRoute(Map<String, Object> map);
/**
* @Description :TODO(查询线路某方向下所有站点的中心百度坐标)
*
* @param map <lineId:线路ID; direction:方向>
*
* @return List<Map<String, Object>>
*/
List<Map<String, Object>> getStationRouteCenterPoints(Map<String, Object> map);
/**
* @Description :TODO(查询线路某方向下所有站点)
*
* @param map <lineId:线路ID; direction:方向>
*
* @return List<Map<String, Object>>
*/
List<Map<String, Object>> getStationRouteList(Map<String, Object> map);
/**
* @Description :TODO(撤销站点)
*
* @param map <lineId:线路ID; destroy:是否撤销(0:否;1:是)>
*
* @return Map<String, Object> <SUCCESS ; ERROR>
*/
Map<String, Object> stationRouteIsDestroy(Map<String, Object> map);
List<Map<String, Object>> getStationRouteCacheCenterPoints(Map<String, Object> map);
/**
* @Description : TODO(根据线路ID生成行单)
*
* @param map <id:线路ID>
*
* @return Map<String, Object> <SUCCESS ; ERROR ; NOTDATA>
*/
Map<String, Object> usingSingle(Map<String, Object> map);
/**
* @Description : TODO(根据站点路由Id查询详情)
*
* @param map <id:站点路由ID>
*
* @return List<Map<String, Object>>
*/
List<Map<String, Object>> findStationRouteInfo(Map<String, Object> map);
Map<String, Object> findByMultiLine(String lineIds);
Map<String, Object> updSwitchDir(String lineIds,int stauts);
Map<String, Object> upddis(Map<String, Object> map);
/**
* @param id
* @return
*/
Map<String, Object> getSectionRouteExport(Integer id, HttpServletResponse resp);
void batchUpdate(Integer lineId, String lineCode);
/**
* @Description :TODO(查询缓存站点信息)
*
* @param map <line.id_eq:线路ID; directions_eq:方向>
*
* @return List<Map<String, Object>>
*/
List<Map<String, Object>> findCachePoint(int lineId, int dir);
Map<String, Object> findMatchStation(Map<String, Object> map);
Map<String, Object> updIndustryCode(Map<String, Object> map);
Map<String, Object> matchIndustryCode(Map<String, Object> map);
Map<String, Object> matchNearbyStation(Map<String, Object> map);
Map pageLs(Map<String, Object> map);
}