update 统一框架所有主键id均使用雪花id

This commit is contained in:
疯狂的狮子Li
2026-04-08 15:35:32 +08:00
parent 0ef78b92d7
commit 1c35ad55af
26 changed files with 1436 additions and 1459 deletions

View File

@@ -1,7 +1,7 @@
package org.dromara.common.core.constant;
/**
* 用户常量信息
* 系统常量信息
*
* @author Lion Li
*/
@@ -18,25 +18,15 @@ public interface SystemConstants {
String DISABLE = "1";
/**
* 是否为系统默认(是)
* 是
*/
String YES = "Y";
/**
* 是否为系统默认(否)
*
*/
String NO = "N";
/**
* 是否菜单外链(是)
*/
String YES_FRAME = YES;
/**
* 是否菜单外链(否)
*/
String NO_FRAME = NO;
/**
* 菜单类型(目录)
*/
@@ -68,12 +58,17 @@ public interface SystemConstants {
String INNER_LINK = "InnerLink";
/**
* 超级管理员ID
* 超级管理员用户ID
*/
Long SUPER_ADMIN_ID = 1L;
Long SUPER_ADMIN_USER_ID = 1761100000000000001L;
/**
* 超级管理员角色标识
* 超级管理员角色ID
*/
Long SUPER_ADMIN_ROLE_ID = 1761300000000000001L;
/**
* 超级管理员角色 roleKey
*/
String SUPER_ADMIN_ROLE_KEY = "superadmin";
@@ -82,9 +77,15 @@ public interface SystemConstants {
*/
String ROOT_DEPT_ANCESTORS = "0";
/**
* 默认部门 ID
*/
Long DEFAULT_DEPT_ID = 1761000000000000100L;
/**
* 排除敏感属性字段
*/
String[] EXCLUDE_PROPERTIES = { "password", "oldPassword", "newPassword", "confirmPassword" };
}