| | |
| | | import org.springframework.stereotype.Service; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 物业公司 服务实现类 |
| | | * |
| | |
| | | @Service |
| | | public class PropertyCompanyServiceImpl extends ServiceImpl<PropertyCompanyMapper, PropertyCompanyEntity> implements IPropertyCompanyService { |
| | | |
| | | /** |
| | | * 自定义分页 |
| | | * |
| | | * @param page |
| | | * @param propertyCompany |
| | | * @return |
| | | */ |
| | | @Override |
| | | public IPage<PropertyCompanyVO> selectPropertyCompanyPage(IPage<PropertyCompanyVO> page, PropertyCompanyVO propertyCompany) { |
| | | return page.setRecords(baseMapper.selectPropertyCompanyPage(page, propertyCompany)); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 物业公司列表查询(不分页) |
| | | * @param propertyCompany |
| | | * @return |
| | | */ |
| | | @Override |
| | | public List<PropertyCompanyVO> getPropertyCompanyList(PropertyCompanyVO propertyCompany) { |
| | | return baseMapper.getPropertyCompanyList(propertyCompany); |
| | | } |
| | | } |