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

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

import org.springframework.transaction.annotation.Transactional;

@Transactional
@Service(version ="1.0")
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);
	}

	

}
