xiongzhu 4 éve
szülő
commit
1bc542442a

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

@@ -159,7 +159,7 @@ public interface CollectionRepo extends JpaRepository<Collection, Long>, JpaSpec
 
     List<Collection> findAllByNameLike(String name);
 
-    @Query(value = "select min(c.price) from collection_info c where c.name like 'MUGEN%' " +
+    @Query(value = "select min(c.price) from collection_info c where c.name like ?1 " +
             "and c.source = 'TRANSFER' " +
             "and c.salable = true " +
             "and c.stock > 0 ", nativeQuery = true)