Commit 9592bfe3ca5a972600922484ad45433bae9c3745
1 parent
9048b5ff
运管处路单上传BUG修改
Showing
1 changed file
with
13 additions
and
2 deletions
src/main/java/com/bsth/controller/schedule/TrafficManageController.java
| ... | ... | @@ -8,6 +8,8 @@ import org.springframework.web.bind.annotation.RequestMethod; |
| 8 | 8 | import org.springframework.web.bind.annotation.RequestParam; |
| 9 | 9 | import org.springframework.web.bind.annotation.RestController; |
| 10 | 10 | |
| 11 | +import java.util.Map; | |
| 12 | + | |
| 11 | 13 | /** |
| 12 | 14 | * |
| 13 | 15 | * @author BSTH |
| ... | ... | @@ -22,9 +24,9 @@ public class TrafficManageController { |
| 22 | 24 | |
| 23 | 25 | |
| 24 | 26 | @RequestMapping(value = "/setXL", method = RequestMethod.GET) |
| 25 | - public String setXL() throws Exception { | |
| 27 | + public String setXL(@RequestParam Map<String, Object> param) throws Exception { | |
| 26 | 28 | try { |
| 27 | - return trManageService.setXL(); | |
| 29 | + return trManageService.setXL(param); | |
| 28 | 30 | } catch (Exception exp) { |
| 29 | 31 | throw new Exception(exp.getCause()); |
| 30 | 32 | } |
| ... | ... | @@ -57,6 +59,15 @@ public class TrafficManageController { |
| 57 | 59 | } |
| 58 | 60 | } |
| 59 | 61 | |
| 62 | + @RequestMapping(value = "/setLDFile", method = RequestMethod.GET) | |
| 63 | + public String setLDFile() throws Exception { | |
| 64 | + try { | |
| 65 | + return trManageService.setLDFile(); | |
| 66 | + } catch (Exception exp) { | |
| 67 | + throw new Exception(exp.getCause()); | |
| 68 | + } | |
| 69 | + } | |
| 70 | + | |
| 60 | 71 | @RequestMapping(value = "/setLCYH", method = RequestMethod.GET) |
| 61 | 72 | public String setLCYH() throws Exception { |
| 62 | 73 | try { | ... | ... |