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

import com.baomidou.dynamic.datasource.annotation.DS;
import com.hzya.frame.u9c.category.entity.VU9cCategoryEntity;
import com.hzya.frame.u9c.category.dao.IVU9cCategoryDao;
import org.springframework.stereotype.Repository;
import com.hzya.frame.basedao.dao.MybatisGenericDao;

import java.util.List;

/**
 * (VU9cCategory)表数据库访问层
 *
 * @author makejava
 * @since 2023-10-26 09:22:25
 */
@Repository("VU9cCategoryDaoImpl")
public class VU9cCategoryDaoImpl extends MybatisGenericDao<VU9cCategoryEntity, String> implements IVU9cCategoryDao{
    @DS("henghua_sqlserver_test_xel")
    @Override
    public List<VU9cCategoryEntity> getu9cCategory(VU9cCategoryEntity category) {
        return (List<VU9cCategoryEntity>) super.selectList("com.hzya.frame.u9c.category.dao.impl.VU9cCategoryDaoImpl.entity_list_base_category",category);
    }
    @DS("henghua_sqlserver_test_xel")
    @Override
    public int updateCategory(VU9cCategoryEntity itemmaster) {
        return super.update("com.hzya.frame.u9c.category.dao.impl.VU9cCategoryDaoImpl.entity_update_category",itemmaster);
    }
}

