Browse Source

门架数据

develop
王兴琳 3 months ago
parent
commit
762f293eb5
  1. 16
      zc-business/src/main/java/com/zc/business/controller/DcSdhsEventController.java
  2. 4
      zc-business/src/main/java/com/zc/business/domain/DcSdhsEventQuery.java

16
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));
}

4
zc-business/src/main/java/com/zc/business/domain/DcSdhsEventQuery.java

@ -28,13 +28,13 @@ public class DcSdhsEventQuery
/** 开始时间 */
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") //接收时间类型
//@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") //接收时间类型
private Date startTime;
/** 结束时间 */
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") //接收时间类型
// @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") //接收时间类型
private Date endTime;

Loading…
Cancel
Save