package com.jwipc.supplier.service.impl;

import com.jwipc.supplier.clent.dto.SupplierBankDTO;
import com.jwipc.supplier.entity.SupplierBank;
import com.jwipc.supplier.mapper.SupplierBankMapper;
import com.jwipc.supplier.model.po.SupplierBankDMPO;
import com.jwipc.supplier.model.po.SupplierBankSendPO;
import com.jwipc.supplier.model.query.SupplierPurchaseCategoryBaseQuery;
import com.jwipc.supplier.service.ISupplierBankService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 供应商银行信息 服务实现类
 * </p>
 *
 * @author ZhangJie
 * @since 2024-02-05
 */
@Service
public class SupplierBankServiceImpl extends ServiceImpl<SupplierBankMapper, SupplierBank> implements ISupplierBankService {

    @Override
    public List<SupplierBank> findSupplierBankData(String supplierId) {
        return baseMapper.findSupplierBankData(supplierId);
    }

    @Override
    public List<SupplierBankDMPO> findForBankdmReportExport(SupplierPurchaseCategoryBaseQuery query) {
        return baseMapper.findForBankdmReportExport(query);
    }

    @Override
    public List<SupplierBankSendPO> findSupplierBankDatas(List<Long> ids) {
        return baseMapper.findSupplierBankDatas(ids);

    }
}
