package cn.ezhizao.project.business.account.service.impl;

import java.util.List;
import javax.annotation.Resource;

import cn.ezhizao.project.business.account.domain.BizAccount;
import cn.ezhizao.project.business.account.mapper.BizAccountMapper;
import cn.ezhizao.project.business.account.service.IBizAccountService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;


/**
 * 银行账户Service业务层处理
 *
 * @author ruoyi
 * @date 2023-11-01
 */
@Service
public class BizAccountServiceImpl  extends ServiceImpl<BizAccountMapper, BizAccount> implements IBizAccountService
{
    @Resource
    private BizAccountMapper bizAccountMapper;

    /**
     * 查询银行账户列表
     *
     * @param bizAccount 银行账户
     * @return 银行账户
     */
    @Override
    public List<BizAccount> getList(BizAccount bizAccount)
    {
        return bizAccountMapper.getList(bizAccount);
    }

    /**
     * 物理删除
     * @param bizAccount
     * @return 删除结果
     */
    @Override
    public int physicalDelete(BizAccount bizAccount){ return bizAccountMapper.physicalDelete(bizAccount); };

}
