package com.xinyuan.pub.business.bi.dao.impl;

import com.xinyuan.pub.business.bi.dao.BiHrPersonCntDao;
import com.xinyuan.pub.dao.BiBaseDao;
import com.xinyuan.pub.model.business.bi.po.BiHrPersonCnt;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author liangyongjian
 * @desc 人员学历结构数据表 Dao层实现类
 * @create 2018-06-22 21:26
 **/
@Repository("biHrPersonCntDao")
public class BiHrPersonCntDaoImpl extends BiBaseDao implements BiHrPersonCntDao {

    private static final Logger LOGGER = LoggerFactory.getLogger(BiHrPersonCntDaoImpl.class);

    @Override
    public List<BiHrPersonCnt> getAllBiHrPersonCntInfo() {
        LOGGER.debug("Dao层：获取全部原始人员学历结构数据信息");
        return getReadSqlSession().selectList("biHrPersonCntDao.selectAllBiHrPersonCntInfo");
    }
}
