给用户模块增加检查当前机构是否存在经理

This commit is contained in:
季圣华
2023-02-21 00:28:59 +08:00
parent c80eb3611a
commit 1e58fbf8d6
5 changed files with 51 additions and 1 deletions

View File

@@ -67,6 +67,9 @@ public class ExceptionConstants {
//租户不能被删除
public static final int USER_LIMIT_TENANT_DELETE_CODE = 500008;
public static final String USER_LIMIT_TENANT_DELETE_MSG = "抱歉,租户不能被删除";
//当前机构已经存在经理
public static final int USER_LEADER_IS_EXIST_CODE = 500009;
public static final String USER_LEADER_IS_EXIST_MSG = "抱歉,当前机构已经存在经理";
/**
* 角色信息