package com.jwipc.supplier.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jwipc.supplier.entity.SupplierChangeVersion;
import com.jwipc.supplier.mapper.SupplierChangeVersionMapper;
import com.jwipc.supplier.model.query.SupplierChangeQuery;
import com.jwipc.supplier.service.ISupplierChangeVersionService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 供应商信息变更 主表 服务实现类
 * </p>
 *
 * @author ZhangJie
 * @since 2024-02-28
 */
@Service
public class SupplierChangeVersionServiceImpl extends ServiceImpl<SupplierChangeVersionMapper, SupplierChangeVersion> implements ISupplierChangeVersionService {

    @Override
    public List<SupplierChangeVersion> findList(Page<SupplierChangeVersion> page, SupplierChangeQuery query) {
        return this.baseMapper.findList(page, query);
    }

    @Override
    public List<SupplierChangeVersion> findListAll(Page<SupplierChangeVersion> page, SupplierChangeQuery query) {
        return this.baseMapper.findListAll(page, query);
    }

    @Override
    public List<SupplierChangeVersion> findExportListAll(SupplierChangeQuery supplierChangeQuery) {
        return this.baseMapper.findExportListAll(supplierChangeQuery);
    }
}
