LineInformationController.java 1.06 KB
package com.bsth.controller;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import com.bsth.entity.LineInformation;
import com.bsth.service.LineInformationService;

/**
 * 
 * @ClassName: LineInformationController(线路标准信息控制器)
 * 
 * @Extends : BaseController
 * 
 * @Description: TODO(路段控制层)
 * 
 * @Author bsth@lq
 * 
 * @Date 2016年05月03日 上午9:21:17
 *
 * @Version 公交调度系统BS版 0.1
 * 
 */

@RestController
@RequestMapping("lineInformation")
public class LineInformationController extends BaseController<LineInformation, Integer> {

	@Autowired
	LineInformationService lineInformationService;
	
	@RequestMapping("/line/multi")
	public List<LineInformation> findByLine(@RequestParam String lineCodes){
		return lineInformationService.findByLine(lineCodes);
	}
}