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

import com.pcloud.book.applet.dao.BuyBookRequestDao;
import com.pcloud.book.applet.entity.BuyBookRequest;
import com.pcloud.common.core.dao.BaseDaoImpl;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * (BuyBookRequest)表数据库访问层
 *
 * @author makejava
 * @since 2020-10-14 19:51:40
 */
@Repository("buyBookRequestDaoImpl")
public class BuyBookRequestDaoImpl extends BaseDaoImpl<BuyBookRequest> implements BuyBookRequestDao {

    @Override
    public List<BuyBookRequest> getUserCount() {
        return getSessionTemplate().selectList(getStatement("getUserCount"));
    }
}