package com.ssj.service.kmt.kmt.service.impl;

import com.ssj.bean.kmt.kmt.domain.KmtCourseKnowTemplate;
import com.ssj.dao.kmt.kmt.dao.KmtCourseKnowTemplateDao;
import com.ssj.framework.core.common.service.BaseServiceImpl;
import com.ssj.service.kmt.service.KmtCourseKnowTemplateService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.stereotype.Service;

@Service
public class KmtCourseKnowTemplateServiceImpl extends BaseServiceImpl<KmtCourseKnowTemplate, String> implements KmtCourseKnowTemplateService {
    @Autowired
    private KmtCourseKnowTemplateDao dao;

    @Override
    public PagingAndSortingRepository<KmtCourseKnowTemplate, String> getDao() {
        return dao;
    }

    @Override
    public KmtCourseKnowTemplate findByCourseKnowId(String courseKnowId) {
        return dao.findByCourseKnowId(courseKnowId);
    }
}
