xiongzhu 3 жил өмнө
parent
commit
96f47afab9

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