package com.hzya.frame.grpU8.dictCheckType.dao.impl;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.hzya.frame.grpU8.dictAcctSubj.entity.DictAcctSubjEntity;
import com.hzya.frame.grpU8.dictAcctSubj.entity.DictAcctSubjEntityVo;
import com.hzya.frame.grpU8.dictCheckType.entity.DictCheckTypeEntity;
import com.hzya.frame.grpU8.dictCheckType.dao.IDictCheckTypeDao;
import com.hzya.frame.grpU8.dictCheckType.entity.DictCheckTypeEntityVo;
import org.springframework.stereotype.Repository;
import com.hzya.frame.basedao.dao.MybatisGenericDao;

import java.util.List;

/**
 * 子表(DictCheckType)表数据库访问层
 *
 * @author makejava
 * @since 2024-07-09 11:24:25
 */
@Repository(value = "DictCheckTypeDaoImpl")
public class DictCheckTypeDaoImpl extends MybatisGenericDao<DictCheckTypeEntity, String> implements IDictCheckTypeDao{

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

