|
@@ -42,5 +42,7 @@ public interface IdentityAuthRepo extends JpaRepository<IdentityAuth, Long>, Jpa
|
|
|
Page<Long> listUserId(Pageable pageable);
|
|
Page<Long> listUserId(Pageable pageable);
|
|
|
|
|
|
|
|
@Query("delete from IdentityAuth i where i.userId = ?1 and i.id <> ?2")
|
|
@Query("delete from IdentityAuth i where i.userId = ?1 and i.id <> ?2")
|
|
|
- List<Long> deleteDuplicated(Long userId, Long id);
|
|
|
|
|
|
|
+ @Modifying
|
|
|
|
|
+ @Transactional
|
|
|
|
|
+ void deleteDuplicated(Long userId, Long id);
|
|
|
}
|
|
}
|