package com.jwipc.supplier.service.impl;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.jwipc.supplier.entity.BankInfo;
import com.jwipc.supplier.entity.CustomerInfo;
import com.jwipc.supplier.mapper.BankInfoMapper;
import com.jwipc.supplier.service.IBankInfoService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

import static com.jwipc.constant.DbTypeConst.SQLSERVER;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author qizhicai
 * @since 2024-05-10
 */
@Service
@DS(SQLSERVER)
public class BankInfoServiceImpl extends ServiceImpl<BankInfoMapper, BankInfo> implements IBankInfoService {

    @Override
    public Integer findCount(LambdaQueryWrapper<BankInfo> queryWrapper) {
        return this.baseMapper.findCount(queryWrapper);
    }

    @Override
    public List<BankInfo> findListForPage(Integer offset, Integer rows, LambdaQueryWrapper<BankInfo> queryWrapper) {
        return this.baseMapper.findListForPage(offset,rows,queryWrapper);
    }
}
