ScheduleRealInfoController.java 1.25 KB
package com.bsth.controller.realcontrol;

import java.util.Collection;
import java.util.Map;

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.controller.BaseController;
import com.bsth.entity.realcontrol.ScheduleRealInfo;
import com.bsth.service.realcontrol.ScheduleRealInfoService;

@RestController
@RequestMapping("/realSchedule")
public class ScheduleRealInfoController extends BaseController<ScheduleRealInfo, Integer>{

	@Autowired
	ScheduleRealInfoService scheduleRealInfoService;
	
	@RequestMapping(value = "/lines")
	public Map<String, Collection<ScheduleRealInfo>> findByLines(@RequestParam String lines){
		return scheduleRealInfoService.findByLines(lines);
	}
	
	/**
	 * 
	 * @Title: outgoAdjust 
	 * @Description: TODO(待发调整) 
	 * @param @param id 主键
	 * @param @param remarks 备注
	 * @param @param dfsj 待发时间(HH:mm)
	 * @throws
	 */
	public Map<String, Object> outgoAdjust(@RequestParam Integer id, @RequestParam String remarks,@RequestParam String dfsj){
		
		return null;
	}
}