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

import com.baomidou.dynamic.datasource.annotation.DS;
import com.hzya.frame.grpU8.acctVouchInfo.entity.AcctVouchInfoEntity;
import com.hzya.frame.grpU8.acctVouchInfo.entity.AcctVouchInfoEntityVo;
import com.hzya.frame.grpU8.dictAcctSubj.entity.DictAcctSubjEntity;
import com.hzya.frame.grpU8.dictAcctSubj.dao.IDictAcctSubjDao;
import com.hzya.frame.grpU8.dictAcctSubj.entity.DictAcctSubjEntityVo;
import org.springframework.stereotype.Repository;
import com.hzya.frame.basedao.dao.MybatisGenericDao;

import java.util.List;

/**
 * 子表(DictAcctSubj)表数据库访问层
 *
 * @author makejava
 * @since 2024-07-09 11:23:36
 */
@Repository(value = "DictAcctSubjDaoImpl")
public class DictAcctSubjDaoImpl extends MybatisGenericDao<DictAcctSubjEntity, String> implements IDictAcctSubjDao{
    @DS("#entity.dataSourceCode")
    @Override
    public List<DictAcctSubjEntityVo> queryData(DictAcctSubjEntity entity) {
        List<DictAcctSubjEntityVo> o = (List<DictAcctSubjEntityVo>) super.selectList(getSqlIdPrifx() + "queryData", entity);
        return o;
    }

}

