Commit 2011ee1c authored by xuepeng.chang's avatar xuepeng.chang

添加 @Transactional,奇怪之前为啥可以,现在就必须加

parent f33d445e
...@@ -54,5 +54,6 @@ public interface IUserRepository extends JpaRepository<User, Long>, JpaSpecifica ...@@ -54,5 +54,6 @@ public interface IUserRepository extends JpaRepository<User, Long>, JpaSpecifica
* *
* @param userId 用户id * @param userId 用户id
*/ */
@Transactional
void deleteByIdAndTenantId(Long userId,Integer tenantId); void deleteByIdAndTenantId(Long userId,Integer tenantId);
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment