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

import com.baomidou.dynamic.datasource.annotation.DS;
import com.hzya.frame.mdm.mdmModule.entity.MdmModuleEntity;
import com.hzya.frame.grpU8.acctVouchInfo.entity.AcctVouchInfoEntity;
import com.hzya.frame.grpU8.acctVouchInfo.dao.IAcctVouchInfoDao;
import com.hzya.frame.grpU8.acctVouchInfo.entity.AcctVouchInfoEntityVo;
import org.springframework.stereotype.Repository;
import com.hzya.frame.basedao.dao.MybatisGenericDao;

import java.util.List;

/**
 * 子表(AcctVouchInfo)表数据库访问层
 *
 * @author makejava
 * @since 2024-07-09 11:25:15
 */
@Repository(value = "AcctVouchInfoDaoImpl")
public class AcctVouchInfoDaoImpl extends MybatisGenericDao<AcctVouchInfoEntity, String> implements IAcctVouchInfoDao {

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


}

