package com.hzya.frame.u8c.Encapsulation.dao.impl;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.hzya.frame.basedao.dao.MybatisGenericDao;
import com.hzya.frame.grpU8.dictAcctSubj.entity.DictAcctSubjEntity;
import com.hzya.frame.grpU8.dictAcctSubj.entity.DictAcctSubjEntityVo;
import com.hzya.frame.u8c.Encapsulation.dao.IEncapsulationDao;
import com.hzya.frame.u8c.Encapsulation.entity.EncapsulationEntity;
import org.springframework.stereotype.Repository;

import java.util.List;


/**
 * (BdCorp)表数据库访问层
 *
 * @author makejava
 * @since 2023-09-06 14:47:17
 */
@Repository("encapsulationDaoImpl")
public class EncapsulationDaoImpl extends MybatisGenericDao<EncapsulationEntity, String> implements IEncapsulationDao {

    @DS("#entity.dataSourceCode")
    @Override
    public List<EncapsulationEntity> queryCgrkddh(EncapsulationEntity entity) {
        List<EncapsulationEntity> o = (List<EncapsulationEntity>) super.selectList(getSqlIdPrifx() + "queryCgrkddh", entity);
        return o;
    }


}

