package com.pcloud.book.group.dao.impl;

import com.pcloud.book.group.dao.ResourcePageToolDao;
import com.pcloud.book.group.entity.ResourcePageTool;
import com.pcloud.common.core.dao.BaseDaoImpl;

import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @ClassName com.pcloud.book.group.dao.impl.ResourcePageToolDaoImpl
 * @Author zhuyajie
 * @Description H5工具
 * @Date 2021/5/12 17:38
 * @Version 1.0
 **/
@Component
public class ResourcePageToolDaoImpl extends BaseDaoImpl<ResourcePageTool> implements ResourcePageToolDao{


    @Override
    public List<ResourcePageTool> getByUserLabel(Long userGradeLabelId) {
        return getSessionTemplate().selectList(getStatement("getByUserLabel"), userGradeLabelId);
    }
}
