| | |
| | | package com.ruoyi.system.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.ruoyi.common.basic.PageInfo; |
| | | import com.ruoyi.system.mapper.TChildcareServicesMapper; |
| | | import com.ruoyi.system.model.TChildcareServices; |
| | | import com.ruoyi.system.query.TChildcareServicesQuery; |
| | | import com.ruoyi.system.service.TChildcareServicesService; |
| | | import com.ruoyi.system.vo.TChildcareServicesVO; |
| | | import com.ruoyi.system.vo.TPartyBuildingVO; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | @Service |
| | | public class TChildcareServicesServiceImpl extends ServiceImpl<TChildcareServicesMapper, TChildcareServices> implements TChildcareServicesService { |
| | | |
| | | @Override |
| | | public PageInfo<TChildcareServicesVO> pageList(TChildcareServicesQuery query) { |
| | | PageInfo<TChildcareServicesVO> pageInfo = new PageInfo<>(query.getPageNum(), query.getPageSize()); |
| | | List<TChildcareServicesVO> list = this.baseMapper.pageList(query,pageInfo); |
| | | pageInfo.setRecords(list); |
| | | return pageInfo; |
| | | } |
| | | } |