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

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

import java.util.List;

/**
 * (VU9cSalereceiver)表数据库访问层
 *
 * @author makejava
 * @since 2023-10-26 11:32:06
 */
@Repository("VU9cSalereceiverDaoImpl")
public class VU9cSalereceiverDaoImpl extends MybatisGenericDao<VU9cSalereceiverEntity, String> implements IVU9cSalereceiverDao{
    @DS("henghua_sqlserver_test_xel")
    @Override
    public List<VU9cSalereceiverEntity> getu9cSalereceiver(VU9cSalereceiverEntity category) {
        return (List<VU9cSalereceiverEntity>) super.selectList("com.hzya.frame.u9c.salereceiver.dao.impl.VU9cSalereceiverEntityDaoImpl.VU9cSalereceiverEntity_list_base",category);
    }
    @DS("henghua_sqlserver_test_xel")
    @Override
    public int updateState(VU9cSalereceiverEntity itemmaster) {
        return super.update("com.hzya.frame.u9c.salereceiver.dao.impl.VU9cSalereceiverEntityDaoImpl.VU9cSalereceiverEntity_update",itemmaster);
    }
    @DS("henghua_sqlserver_test_xel")
    @Override
    public List<VU9cSalereceiverEntity> getu9cSalereceiverForDelete(VU9cSalereceiverEntity category) {
        return (List<VU9cSalereceiverEntity>) super.selectList("com.hzya.frame.u9c.salereceiver.dao.impl.VU9cSalereceiverEntityDaoImpl.VU9cSalereceiverEntity_list_base_for_delete",category);
    }
    @DS("henghua_sqlserver_test_xel")
    @Override
    public int updateStateForDelete(VU9cSalereceiverEntity itemmaster) {
        return super.update("com.hzya.frame.u9c.salereceiver.dao.impl.VU9cSalereceiverEntityDaoImpl.VU9cSalereceiverEntity_update_for_delete",itemmaster);
    }
}

