package com.hzya.frame.u9c.salereceiver.dao.impl;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.hzya.frame.u9c.salereceiver.entity.VU9cSalereceiverDetailsEntity;
import com.hzya.frame.u9c.salereceiver.dao.IVU9cSalereceiverDetailsDao;
import org.springframework.stereotype.Repository;
import com.hzya.frame.basedao.dao.MybatisGenericDao;

import java.util.List;

/**
 * (VU9cSalereceiverDetails)表数据库访问层
 *
 * @author makejava
 * @since 2023-11-09 14:49:41
 */
@Repository("VU9cSalereceiverDetailsDaoImpl")
public class VU9cSalereceiverDetailsDaoImpl extends MybatisGenericDao<VU9cSalereceiverDetailsEntity, String> implements IVU9cSalereceiverDetailsDao{
    @DS("henghua_sqlserver_test_xel")
    @Override
    public List<VU9cSalereceiverDetailsEntity> getu9cSalereceiverDetails(VU9cSalereceiverDetailsEntity details) {
        return (List<VU9cSalereceiverDetailsEntity>) super.selectList("com.hzya.frame.u9c.salereceiver.dao.impl.VU9cSalereceiverDetailsEntityDaoImpl.VU9cSalereceiverDetailsEntity_list_base",details);
    }
    @DS("henghua_sqlserver_test_xel")
    @Override
    public int updateState(VU9cSalereceiverDetailsEntity d) {
        return super.update("com.hzya.frame.u9c.salereceiver.dao.impl.VU9cSalereceiverDetailsEntityDaoImpl.VU9cSalereceiverDetailsEntity_update",d);
    }
}

