| | |
| | | package com.jilongda.manage.service.impl; |
| | | |
| | | import com.jilongda.common.basic.PageInfo; |
| | | import com.jilongda.manage.model.TBrand; |
| | | import com.jilongda.manage.mapper.TBrandMapper; |
| | | import com.jilongda.manage.query.TBrandQuery; |
| | | import com.jilongda.manage.service.TBrandService; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.jilongda.manage.vo.TBrandVO; |
| | | import com.jilongda.manage.vo.TStoreVO; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | @Service |
| | | public class TBrandServiceImpl extends ServiceImpl<TBrandMapper, TBrand> implements TBrandService { |
| | | |
| | | @Override |
| | | public PageInfo<TBrandVO> pageList(TBrandQuery query) { |
| | | PageInfo<TBrandVO> pageInfo = new PageInfo<>(query.getPageNum(), query.getPageSize()); |
| | | List<TBrandVO> list = this.baseMapper.pageList(query,pageInfo); |
| | | pageInfo.setRecords(list); |
| | | return pageInfo; |
| | | } |
| | | } |