| | |
| | | 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.TLocationTypeMapper; |
| | | import com.ruoyi.system.model.TLocationType; |
| | | import com.ruoyi.system.query.LocationTypeListQuery; |
| | | import com.ruoyi.system.service.TLocationTypeService; |
| | | import com.ruoyi.system.vo.system.LocationTypeListVO; |
| | | import com.ruoyi.system.vo.system.ProjectDeptListVO; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | @Service |
| | | public class TLocationTypeServiceImpl extends ServiceImpl<TLocationTypeMapper, TLocationType> implements TLocationTypeService { |
| | | |
| | | @Override |
| | | public PageInfo<LocationTypeListVO> pageList(LocationTypeListQuery query) { |
| | | PageInfo<LocationTypeListVO> pageInfo = new PageInfo<>(query.getPageNum(), query.getPageSize()); |
| | | List<LocationTypeListVO> list = this.baseMapper.pageList(query,pageInfo); |
| | | pageInfo.setRecords(list); |
| | | return pageInfo; |
| | | } |
| | | } |