Browse Source

高速云事件分析去掉方向

develop
lau572 8 months ago
parent
commit
fb54a87e21
  1. 8
      zc-business/src/main/java/com/zc/business/service/impl/DcSdhsEventServiceImpl.java

8
zc-business/src/main/java/com/zc/business/service/impl/DcSdhsEventServiceImpl.java

@ -268,7 +268,7 @@ public class DcSdhsEventServiceImpl implements IDcSdhsEventService {
.collect(Collectors.toList());
//筛选方向
if (StringUtils.isNotEmpty(dcSdhsEventQuery.getDirection())){
/*if (StringUtils.isNotEmpty(dcSdhsEventQuery.getDirection())){
if (dcSdhsEventQuery.getDirection().equals("1")){
//菏泽方向
eventList = eventList.stream()
@ -280,7 +280,7 @@ public class DcSdhsEventServiceImpl implements IDcSdhsEventService {
.filter(item -> item.getDirection().equals("济南方向") || item.getDirection().equals("双向"))
.collect(Collectors.toList());
}
}
}*/
//地市统计
Map<String, Long> region = eventList.stream()
@ -422,7 +422,7 @@ public class DcSdhsEventServiceImpl implements IDcSdhsEventService {
.collect(Collectors.toList());
//筛选方向
if (StringUtils.isNotEmpty(dcSdhsEventQuery.getDirection())){
/*if (StringUtils.isNotEmpty(dcSdhsEventQuery.getDirection())){
if (dcSdhsEventQuery.getDirection().equals("1")){
//菏泽方向
eventList = eventList.stream()
@ -435,7 +435,7 @@ public class DcSdhsEventServiceImpl implements IDcSdhsEventService {
.filter(item -> item.getDirection().equals("济南方向") || item.getDirection().equals("双向"))
.collect(Collectors.toList());
}
}
}*/
//封闭
List<DcSdhsEvent> closeList = eventList.stream()

Loading…
Cancel
Save