package com.ssj.dao.kmt.kmt.dao;

import com.ssj.bean.kmt.kmt.domain.KmtLog;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
public interface KmtLogDao extends JpaRepository<KmtLog, String>{
	
	@Query(nativeQuery = true, value = " SELECT * FROM `kmt_log` t ORDER BY t.create_time DESC LIMIT ?1,?2 ")
	List<KmtLog> findKmtLog(Integer page, Integer pageSize);
	

}
