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

import com.yeejoin.amos.supervision.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();

}
