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

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

import java.util.List;

/**
 * (SpecialBook)表数据库访问层
 *
 * @author makejava
 * @since 2020-09-16 13:43:43
 */
@Repository("specialBookDaoImpl")
public class SpecialBookDaoImpl extends BaseDaoImpl<SpecialBook> implements SpecialBookDao {

    @Override
    public List<SpecialBook> listByBookIds(List<Long> bookIds) {
        return getSessionTemplate().selectList(getStatement("listByBookIds"), bookIds);
    }
}