From d70f4c1ceed4a967613850ab530ee2b8edd4f3dc Mon Sep 17 00:00:00 2001 From: puhanshu <a9236326> Date: 星期四, 06 一月 2022 10:21:58 +0800 Subject: [PATCH] 大屏修改-3133 --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComMngPopulationServiceImpl.java | 9 +++++++-- 1 files changed, 7 insertions(+), 2 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 bb8e3bc..32795fd 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 @@ -7408,8 +7408,13 @@ public R getScreenEventDetail(BigScreenEventDetailDTO eventDetailDTO) { EventNewStatisticsVO statisticsVO = new EventNewStatisticsVO(); Integer eventType = eventDetailDTO.getEventType(); - if (eventDetailDTO.getType().equals(7) || (nonNull(eventType) && eventType.equals(2))) {// 随手拍详情 - statisticsVO = this.baseMapper.getEventScreenSSPDateil(eventDetailDTO.getEventId()); + boolean isNewReq = nonNull(eventType) && eventType.equals(2); + if (eventDetailDTO.getType().equals(7) || isNewReq) {// 随手拍详情 + if (isNewReq) { + statisticsVO = this.baseMapper.getEventScreenSSPDateilNew(eventDetailDTO.getEventId()); + } else { + statisticsVO = this.baseMapper.getEventScreenSSPDateil(eventDetailDTO.getEventId()); + } if (statisticsVO != null && StringUtils.isNotEmpty(statisticsVO.getPhotoPathList())) { statisticsVO.setDangerLevel("0"); statisticsVO.setMajor(false); -- Gitblit v1.7.1