Commit edc6aa025232b4d1e475cd079fd033490a82b97c
1 parent
2473230d
运管处路单上传BUG修改
Showing
1 changed file
with
2 additions
and
4 deletions
src/main/java/com/bsth/controller/schedule/TrafficManageController.java
| @@ -8,8 +8,6 @@ import org.springframework.web.bind.annotation.RequestMethod; | @@ -8,8 +8,6 @@ import org.springframework.web.bind.annotation.RequestMethod; | ||
| 8 | import org.springframework.web.bind.annotation.RequestParam; | 8 | import org.springframework.web.bind.annotation.RequestParam; |
| 9 | import org.springframework.web.bind.annotation.RestController; | 9 | import org.springframework.web.bind.annotation.RestController; |
| 10 | 10 | ||
| 11 | -import java.util.Map; | ||
| 12 | - | ||
| 13 | /** | 11 | /** |
| 14 | * | 12 | * |
| 15 | * @author BSTH | 13 | * @author BSTH |
| @@ -24,9 +22,9 @@ public class TrafficManageController { | @@ -24,9 +22,9 @@ public class TrafficManageController { | ||
| 24 | 22 | ||
| 25 | 23 | ||
| 26 | @RequestMapping(value = "/setXL", method = RequestMethod.GET) | 24 | @RequestMapping(value = "/setXL", method = RequestMethod.GET) |
| 27 | - public String setXL(@RequestParam Map<String, Object> param) throws Exception { | 25 | + public String setXL(@RequestParam("ids") String ids) throws Exception { |
| 28 | try { | 26 | try { |
| 29 | - return trManageService.setXL(param); | 27 | + return trManageService.setXL(ids); |
| 30 | } catch (Exception exp) { | 28 | } catch (Exception exp) { |
| 31 | throw new Exception(exp.getCause()); | 29 | throw new Exception(exp.getCause()); |
| 32 | } | 30 | } |