| | |
| | | package com.ruoyi.other.service.impl; |
| | | |
| | | import com.ruoyi.common.core.web.page.PageInfo; |
| | | import com.ruoyi.other.api.domain.TInvoiceType; |
| | | import com.ruoyi.other.mapper.TInvoiceTypeMapper; |
| | | import com.ruoyi.other.query.InvoiceTypePageList; |
| | | import com.ruoyi.other.service.TInvoiceTypeService; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | */ |
| | | @Service |
| | | public class TInvoiceTypeServiceImpl extends ServiceImpl<TInvoiceTypeMapper, TInvoiceType> implements TInvoiceTypeService { |
| | | |
| | | |
| | | |
| | | /** |
| | | * 获取发票类型列表数据 |
| | | * @param pageList |
| | | * @return |
| | | */ |
| | | @Override |
| | | public PageInfo<TInvoiceType> pageList(InvoiceTypePageList pageList) { |
| | | PageInfo<TInvoiceType> pageInfo = new PageInfo<>(pageList.getPageCurr(), pageList.getPageSize()); |
| | | List<TInvoiceType> list = this.baseMapper.pageList(pageInfo, pageList); |
| | | pageInfo.setRecords(list); |
| | | return pageInfo; |
| | | } |
| | | } |