LsStationRouteController.java
1.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
package com.bsth.controller;
import com.bsth.entity.LsStationRoute;
import com.bsth.service.LsStationRouteService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import java.util.Map;
/**
*
* @ClassName: LsStationRouteController(历史站点路由控制器)
*
* @Extends : BaseController
*
* @Description: TODO(站点路由控制层)
*
* @Author YRF
*
* @Date 2019年5月14日
*
* @Dersion 公交调度系统BS版 0.1
*
*/
@RestController
@RequestMapping("lsStationRoute")
public class LsStationRouteController extends BaseController<LsStationRoute, Integer> {
@Autowired
LsStationRouteService service;
/**
* @param map
* @throws
* @Description: TODO(批量撤销站点)
*/
/*@RequestMapping(value = "/batchDestroy", method = RequestMethod.POST)
public Map<String, Object> updateBatch(@RequestParam Map<String, Object> map) {
return service.updateLsStationRouteInfoFormId(map);
}*/
/**
*
* @Title: upddis
* @Description: TODO(更新站距)
*/
@RequestMapping(value = "/upddis",method = RequestMethod.POST)
public Map<String, Object> upddis(@RequestParam Map<String, Object> map) {
return service.upddis(map);
}
}