StationRouteService.java 2.59 KB
package com.bsth.service;

import com.bsth.entity.LsStationRoute;
import com.bsth.entity.StationRoute;

import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

/**
 * 
 * @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> {

	/**
	 * 
	 * @Title: list 
	 * @Description: TODO(多条件查询) 
	 * @throws
	 */
	@Override
	Iterable<StationRoute> list(Map<String, Object> map);
	
	/**
	 * @Description :TODO(查询树站点与路段数据)
	 * 
	 * @param map <line.id_eq:线路ID; directions_eq:方向>
	 * 
	 * @return List<Map<String, Object>>
	 */
	 Map<String, Object> findRoutes(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);

	 /**
	  * @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);
		
	 /**
	  * @Description : TODO(根据线路ID生成行单)
	  * 
	  * @param map <id:线路ID>
	  * 
	  * @return Map<String, Object> <SUCCESS ; ERROR ; NOTDATA>
	  */
	 Map<String, Object> usingSingle(Map<String, Object> map);

	 Map<String, Object> findByMultiLine(String lineIds);
	 
	/**
	 * @param id
	 * @return
	 */
	Map<String, Object> getSectionRouteExport(Integer id, HttpServletResponse resp);
}