xiongzhu 3 лет назад
Родитель
Сommit
0fadc761f0
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/main/java/com/izouma/nineth/repo/AppVersionRepo.java

+ 1 - 1
src/main/java/com/izouma/nineth/repo/AppVersionRepo.java

@@ -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);
 }