SectionRouteService.java 1.93 KB
package com.bsth.service;

import java.util.List;
import java.util.Map;

import com.bsth.entity.SectionRoute;

/**
 * 
 * @Interface: SectionRouteService(路段路由service业务层实现接口)
 * 
 * @extends : BaseService
 * 
 * @Description: TODO(路段路由service业务层实现接口)
 * 
 * @Author bsth@lq
 * 
 * @Date 2016年05月03日 上午9:21:17
 *
 * @Version 公交调度系统BS版 0.1
 * 
 */
public interface SectionRouteService extends BaseService<SectionRoute, Integer> {
	
	/**
	 * 
	 * @Title: list 
	 * @Description: TODO(多条件查询) 
	 * @throws
	 */
	Iterable<SectionRoute> list(Map<String, Object> map);
	
	List<Map<String, Object>> getSectionRoute(Map<String, Object> map);
	
	List<Map<String, Object>> getSectionRouteCache(Map<String, Object> map);
	
	/**
	 * @Description : TODO(根据路段路由Id批量撤销路段)
	 * 
	 * @param  map <id:路段路由ID> 
	 * 
	 * @return List<Map<String, Object>>
	 */
	Map<String, Object> updateSectionRouteInfoFormId(Map<String, Object> map);
	
	/**
	 * @Description : TODO(根据路段路由Id查询详情)
	 * 
	 * @param  map <id:路段路由ID> 
	 * 
	 * @return List<Map<String, Object>>
	 */
	List<Map<String, Object>> findSectionRouteInfoFormId(Map<String, Object> map);
	
	/**
	 * @Description :TODO(查询线路某方向下的上一个路段序号)
	 * 
	 * @param map <lineId:线路ID; direction:方向;sectionRouteCode:路段编码>
	 * 
	 * @return List<Map<String, Object>> 
	 */
	 List<Map<String, Object>> findUpSectionRouteCode(Map<String, Object> map);
	 
	 List<Map<String, Object>> findCacheUpSectionRouteCode(Map<String, Object> map);
	 
	 Map<String, Object> quoteSection(Map<String, Object> map);

	void batchUpdate(Integer lineId, String lineCode);

    Map<String,Object> destroy(Integer id);

	Map<String, Object> destroyHistory(Integer id);

	Map pageLs(Map<String, Object> map);
}