mirror of https://gitee.com/stylefeng/roses
【7.6.0】【sys】【user】更新删除用户的回调方法
parent
9f5a6a2a2c
commit
fd44b6d1a0
|
@ -0,0 +1,33 @@
|
|||
package cn.stylefeng.roses.kernel.sys.api.callback;
|
||||
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
* 删除用户的回调方法
|
||||
*
|
||||
* @author fengshuonan
|
||||
* @since 2023/6/11 22:36
|
||||
*/
|
||||
public interface RemoveUserCallbackApi {
|
||||
|
||||
/**
|
||||
* 校验被删除的用户id集合,是否有业务关联关系
|
||||
* <p>
|
||||
* 如果有绑定关系直接抛出异常即可
|
||||
*
|
||||
* @param beRemovedUserIdList 被删除的用户id集合
|
||||
* @author fengshuonan
|
||||
* @since 2023/6/11 22:37
|
||||
*/
|
||||
void validateHaveUserBind(Set<Long> beRemovedUserIdList);
|
||||
|
||||
/**
|
||||
* 删除用户信息的回调方法
|
||||
*
|
||||
* @param beRemovedUserIdList 被删除的用户id集合
|
||||
* @author fengshuonan
|
||||
* @since 2023/6/11 22:37
|
||||
*/
|
||||
void removeUserAction(Set<Long> beRemovedUserIdList);
|
||||
|
||||
}
|
Loading…
Reference in New Issue