SectionService.java 1.07 KB
package com.bsth.service;

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

import com.bsth.entity.Section;

/**
 * 
 * @Interface: SectionService(路段service业务层实现接口)
 * 
 * @extends : BaseService
 * 
 * @Description: TODO(路段service业务层实现接口)
 * 
 * @Author bsth@lq
 * 
 * @Date 2016年05月03日 上午9:21:17
 *
 * @Version 公交调度系统BS版 0.1
 * 
 */
public interface SectionService extends BaseService<Section, Integer> {

    Map<String,Object> doubleName(Map<String, Object> map);

	/**
	 * 新增路段信息
	 * @param section
	 */
	void add(Section section);

	/**
	 * 修改路段信息
	 * @param section
	 */
	void modify(Section section);

	/**
	 * 获取所有不重名的道路名称
	 * @return
	 */
	List<String> findDistinctSectionName();

	/**
	 * 根据路段名检索路段信息
	 * @param sectionName
	 * @return
	 */
	List<Section> findSectionByName(String sectionName);

	/**
	 * 将路段的WGS坐标数据转换到百度坐标并保存
	 */
	void translateWgs2Bd();
}