ZnddLbController.java
961 Bytes
package com.bsth.controller.zndd;
import com.bsth.controller.BaseController;
import com.bsth.entity.realcontrol.ScheduleRealInfo;
import com.bsth.entity.zndd.ZnddLb;
import com.bsth.service.zndd.ZnddLbService;
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 java.util.Map;
@RestController
@RequestMapping("znnd_lb")
public class ZnddLbController extends BaseController<ZnddLb, Integer> {
@Autowired
ZnddLbService znddLbService;
//线路--车辆
@RequestMapping("lineCar")
public ScheduleRealInfo queryLineCar(@RequestParam Map m){
return znddLbService.queryLineCar(m);
}
//批量撤销烂班
@RequestMapping("cxlb")
public Map cxlb(@RequestParam Map m){
return znddLbService.cxlb(m);
}
}