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