update ResultCommon 移动位置
This commit is contained in:
@@ -0,0 +1,94 @@
|
||||
package com.jero.common.api.vo;
|
||||
|
||||
/**
|
||||
* @Author: liao
|
||||
* @Date: 2023/8/24 14:01
|
||||
* @Description: 返回常量
|
||||
*/
|
||||
public class ResultCommon {
|
||||
|
||||
private ResultCommon() {}
|
||||
|
||||
// 操作成功
|
||||
public static final String OK = "message.ok";
|
||||
// 操作失败
|
||||
public static final String ERROR = "message.error";
|
||||
// 编辑成功
|
||||
public static final String EDIT_OK = "edit.ok";
|
||||
// 编辑失败
|
||||
public static final String EDIT_ERROR = "edit.error";
|
||||
// 请选择数据
|
||||
public static final String PLEASE_SELECT_DATA = "please.select.data";
|
||||
// 删除成功
|
||||
public static final String SUCCESSFULLY_DELETED = "successfully.deleted";
|
||||
// 批量删除成功
|
||||
public static final String SUCCESSFULLY_DELETED_IN_BULK = "successfully.deleted.in.bulk";
|
||||
// 未找到对应数据
|
||||
public static final String NO_CORRESPONDING_DATA_FOUND = "no.corresponding.data.found";
|
||||
|
||||
public static final String EMPTY_SOURCE = "message.empty.source"; // 来源不能为空
|
||||
public static final String EMPTY_STANDARD_NUMBER = "message.empty.standard.number"; // 标准编号不能为空
|
||||
public static final String EMPTY_STANDARD_NAME = "message.empty.standard.name"; // 标准名称不能为空
|
||||
public static final String EMPTY_COMMON = "message.empty.common"; // {0}不能为空
|
||||
public static final String EXIST_STANDARD_NUMBER = "message.exists.standard.number"; // 标准编号已经存在
|
||||
public static final String NOT_EXIST_PARAM = "message.no.exists.param"; // 参数{0}不存在
|
||||
public static final String NO_PERMISSION = "message.no.permission"; // 没有数据操作权限
|
||||
public static final String SELECT_DATA = "message.select.data"; // 请选择数据
|
||||
public static final String EXIST_SUB_FOLDERS = "message.exist.sub.folders"; // 文件夹下有子文件夹 ,该文件夹不允许删除
|
||||
|
||||
public static final String RMR_SET_QUALITY_OVER_TEN = "es.rmr.setQuality.overTen"; // 请最多选择10条
|
||||
|
||||
public static final String SUCCESSFULLY_CLEARED = "successfully.cleared"; // 清除成功
|
||||
|
||||
public static final String CANNOT_DUPLICATE_FAVORITES = "cannot.duplicate.favorites"; // 不能重复收藏
|
||||
|
||||
|
||||
public static final String THE_TOPLEVEL_GROUP_CANNOT_BE_DELETED = "the.toplevel.group.cannot.be.deleted"; // 最高级组别不能删除
|
||||
public static final String PLEASE_SELECT_PERSONNEL_AND_WORKGROUP = "please.select.personnel.and.workgroup"; // 请选择人员和工作组
|
||||
public static final String NUMBER_WORK_NO_ALREADY_EXISTS = "number.work.no.already.exists"; // 工号已存在
|
||||
public static final String NO_FILES_IMPORTED = "no.files.imported"; // 没有导入文件
|
||||
public static final String PLEASE_SELECT_A_WORKGROUP_TO_IMPORT = "Please.select.a.workgroup.to.import"; // 请选择工作组进行导入
|
||||
public static final String PLEASE_USE_A_FILE_WITH_THE_SUFFIX_XLSX = "please.use.a.file.with.the.suffix.xlsx"; // 文件名格式不正确, 请使用后缀名为.xlsx的文件
|
||||
public static final String IMPORT_DATA_CANNOT_BE_EMPTY = "import.data.cannot.be.empty"; // 导入数据不能为空
|
||||
public static final String HEADER_INCONSISTENT_WITH_TEMPLATE = "header.inconsistent.with.template"; // 表头与模板不一致
|
||||
public static final String PLEASE_SELECT_A_WORKGROUP_TO_EXPORT = "please.select.a.workgroup.for.export"; // 请选择工作组进行导出
|
||||
public static final String THE_JOB_NUMBER_CANNOT_BE_EMPTY_EXPORT = "the.job.number.cannot.be.empty.export"; // 第{0}行,工号不能为空
|
||||
public static final String JOB_NUMBER_DOES_NOT_EXIST_EXPORT = "job.number.does.not.exist.export"; // 第{0}行,工号不存在
|
||||
public static final String DUPLICATE_JOB_NUMBER_EXPORT = "duplicate.job.number.export"; // 第{0}行,工号重复
|
||||
public static final String CANNOT_CLOSE = "cannot.close"; // 不是待整改已过期的数据不能关闭
|
||||
|
||||
|
||||
public static final String NO_CORRESPONDING_RECORD_FOUND = "no.corresponding.record.found"; // 没有找到对应的记录
|
||||
|
||||
public static final String PARAMETERS_CANNOT_BE_NULL = "parameters.cannot.be.null"; // 参数不能为空
|
||||
|
||||
public static final String ROOT_NODE_CANNOT_BE_EDITED = "root.node.cannot.be.edited"; // 根节点不能编辑
|
||||
|
||||
public static final String HORIZONTAL_TRANSGRESSION = "horizontal.transgression"; // 水平越权
|
||||
|
||||
public static final String SELECT_LEVEL_TWO_TREE_NODE = "select.level.two.tree.node"; // 请先选择二级及以下体系
|
||||
|
||||
public static final String EXPORT_ERROR = "export.error"; // 导出ZIP压缩包失败
|
||||
|
||||
public static final String IMPORT_ERROR = "import.error"; // 导入ZIP压缩包失败
|
||||
|
||||
public static final String PLEASE_UPLOAD_ZIP = "please.upload.zip.archive"; // 请上传Zip压缩包
|
||||
|
||||
public static final String TASK_HANDLER_ERROR = "task.handler.error"; // 只有处理人可以操作
|
||||
|
||||
public static final String NO_AUTH = "no.auth"; // 只有处理人可以操作
|
||||
|
||||
public static final String IMPORT_TEMPLATE_ERROR = "import.template.error"; // 导入模板错误
|
||||
|
||||
public static final String ZIP_CHARSET_ERROR = "zip.charset.error"; // zip压缩包编码错误
|
||||
|
||||
//同一所属模块下,展示区域名称不能重复!
|
||||
public static final String TAG_ERROR_1 = "tag.error.1";
|
||||
//该展示区域有关联数据,无法删除!
|
||||
public static final String TAG_ERROR_2 = "tag.error.2";
|
||||
|
||||
public static final String FOLDER_ONLY_ONE = "folder.only.one";
|
||||
|
||||
public static final String YOU_HAVE_NOT_DATA_AUTH = "you.have.not.data.auth";
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user