| | |
| | | package com.jilongda.manage.service.impl; |
| | | |
| | | import com.jilongda.common.basic.PageInfo; |
| | | import com.jilongda.manage.model.SecSetting; |
| | | import com.jilongda.manage.model.TInventory; |
| | | import com.jilongda.manage.mapper.TInventoryMapper; |
| | | import com.jilongda.manage.query.TInventoryQuery; |
| | | import com.jilongda.manage.service.TInventoryService; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.jilongda.manage.vo.TInventoryVO; |
| | | import com.jilongda.manage.vo.TLensGoodsVO; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | @Service |
| | | public class TInventoryServiceImpl extends ServiceImpl<TInventoryMapper, TInventory> implements TInventoryService { |
| | | |
| | | @Override |
| | | public PageInfo<TInventoryVO> pageList(TInventoryQuery query) { |
| | | PageInfo<TInventoryVO> pageInfo = new PageInfo<>(query.getPageNum(), query.getPageSize()); |
| | | List<TInventoryVO> list = this.baseMapper.pageList(query, pageInfo); |
| | | pageInfo.setRecords(list); |
| | | return pageInfo; |
| | | } |
| | | } |