diff --git a/luoo_music/src/main/java/com/luoo/music/dao/JournalDao.java b/luoo_music/src/main/java/com/luoo/music/dao/JournalDao.java index 918a6aa..69561d0 100644 --- a/luoo_music/src/main/java/com/luoo/music/dao/JournalDao.java +++ b/luoo_music/src/main/java/com/luoo/music/dao/JournalDao.java @@ -25,7 +25,7 @@ public interface JournalDao extends JpaRepository,JpaSpecificati @Modifying @Transactional - @Query("UPDATE Journal j SET j.state = '1', j.pubTime = :pubTime WHERE j.id = :id") + @Query("UPDATE Journal j SET j.isPublish = '1', j.pubTime = :pubTime WHERE j.id = :id") int updatePubById(@Param("id") String id, @Param("pubTime") LocalDateTime pubTime);