From c64da5152d32c366eecfb20b3fdc023be1d27681 Mon Sep 17 00:00:00 2001 From: tangxiaobao <303826152@qq.com> Date: 星期三, 14 七月 2021 15:26:19 +0800 Subject: [PATCH] Merge branch 'test' of http://gitlab.nhys.cdnhxx.com/root/zhihuishequ into txb --- springcloud_k8s_panzhihuazhihuishequ/service_grid/src/main/java/com/panzhihua/service_grid/service/impl/EventServiceImpl.java | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_grid/src/main/java/com/panzhihua/service_grid/service/impl/EventServiceImpl.java b/springcloud_k8s_panzhihuazhihuishequ/service_grid/src/main/java/com/panzhihua/service_grid/service/impl/EventServiceImpl.java index e8856c5..4d51dc6 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_grid/src/main/java/com/panzhihua/service_grid/service/impl/EventServiceImpl.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_grid/src/main/java/com/panzhihua/service_grid/service/impl/EventServiceImpl.java @@ -1021,6 +1021,7 @@ } EventDO eventDO = new EventDO(); BeanUtils.copyProperties(publicityEventAddDTO, eventDO); + eventDO.setHappenTime(publicityEventAddDTO.getPropagandaTime()); eventDO.setGridMemberId(publicityEventAddDTO.getUserId()); eventDO.setEventCategory(2l);//宣传事件 eventDO.setEventStatus(2);//事件状态 2发布 @@ -2281,6 +2282,9 @@ List<EventWorkVO> list = new ArrayList<>(); for(EventWorkVO eventWorkVO: listHalfYearByDyn()){ EventWorkVO result = this.eventMapper.countByTime(eventWorkVO.getStart(),eventWorkVO.getEnd(),communityId); + result.setEventTotal(result.getEventTotal() + result.getSspTotal()); + result.setEventAdd(result.getEventAdd() + result.getSspAdd()); + result.setEventSolve(result.getEventSolve() + result.getSspSolve()); result.setMonth(eventWorkVO.getMonth()); list.add(result); } -- Gitblit v1.7.1