LsSectionRouteController.java
1.45 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
package com.bsth.controller;
import com.bsth.entity.LsSectionRoute;
import com.bsth.service.LsSectionRouteService;
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: SectionRouteController(路段路由控制器)
*
* @Extends : BaseController
*
* @Description: TODO(路段路由控制层)
*
* @Author YRF
*
*/
@RestController
@RequestMapping("LsSectionRoute")
public class LsSectionRouteController extends BaseController<LsSectionRoute, Integer> {
@Autowired
LsSectionRouteService service;
/**
* @param map
* @throws
* @Description: TODO(批量撤销路段)
*/
/* @RequestMapping(value = "/batchDestroy", method = RequestMethod.POST)
public Map<String, Object> updateBatch(@RequestParam Map<String, Object> map) {
return routeService.updateLsSectionRouteInfoFormId(map);
}*/
/**
* @Description :TODO(把路段截取位双路名路段)
*
* @return int <sectionCode路段编码>
*/
@RequestMapping(value="doubleName" , method = RequestMethod.POST)
public Map<String, Object> doubleName(@RequestParam Map<String, Object> map) {
return service.doubleName(map);
}
}