| | |
| | | import com.panzhihua.common.model.dtos.property.CommonPage; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.community.social.SocialProjectVO; |
| | | import com.panzhihua.service_community.dao.ComActDAO; |
| | | import com.panzhihua.service_community.entity.ComActSocialProject; |
| | | import com.panzhihua.service_community.dao.ComActSocialProjectDao; |
| | | import com.panzhihua.service_community.entity.ProjectRelationVO; |
| | | import com.panzhihua.service_community.model.dos.ComActDO; |
| | | import com.panzhihua.service_community.service.ComActSocialProjectService; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.beans.BeanUtils; |
| | |
| | | |
| | | @Resource |
| | | private ComActSocialProjectDao comActSocialProjectDao; |
| | | @Resource |
| | | private ComActDAO comActDAO; |
| | | @Override |
| | | public R pageList(CommonPage commonPage) { |
| | | if(commonPage.getParamId2()!=null){ |
| | | ComActDO comActDO=comActDAO.selectById(commonPage.getCommunityId()); |
| | | if(comActDO!=null){ |
| | | commonPage.setStreetId(comActDO.getStreetId()); |
| | | } |
| | | } |
| | | return R.ok(comActSocialProjectDao.pageList(new Page(commonPage.getPage(),commonPage.getSize()),commonPage)); |
| | | } |
| | | |