|
|
@@ -17,10 +17,10 @@ public interface SubscribeRepo extends JpaRepository<Subscribe, Long>, JpaSpecif
|
|
|
@Transactional
|
|
|
void softDelete(Long id);
|
|
|
|
|
|
- @Query("select s.id, s.collectionId, s.userId, s.purchaseQualifications from Subscribe s where s.collectionId =?1")
|
|
|
+// @Query("select s.id, s.collectionId, s.userId, s.purchaseQualifications from Subscribe s where s.collectionId =?1")
|
|
|
List<Subscribe> findAllByCollectionId(Long collectionId);
|
|
|
|
|
|
- @Query("select s.id, s.collectionId, s.userId, s.purchaseQualifications from Subscribe s where s.collectionId =?1 and s.userId = ?2")
|
|
|
+// @Query("select s.id, s.collectionId, s.userId, s.purchaseQualifications from Subscribe s where s.collectionId =?1 and s.userId = ?2")
|
|
|
Subscribe findAllByCollectionIdAndUserId(Long collectionId , Long userId);
|
|
|
|
|
|
@Transactional
|