From 7f8ec21b8627907cc193dcbaabdaffe55478eb0f Mon Sep 17 00:00:00 2001 From: lidongdong <1459917685@qq.com> Date: 星期一, 15 七月 2024 18:23:28 +0800 Subject: [PATCH] 花城 【小程序】机关单位服务页面,排行范围选择本社区,该页面没数据4 --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActNeighborCircleServiceImpl.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/ComActNeighborCircleServiceImpl.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActNeighborCircleServiceImpl.java index 6194a18..d715bc4 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActNeighborCircleServiceImpl.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActNeighborCircleServiceImpl.java @@ -1478,8 +1478,13 @@ for (NewFightNeedProblemClaim inventory : newFightNeedProblemInventories) { String taskId = inventory.getTaskId(); NewFightNeedProblemInventory newFightNeedProblemInventory = newFightNeedProblemInventoryMapper.selectById(taskId); - String award = newFightNeedProblemInventory.getAward(); - sumAward = Long.parseLong(award) + sumAward; + + if(newFightNeedProblemInventory!=null && !StringUtils.isEmpty(newFightNeedProblemInventory.getAward())) + { + String award = newFightNeedProblemInventory.getAward(); + sumAward = Long.parseLong(award) + sumAward; + } + } memberAnalysisVO.setPartyCount(sumAward); } -- Gitblit v1.7.1