public interface UserRepository extends JpaRepository<User, Long> { } ... 上面使用 @Query 注解,如涉及到刪除和修改在需要加上 @Modifying .
確定! 回上一頁