package com.hzya.frame.sysnew.buttonConfig.dao.impl;

import com.hzya.frame.sysnew.buttonConfig.entity.SysButtonConfigEntity;
import com.hzya.frame.sysnew.buttonConfig.dao.ISysButtonConfigDao;
import com.hzya.frame.sysnew.menuConfig.entity.SysMenuConfigEntity;
import org.springframework.stereotype.Repository;
import com.hzya.frame.basedao.dao.MybatisGenericDao;

import java.util.List;

/**
 * 按钮配置表(SysButtonConfig)表数据库访问层
 *
 * @author makejava
 * @since 2024-03-26 15:23:01
 */
@Repository(value = "SysButtonConfigDaoImpl")
public class SysButtonConfigDaoImpl extends MybatisGenericDao<SysButtonConfigEntity, String> implements ISysButtonConfigDao{

    @Override
    public List<SysButtonConfigEntity> getUserButton(SysButtonConfigEntity entity) {
        List<SysButtonConfigEntity> o = super.query(getSqlIdPrifx() + "getUserButton", entity);
        return o;
    }
}

