package com.jwipc.supplier.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jwipc.supplier.entity.SupplierAvl;
import com.jwipc.supplier.mapper.SupplierAvlMapper;
import com.jwipc.supplier.model.po.SupplierAvlSelectPO;
import com.jwipc.supplier.model.query.SupplierAvlQuery;
import com.jwipc.supplier.service.ISupplierAvlService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 供应商AVL清单 服务实现类
 * </p>
 *
 * @author dengjsh
 * @since 2024-03-15
 */
@Service
public class SupplierAvlServiceImpl extends ServiceImpl<SupplierAvlMapper, SupplierAvl> implements ISupplierAvlService {


    public List<SupplierAvlSelectPO> getListForSelect(Page<SupplierAvlSelectPO> page, SupplierAvlQuery query) {
        return this.baseMapper.getListForSelect(page,query);
    }

    public List<SupplierAvlSelectPO> getExportList(SupplierAvlQuery query) {
        return this.baseMapper.getList(query);
    }
}
