From 00a59b93c16b24e7be77c6f1ce4866c75a2e0431 Mon Sep 17 00:00:00 2001
From: 101captain <237651143@qq.com>
Date: 星期二, 19 四月 2022 16:32:21 +0800
Subject: [PATCH] 花城E+防疫修改

---
 springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActNeighborCircleServiceImpl.java |    4 +++-
 1 files changed, 3 insertions(+), 1 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 6aace56..c70462f 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
@@ -307,6 +307,7 @@
         comActNeighborCircleDO.setLastCommentNum(0);
         comActNeighborCircleDO.setLastFabulousNum(0);
         comActNeighborCircleDO.setLastViewsNum(0);
+        comActNeighborCircleDO.setBelongType(addVO.getBelongType());
         this.baseMapper.insert(comActNeighborCircleDO);
         return R.ok();
     }
@@ -341,7 +342,7 @@
     public R neighborExamineByApp(ComActNeighborCircleAppDTO neighborCircleAppDTO) {
         IPage<ComActNeighborCircleAppVO> neighborCircleIPage = this.baseMapper.neighborExamineByApp(
             new Page<>(neighborCircleAppDTO.getPageNum(), neighborCircleAppDTO.getPageSize()),
-            neighborCircleAppDTO.getUserId());
+            neighborCircleAppDTO.getUserId(),neighborCircleAppDTO.getBelongType());
         if (!neighborCircleIPage.getRecords().isEmpty()) {
             for (ComActNeighborCircleAppVO circleAppVO : neighborCircleIPage.getRecords()) {
                 // 查询点赞信息
@@ -665,6 +666,7 @@
         DetailNeighborCircleAdminVO vo = new DetailNeighborCircleAdminVO();
         BeanUtils.copyProperties(comActNeighborCircleDO, vo);
         vo.setReleaseName(user.getName());
+        vo.setImageUrl(user.getImageUrl());
 
         // 查询话题名称
         if (comActNeighborCircleDO.getTopicId() != null) {

--
Gitblit v1.7.1