| | |
| | | import com.panzhihua.common.model.vos.sanshuo.ComEventConciliationVO; |
| | | import com.panzhihua.common.model.vos.sanshuo.ComEventVO; |
| | | import com.panzhihua.common.model.vos.sanshuo.ComSanRequestVO; |
| | | import com.panzhihua.common.service.user.UserService; |
| | | import com.panzhihua.common.utlis.CopyUtil; |
| | | import com.panzhihua.common.utlis.StringUtils; |
| | | import com.panzhihua.service_community.entity.ComEvent; |
| | |
| | | |
| | | @Resource |
| | | private IComEventService comEventService; |
| | | @Resource |
| | | private UserService userService; |
| | | |
| | | |
| | | /** |
| | |
| | | public R page(@RequestBody ComEventVO comEventVO, Long pageNo, Long pageSize) { |
| | | Page pagination = new Page(pageNo, pageSize); |
| | | ComEvent comEvent = CopyUtil.copyProperties(comEventVO, ComEvent.class); |
| | | if (isNull(comEventVO.getAppId())){ |
| | | comEvent.setAppId(userService.detailUser(getLoginUserInfo().getUserId()).getData().getAppId()); |
| | | } |
| | | return comEventService.pageByComEvent(comEvent, pagination,this.getLoginUserInfo()); |
| | | } |
| | | |