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


import com.alibaba.dubbo.config.annotation.Service;
import com.ssj.bean.kmt.kmt.domain.KmtAiRecord;
import com.ssj.framework.core.common.service.BaseServiceImpl;
import com.ssj.dao.kmt.kmt.dao.KmtAiRecordDao;
import com.ssj.dao.kmt.kmt.dao.KmtQueryDao;
import com.ssj.service.kmt.service.KmtAiRecordService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;


	
@Transactional
@Service(version ="1.0")
public class KmtAiRecordServiceImpl extends BaseServiceImpl<KmtAiRecord, String> implements KmtAiRecordService {
	
	@Autowired
	private KmtAiRecordDao dao;
	
	@Autowired
	private KmtQueryDao queryDao;

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

	@Override
	@Transactional(propagation = Propagation.NOT_SUPPORTED)
	public List<String> findKmtAiRecordByFileName() {
		return queryDao.findKmtAiRecordByFileName();
	}

	
}
