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

import cn.ezhizao.project.business.socialSecurity.domain.BizSocialSecurityDeclare;
import cn.ezhizao.project.business.socialSecurity.mapper.BizSocialSecurityDeclareMapper;
import cn.ezhizao.project.business.socialSecurity.service.IBizSocialSecurityDeclareService;
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;

/**
 * @author 周晓
 */

@Service
public class BizSocialSecurityDeclareServiceImpl extends ServiceImpl<BizSocialSecurityDeclareMapper, BizSocialSecurityDeclare> implements IBizSocialSecurityDeclareService {

    @Resource
    BizSocialSecurityDeclareMapper financialSocialSecurityDeclareDao;

    @Override
    public List<BizSocialSecurityDeclare> getList(Map<String,Object> conditions) {
        return financialSocialSecurityDeclareDao.getList(conditions);
    }

    @Override
    public List<BizSocialSecurityDeclare> getListByBean(BizSocialSecurityDeclare financialSocialSecurityDeclare) {
        return financialSocialSecurityDeclareDao.getList(financialSocialSecurityDeclare);
    }

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