| | |
| | | import com.panzhihua.common.utlis.CopyUtil; |
| | | import com.panzhihua.common.utlis.StringUtils; |
| | | import com.panzhihua.service_community.entity.ComEvent; |
| | | import com.panzhihua.service_community.service.ComSanShuoExpertService; |
| | | import com.panzhihua.service_community.service.IComEventService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiImplicitParam; |
| | |
| | | private IComEventService comEventService; |
| | | @Resource |
| | | private UserService userService; |
| | | @Resource |
| | | private ComSanShuoExpertService comSanShuoExpertService; |
| | | |
| | | |
| | | /** |
| | |
| | | Page pagination = new Page(pageNo, pageSize); |
| | | ComEvent comEvent=new ComEvent(); |
| | | BeanUtils.copyProperties(comEventVO, comEvent); |
| | | log.info("==================参数vo"+comEventVO); |
| | | log.info("==================参数comEvent"+comEvent); |
| | | LoginUserInfoVO loginUserInfo = getLoginUserInfo(); |
| | | String appId = userService.detailUser(loginUserInfo.getUserId()).getData().getAppId(); |
| | | comEvent.setAppId(appId); |
| | | if (isNull(comEventVO.getAppId())){ |
| | | String appId = userService.detailUser(loginUserInfo.getUserId()).getData().getAppId(); |
| | | comEvent.setAppId(appId); |
| | | } |
| | | return comEventService.pageByComEvent(comEvent, pagination,this.getLoginUserInfo()); |
| | | } |
| | | |
| | |
| | | return comEventService.listCommunityScreen(); |
| | | } |
| | | |
| | | /** |
| | | * 获取事件范围筛选列表 |
| | | * */ |
| | | @GetMapping("/rangeList") |
| | | public R rangeList(){ |
| | | return comSanShuoExpertService.rangeList(); |
| | | } |
| | | |
| | | } |