diff --git a/zc-business/src/main/java/com/zc/business/controller/DcSdhsEventController.java b/zc-business/src/main/java/com/zc/business/controller/DcSdhsEventController.java index f603c9a5..0f81314d 100644 --- a/zc-business/src/main/java/com/zc/business/controller/DcSdhsEventController.java +++ b/zc-business/src/main/java/com/zc/business/controller/DcSdhsEventController.java @@ -294,9 +294,9 @@ public class DcSdhsEventController { * @param dcSdhsEventQuery * @return */ - @GetMapping("/accidentTimeAnalysis") + @PostMapping("/accidentTimeAnalysis") @ApiOperation("事故时间分析") - public AjaxResult accidentTimeAnalysis(DcSdhsEventQuery dcSdhsEventQuery){ + public AjaxResult accidentTimeAnalysis(@RequestBody DcSdhsEventQuery dcSdhsEventQuery){ return AjaxResult.success( dcSdhsEventService.accidentTimeAnalysis(dcSdhsEventQuery)); } /** @@ -304,18 +304,18 @@ public class DcSdhsEventController { * @param dcSdhsEventQuery * @return */ - @GetMapping("/accidentModelAnalysis") + @PostMapping("/accidentModelAnalysis") @ApiOperation("事故车型分析") - public AjaxResult accidentModelAnalysis(DcSdhsEventQuery dcSdhsEventQuery){ + public AjaxResult accidentModelAnalysis(@RequestBody DcSdhsEventQuery dcSdhsEventQuery){ return AjaxResult.success( dcSdhsEventService.accidentModelAnalysis(dcSdhsEventQuery)); } /** * 收费站出入口分析 * @param dcSdhsEventQuery * @return */ - @GetMapping("/TollBoothStatisticsList") + @PostMapping("/TollBoothStatisticsList") @ApiOperation("收费站出入口分析") - public AjaxResult TollBoothStatisticsList(DcSdhsEventQuery dcSdhsEventQuery){ + public AjaxResult TollBoothStatisticsList(@RequestBody DcSdhsEventQuery dcSdhsEventQuery){ return AjaxResult.success( dcSdhsEventService.TollBoothStatisticsList(dcSdhsEventQuery)); } @@ -324,9 +324,9 @@ public class DcSdhsEventController { * @param dcSdhsEventQuery * @return */ - @GetMapping("/gantryAnalysis") + @PostMapping("/gantryAnalysis") @ApiOperation("门架分析") - public AjaxResult gantryAnalysis(DcSdhsEventQuery dcSdhsEventQuery){ + public AjaxResult gantryAnalysis(@RequestBody DcSdhsEventQuery dcSdhsEventQuery){ return AjaxResult.success( dcSdhsEventService.trafficFlowStatistics(dcSdhsEventQuery)); }