From 97e06eee83272edc5702b480703b650aed534c3b Mon Sep 17 00:00:00 2001 From: JH <935007339@qq.com> Date: Tue, 30 Jan 2024 22:46:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=9C=9F=E5=88=8A=E5=8F=91?= =?UTF-8?q?=E5=B8=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- luoo_music/src/main/java/com/luoo/music/dao/JournalDao.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);