ouyang 3 éve
szülő
commit
e82b1f74e1

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

@@ -167,7 +167,7 @@ public interface CollectionRepo extends JpaRepository<Collection, Long>, JpaSpec
 
     @Transactional
     @Modifying
-    @Query("update Collection c set c.state = ?2 where c.id = ?1")
+    @Query("update Collection c set c.subscribeStatus = ?2 where c.id = ?1")
     @CacheEvict(value = "collection", key = "#id")
     void setState(Long id, String state);
 }