springcloud_k8s_panzhihuazhihuishequ/community_backstage/src/main/java/com/panzhihua/community_backstage/api/BigScreenStatisticsApi.java
@@ -170,14 +170,19 @@ @ApiOperation(value = "事件大屏事件列表接口@lyq", response = EventListVO.class) @PostMapping("/civil/list") public R eventList(@RequestBody ScreenEventListDTO eventListDTO) { // if(eventListDTO.getCommunityId() == null){ // return R.fail("参数错误"); // } Long id = this.getCommunityId(); if (id == null) { return R.fail(401, "请先登录"); // if(eventListDTO.getCommunityId() == null){ // return R.fail("参数错误"); // } // Long id = this.getCommunityId(); // if (id == null) { // return R.fail(401, "请先登录"); // } // eventListDTO.setCommunityId(id); if(eventListDTO.getCommunityId()==2) { eventListDTO.setCommunityId(null); } eventListDTO.setCommunityId(id); return gridService.getScreenEventList(eventListDTO); } springcloud_k8s_panzhihuazhihuishequ/service_jinhui_community/src/main/java/com/panzhihua/service_jinhui_community/service/impl/JinhuiInterspaceTypeServiceImpl.java
@@ -4,12 +4,9 @@ import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.panzhihua.common.model.vos.R; import com.panzhihua.common.model.vos.jinhui.JinhuiInterspaceTypeVO; import com.panzhihua.common.model.vos.jinhui.JinhuiInterspaceVO; import com.panzhihua.service_jinhui_community.dao.JinhuiInterspaceDao; import com.panzhihua.service_jinhui_community.dao.JinhuiInterspaceTypeDao; import com.panzhihua.service_jinhui_community.entity.JinhuiInterspace; import com.panzhihua.service_jinhui_community.entity.JinhuiInterspaceType; import com.panzhihua.service_jinhui_community.service.JinhuiInterspaceService; import com.panzhihua.service_jinhui_community.service.JinhuiInterspaceTypeService; import lombok.extern.slf4j.Slf4j; import org.springframework.stereotype.Service;