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 0f81314d..333b406d 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 @@ -119,8 +119,8 @@ public class DcSdhsEventController { } return AjaxResult.success(dcSdhsEventService.accidentSectionAnalysis(dcSdhsEventQuery)); } - //事故类型分析 - @ApiOperation("查询事故类型分析") + //事件类型分析 + @ApiOperation("查询事件类型分析") @PostMapping("/typeAnalysis") public AjaxResult accidentTypeAnalysis(@RequestBody DcSdhsEventQuery dcSdhsEventQuery){ if (dcSdhsEventQuery.getStartTime()==null||dcSdhsEventQuery.getEndTime()==null){ diff --git a/zc-business/src/main/java/com/zc/business/service/IDcSdhsEventService.java b/zc-business/src/main/java/com/zc/business/service/IDcSdhsEventService.java index 39f38e4a..795f4168 100644 --- a/zc-business/src/main/java/com/zc/business/service/IDcSdhsEventService.java +++ b/zc-business/src/main/java/com/zc/business/service/IDcSdhsEventService.java @@ -33,7 +33,7 @@ public interface IDcSdhsEventService //事故多发路段分析 public Map accidentSectionAnalysis(DcSdhsEventQuery dcSdhsEventQuery); - //事故类型分析 + //事件类型分析 public Map accidentTypeAnalysis(DcSdhsEventQuery dcSdhsEventQuery); //事故拥堵地点 public Map accidentCongestedLocation(DcSdhsEventQuery dcSdhsEventQuery); diff --git a/zc-business/src/main/java/com/zc/business/service/impl/DcSdhsEventServiceImpl.java b/zc-business/src/main/java/com/zc/business/service/impl/DcSdhsEventServiceImpl.java index a2ef4fca..a173e9ff 100644 --- a/zc-business/src/main/java/com/zc/business/service/impl/DcSdhsEventServiceImpl.java +++ b/zc-business/src/main/java/com/zc/business/service/impl/DcSdhsEventServiceImpl.java @@ -251,7 +251,7 @@ public class DcSdhsEventServiceImpl implements IDcSdhsEventService { } return groupCountMap; } - //事故类型分析 + //事件类型分析 @Override public Map accidentTypeAnalysis(DcSdhsEventQuery dcSdhsEventQuery) { List cacheList = redisCache.getCacheList(RedisKeyConstants.SDHS_EVENT);