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

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

import java.util.List;


@Transactional
@Service
public class KmtLogServiceImpl extends BaseServiceImpl<KmtLog, String> implements KmtLogService {
	@Autowired
	private KmtLogDao dao;
	
	@Override
	public PagingAndSortingRepository<KmtLog, String> getDao() {
		return dao;
	}

	@Override
	public List<KmtLog> findKmtLog(Integer page, Integer pageSize) {
		return dao.findKmtLog(page, pageSize);
	}


}
