From 6ede55d8b2c40d132167b60eedffb49030012620 Mon Sep 17 00:00:00 2001 From: puhanshu <a9236326> Date: 星期五, 10 十二月 2021 14:06:00 +0800 Subject: [PATCH] 大屏相关代码提交 --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComMngPopulationServiceImpl.java | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComMngPopulationServiceImpl.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComMngPopulationServiceImpl.java index d37eee9..781ab6d 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComMngPopulationServiceImpl.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComMngPopulationServiceImpl.java @@ -63,6 +63,8 @@ import lombok.extern.slf4j.Slf4j; import org.springframework.web.bind.annotation.RequestParam; +import static java.util.Objects.nonNull; + /** * 实有人口Service实现类 */ @@ -7339,7 +7341,8 @@ @Override public R getScreenEventDetail(BigScreenEventDetailDTO eventDetailDTO) { EventNewStatisticsVO statisticsVO = new EventNewStatisticsVO(); - if (eventDetailDTO.getType().equals(7)) {// 随手拍详情 + Integer eventType = eventDetailDTO.getEventType(); + if (eventDetailDTO.getType().equals(7) || (nonNull(eventType) && eventType.equals(2))) {// 随手拍详情 statisticsVO = this.baseMapper.getEventScreenSSPDateil(eventDetailDTO.getEventId()); if (statisticsVO != null && StringUtils.isNotEmpty(statisticsVO.getPhotoPathList())) { statisticsVO.setDangerLevel("0"); -- Gitblit v1.7.1