package com.yeejoin.amos.patrol.business.dao.repository;

import com.yeejoin.amos.patrol.dao.entity.AppVersion;
import org.springframework.data.jpa.repository.Query;

public interface AppVersionDao extends BaseDao<AppVersion, Long>{

	@Query(value="SELECT * FROM p_app_version v ORDER BY v.id DESC LIMIT 0,1", nativeQuery = true)
	AppVersion findLastVersion();

}
