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

import cn.hutool.core.lang.Assert;
import com.baomidou.dynamic.datasource.annotation.DS;
import com.hzya.frame.u8c.Invmandoc.entity.BdInvmandocEntity;
import com.hzya.frame.u8c.Invmandoc.dao.IBdInvmandocDao;
import com.hzya.frame.basedao.dao.MybatisGenericDao;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * (BdInvmandoc)表数据库访问层
 *
 * @author makejava
 * @since 2023-08-25 11:21:44
 */
@Repository("serviceBdInvmandocDaoImpl")
public class BdInvmandocDaoImpl extends MybatisGenericDao<BdInvmandocEntity, String> implements IBdInvmandocDao {
    @DS("sowow_sqlserver_pro")
    @Override
    public  List<BdInvmandocEntity> queryBdInvmandocByInvcode(BdInvmandocEntity bdInvmandocEntity) throws Exception {
        return (List<BdInvmandocEntity>) selectList("com.hzya.frame.u8c.Invmandoc.dao.impl.BdInvmandocDaoImpl.queryBdInvmandocByInvcode", bdInvmandocEntity);
    }
}