|
|
@@ -19,7 +19,7 @@ public interface AppVersionRepo extends JpaRepository<AppVersion, Long>, JpaSpec
|
|
|
|
|
|
Optional<AppVersion> findFirstByPlatformAndReviewFalseAndDelFalseOrderByVersionNumDesc(String platform);
|
|
|
|
|
|
- @Query(value = "select * from raex.app_version a where a.platform = ?1 and a.channel = ?2 and a.review = false and a.del = false " +
|
|
|
+ @Query(value = "select * from app_version a where a.platform = ?1 and a.channel = ?2 and a.review = false and a.del = false " +
|
|
|
"order by a.version_num desc",nativeQuery = true)
|
|
|
Optional<AppVersion> findLatest(String platform, String channel);
|
|
|
}
|