LineService.java 755 Bytes
package com.bsth.service;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.bsth.entity.Line;

/**
 * 
 * @Interface: LineService(线路service业务层实现接口)
 * 
 * @extends : BaseService
 * 
 * @Description: TODO(线路service业务层实现接口)
 * 
 * @Author bsth@lq
 * 
 * @Date 2016年4月28日 上午9:21:17
 *
 * @Version 公交调度系统BS版 0.1
 * 
 */
public interface LineService extends BaseService<Line, Integer> {
	
	/**
	 * 获取线路编码
	 * 
	 * @return long <lineCode:线路编码>
	 */
	long selectMaxIdToLineCode();
	
	Line findByLineCode(String lineCode);
	
	Line findById(Integer id);
}