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

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

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

}
