修改期刊发布

main
JH 10 months ago
parent f84f7047c4
commit 97e06eee83

@ -25,7 +25,7 @@ public interface JournalDao extends JpaRepository<Journal,String>,JpaSpecificati
@Modifying @Modifying
@Transactional @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, int updatePubById(@Param("id") String id,
@Param("pubTime") LocalDateTime pubTime); @Param("pubTime") LocalDateTime pubTime);

Loading…
Cancel
Save