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

import cn.ezhizao.project.business.keepAccounts.domain.BizFinancialKeepAccount;
import cn.ezhizao.project.business.keepAccounts.mapper.BizFinancialKeepAccountMapper;
import cn.ezhizao.project.business.keepAccounts.service.IBizFinancialKeepAccountService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

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

@Service
public class BizFinancialKeepAccountServiceImpl extends ServiceImpl<BizFinancialKeepAccountMapper, BizFinancialKeepAccount> implements IBizFinancialKeepAccountService {
    @Resource
    BizFinancialKeepAccountMapper financialKeepAccountDao;

    @Override
    public List<BizFinancialKeepAccount> getList(BizFinancialKeepAccount conditions) {
        return financialKeepAccountDao.getList(conditions);
    }

    @Override
    public Integer getTotal(Map<String, Object> conditions) {
        return financialKeepAccountDao.getTotal(conditions);
    }
}
