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

import org.springframework.data.jpa.repository.Query;

import com.yeejoin.amos.supervision.dao.entity.AppVersion;

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();

}
