【新增】 wps_word相关方法(考点创建、文件对比等)

This commit is contained in:
RENWEIBING\letre
2025-05-04 22:39:59 +08:00
parent ecdca2f3a3
commit 3a0886b94a
21 changed files with 1236 additions and 0 deletions

View File

@@ -174,4 +174,13 @@ public interface ErrorCodeConstants {
ErrorCode STUDENT_USERNAME_LOGIN = new ErrorCode(1_002_029_002, "学生账号无法登陆!");
ErrorCode STUDENT_USERNAME_NOTLOGIN = new ErrorCode(1_002_029_003, "非学生账号无法登陆!");
// ========== WpsWOrd 1-002-030-000 ==========
ErrorCode WORD_NAME_DUPLICATE = new ErrorCode(1_002_030_000, "已经存在该名字的WORD节点");
ErrorCode WORD_PARENT_NOT_EXITS = new ErrorCode(1_002_030_001,"父级WORD节点不存在");
ErrorCode WORD_NOT_FOUND = new ErrorCode(1_002_030_002, "当前WORD节点不存在");
ErrorCode WORD_EXITS_CHILDREN = new ErrorCode(1_002_030_003, "存在子WORD节点无法删除");
ErrorCode WORD_PARENT_ERROR = new ErrorCode(1_002_030_004, "不能设置自己为父WORD节点");
ErrorCode WORD_NOT_ENABLE = new ErrorCode(1_002_030_006, "WORD节点({})不处于开启状态,不允许选择");
ErrorCode WORD_PARENT_IS_CHILD = new ErrorCode(1_002_030_007, "不能设置自己的子WORD节点为父WORD节点");
}

View File

@@ -17,6 +17,14 @@ public interface RedisKeyConstants {
*/
String DEPT_CHILDREN_ID_LIST = "dept_children_ids";
/**
* 指定WPS_WORD的所有子WPS_WORD编号数组的缓存
* <p>
* KEY 格式wps_word_children_ids:{id}
* VALUE 数据类型String 子WPS_WORD编号集合
*/
String WPS_WORD_CHILDREN_ID_LIST = "wps_word_children_ids";
/**
* 角色的缓存
* <p>