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

import com.ssj.bean.kmt.kmt.domain.KmtCourseRecord;
import com.ssj.dao.kmt.kmt.dao.KmtCourseRecordDao;
import com.ssj.framework.core.common.service.BaseServiceImpl;
import com.ssj.service.kmt.service.KmtCourseRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Transactional
@Service
public class KmtCourseRecordServiceImpl extends BaseServiceImpl<KmtCourseRecord, String> implements KmtCourseRecordService {

	@Autowired
	private KmtCourseRecordDao dao;
	
	@Override
	public PagingAndSortingRepository<KmtCourseRecord, String> getDao() {
		return dao;
	}

	@Override
	@Transactional
	public KmtCourseRecord findKmtCourseRecord(String courseKnowId) {
		return dao.findKmtCourseRecord(courseKnowId);
	}

	

}
