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

import com.pcloud.book.book.dao.BookRaysClassifyDao;
import com.pcloud.book.book.entity.BookRaysClassify;
import com.pcloud.common.core.dao.BaseDaoImpl;

import org.springframework.stereotype.Repository;

@Repository("bookRaysClassifyDao")
public class BookRaysClassifyDaoImpl extends BaseDaoImpl<BookRaysClassify> implements BookRaysClassifyDao {

    @Override
    public Long getClassifyIdByBookTemplateId(Long bookTemplateId) {
        return this.getSqlSession().selectOne("getClassifyIdByBookTemplateId", bookTemplateId);
    }
}
