package com.hzya.frame.plugin.lets.dao.impl;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.hzya.frame.basedao.dao.MybatisGenericDao;
import com.hzya.frame.plugin.lets.constant.ProfilesActiveConstant;
import com.hzya.frame.plugin.lets.dao.IIcGeneralBDao;
import com.hzya.frame.plugin.lets.entity.IcGeneralBEntity;

import java.util.List;

/**
 * (IcGeneralB)表数据库访问层
 *
 * @author makejava
 * @since 2023-09-05 08:36:01
 */
public class IcGeneralBDaoImpl extends MybatisGenericDao<IcGeneralBEntity, String> implements IIcGeneralBDao{

    @Override
    public List<IcGeneralBEntity> queryByCgeneralhid(String cgeneralhid) {
        return query("com.hzya.frame.plugin.lets.dao.impl.IcGeneralBDaoImpl.queryByCgeneralhid",cgeneralhid);
    }
    @DS(ProfilesActiveConstant.LETS_DATE_SOURCE)
    @Override
    public List<IcGeneralBEntity> queryAndCinvbasCode(String cgeneralhid) {
        return (List<IcGeneralBEntity>)selectList("com.hzya.frame.plugin.lets.dao.impl.IcGeneralBDaoImpl.queryAndCinvbasCode",cgeneralhid);
    }
}

