package com.vci.frameworkcore.constant;
|
|
/**
|
* 基础框架中业务部分的多语言代码
|
* @author weidy
|
* @date 2020/4/25
|
*/
|
public class FrameWorkBusLangCodeConstant {
|
|
//登陆部分的
|
/**
|
* 用户已经登录
|
*/
|
public static final String USER_IS_LOGINED = "userIsLogined";
|
|
/**
|
* 用户没有找到
|
*/
|
public static final String USER_NOT_FOUND = "userNotFound";
|
|
/**
|
* 用户已经停用
|
*/
|
public static final String USER_IS_DISABLED = "userIsDisabled";
|
|
/**
|
* 用户已经被锁定
|
*/
|
public static final String USER_IS_LOCK = "userIsLocked";
|
|
/**
|
* 用户已经超过失效时间
|
*/
|
public static final String USER_MORE_THAN_DISABLE_DATE = "moreDisableDate";
|
|
/**
|
* 用户密码错误被锁定
|
*/
|
public static final String USER_PWD_LOCK = "userPwdErrorLock";
|
|
/**
|
* 用户密码不相等
|
*/
|
public static final String USER_PWD_NOT_EQUAL = "userPwdNotEqual";
|
|
|
//密码相关
|
|
/**
|
* 确认密码不相同
|
*/
|
public static final String CHANGE_PWD_NOT_EQUAL="changePwdNotEqual";
|
|
/**
|
* 没有密码策略
|
*/
|
public static final String HAS_NOT_PWD_STRATEGY="hasNotPasswordStrategy";
|
|
/**
|
* 密码安全策略未找到
|
*/
|
public static final String PASSWORD_STRATEGY_NOT_FOUND = "passwordStrategyNotFound";
|
|
/**
|
* 密码所需字符类型为空
|
*/
|
public static final String REQUIRE_CHAR_TYPE_NULL = "requireCharTypeNull";
|
|
/**
|
* 密码的字符类型不符合要求
|
*/
|
public static final String REQUIRE_CHAR_TYPE_NOT_EXIST = "requireCharTypeNotExist";
|
|
/**
|
* 密码复杂度不符合要求
|
*/
|
public static final String LESS_CHAR_TYPE = "lessCharType";
|
|
/**
|
* 密码不包含小写字母
|
*/
|
public static final String NOT_HAS_LOW_LETTER= "notHasLowLetter";
|
|
/**
|
* 密码不包含数字
|
*/
|
public static final String NOT_HAS_NUMBER = "notHasNumber";
|
|
/**
|
* 密码不包含特殊字母
|
*/
|
public static final String NOT_HAS_SPECIAL ="notHasSpecial";
|
|
/**
|
* 密码不符合最小长度要求
|
*/
|
public static final String LESS_MIN_LENGTH = "lessMinLength";
|
|
/**
|
* 密码不符合最大长度要求
|
*/
|
public static final String MORE_MAX_lENGTH ="moreMaxLength";
|
/**
|
* 密码即将过期
|
*/
|
public static final String PASSWORD_REMAIN_DAY = "passwordRemainDay";
|
|
/**
|
* 密码已过期
|
*/
|
public static final String PASSWORD_EXPIRE = "passwordExpire";
|
|
//组织
|
|
|
//部门
|
|
//职务
|
|
|
//职级
|
|
//用户
|
|
//角色
|
|
//权限
|
|
//地区分类
|
|
//地点
|
|
//联系人
|
|
//物料基本信息
|
|
//物料
|
|
/**
|
* 物料的序列号
|
*/
|
public static final String BD_MATERIAL_SERIAL_NUMBER_REPEAT = "materialSerialNumberRepeat";
|
|
//库房类型
|
|
/**
|
* 库房分类的内部标识不全是英文
|
*/
|
public static final String BD_WAREHOUSE_CLASSIFY_ID_NOT_LETTER = "warehouseClassifyIdNotLetter";
|
|
/**
|
* 因为已经有存在使用当前分类的库房,所以只是修改名称,描述和上级分类
|
*/
|
public static final String BD_WAREHOUSE_CLASSIFY_LINK_BY_WAREHOUSE ="warehouseClassifyLinkByWarehouse" ;
|
|
/**
|
* 与上级库房基本分类的库房类型不相同
|
*/
|
public static final String BD_WAREHOUSE_CLASSIFY_TYPE_NOT_EQUAL_PARENT = "warehouseClassifyParentNotEqualType";
|
|
//库房管理
|
|
/**
|
* 与上级库房的库房分类不相同
|
*/
|
public static final String BD_WAREHOUSE_PARENT_WAREHOUSE_NOT_EQUAL_CLASSIFY = "warehouseParentNotEqualClassify";
|
|
/**
|
* 有数据不能修改库房的所属基本分类
|
*/
|
public static final String BD_WAREHOUSE_HAS_DATA_NOT_EDIT_CLASSIFY = "warehouseHasDataNotEditClassify";
|
|
/**
|
* 没有传递用户的主键,不能设置管理员
|
*/
|
public static final String BD_WAREHOUSE_ADMIN_USEROID_NOT_HAS = "warehouseAdminUserOidNotHas";
|
|
/**
|
* 为库房设置管理员成功
|
*/
|
public static final String BD_WAREHOUSE_ADMIN_LINK_SUCCESS = "warehouseAdminLinkSuccess";
|
|
/**
|
* 库房分类的主键不存在
|
*/
|
public static final String BD_WAREHOUSE_CLASSIFY_OID_NOT_EXIST = "warehouseClassifyOidNotExsit";
|
|
/**
|
* 当前用户没有库房的权限
|
*/
|
public static final String BD_WAREHOUSE_NOT_RIGHT = "warehouseNotRight";
|
|
|
//货位
|
|
/**
|
* 上级不是一个货架
|
*/
|
public static final String BD_GOODS_LOCATION_PARENT_NOT_SHELF = "goodsLocationParentNotShelf";
|
|
//Feign
|
|
/**
|
* 当前用户没有对该库房的操作权限
|
*/
|
public static final String BD_FEIGN_WAREHOUSEADMIN_NOT_PERMISSION = "feignCheckWareHouseAdminPermissions";
|
|
//计量单位
|
/**
|
* 计量单位不存在
|
*/
|
public static final String UNIT_NOT_EXIST_BY_IDS = "unitNotExistByIds";
|
|
/**
|
* 添加成功
|
*/
|
public static final String ADD_SUCCESS ="addSuccess";
|
|
/**
|
* 添加失败
|
*/
|
public static final String ADD_FAIL = "addFailInDB";
|
|
/**
|
* 修改成功
|
*/
|
public static final String EDIT_SUCCESS = "editSuccess";
|
|
/**
|
* 修改失败
|
*/
|
public static final String EDIT_FAIL = "editFail";
|
|
/**
|
* 删除成功
|
*/
|
public static final String DELETE_SUCCESS = "deleteSuccess";
|
|
/**
|
* 级联删除成功
|
*/
|
public static final String DELETE_SUCCESS_CASCADE = "deleteSuccessCascade";
|
|
/**
|
* 删除失败
|
*/
|
public static final String DELETE_FAIL = "deleteFail";
|
|
/**
|
* 启用成功
|
*/
|
public static final String ENABLE_SUCCESS ="enableSuccess";
|
|
/**
|
* 锁定成功
|
*/
|
public static final String LOCK_SUCCESS = "lockSuccess";
|
|
/**
|
* 锁定失败
|
*/
|
public static final String LOCK_FAIL = "lockFail";
|
|
/**
|
* 解锁成功
|
*/
|
public static final String UNLOCK_SUCCESS = "unlockSuccess";
|
|
/**
|
* 解锁失败
|
*/
|
public static final String UNLOCK_FAIL = "unlockFail";
|
|
/**
|
* 级联启用成功
|
*/
|
public static final String ENABLE_SUCCESS_CASCADE = "enableSuccessCascade";
|
|
/**
|
* 启用失败
|
*/
|
public static final String ENABLE_FAIL = "enableFail";
|
|
/**
|
* 停用成功
|
*/
|
public static final String DISABLE_SUCCESS = "disableSuccess";
|
|
/**
|
* 级联停用成功
|
*/
|
public static final String DISABLE_SUCCESS_CASCADE = "disableSuccessCascade";
|
|
/**
|
* 停用失败
|
*/
|
public static final String DISABLE_FAIL = "disableFail";
|
|
/**
|
* 升版本号成功
|
*/
|
public static final String UP_REVISION_SUCCESS = "dataUpRevisionSuccess";
|
|
/**
|
* 升版本号失败
|
*/
|
public static final String UP_REVISION_FAIL = "dataUpRevisionFail";
|
|
/**
|
* 升版次成功
|
*/
|
public static final String UP_VERSION_SUCCESS = "dataUpVersionSuccess";
|
|
/**
|
* 升版次失败
|
*/
|
public static final String UP_VERSION_FAIL = "dataUpVersionFail";
|
|
/**
|
* 提交成功
|
*/
|
public static final String SUBMIT_SUCCESS= "submitSuccess";
|
|
/**
|
* 提交失败
|
*/
|
public static final String SUBMIR_FAIL = "submitFail";
|
|
/**
|
* 发布成功
|
*/
|
public static final String RELEASE_SUCCESS = "releaseSuccess";
|
|
/**
|
* 发布失败
|
*/
|
public static final String RELEASE_FAIL = "releaseFail";
|
|
/**
|
* 版本号重复
|
*/
|
public static final String REVISION_REPEAT = "revisionRepeat";
|
|
/**
|
* 版次号重复
|
*/
|
public static final String VERSION_REPEAT= "versionRepeat";
|
|
/**
|
* 根据主键查询数据不存在
|
*/
|
public static final String DATA_OID_NOT_EXIST = "dataOidNotExist";
|
|
/**
|
* 根据主键查询的数据不存在
|
*/
|
public static final String DATA_ID_NOT_EXIST = "dataIdNotExist";
|
|
/**
|
* 根据名称查询的数据不存在
|
*/
|
public static final String DATA_NAME_NOT_EXIST = "dataNameNotExist";
|
|
/**
|
* 属性值重复
|
*/
|
public static final String DATA_ATTR_REPEAT = "dataRepeat";
|
|
/**
|
* 老版本的数据不存在
|
*/
|
public static final String OLD_REVISION_DATA_NOT_EXIST = "oldRevsionDataNotExist";
|
|
/**
|
* 上级主键实际是当前节点的下级节点,会引起死循环
|
*/
|
public static final String PARENT_OID_IS_CHILD ="parentIsChild";
|
|
/**
|
* 数据被引用,不允许删除
|
*/
|
public static final String DATA_LINKED_NOT_DELETE = "dataLinkedNotDelete";
|
|
/**
|
* 数据的子节点也被引用,不允许删除
|
*/
|
public static final String DATA_CASCADE_LINKED_NOT_DELETE = "dataCascadeLinkedNotDelete";
|
|
/**
|
* 数据被引用,不允许修改
|
*/
|
public static final String DATA_LINKED_NOT_EDIT ="dataLinkedNotEdit";
|
|
/**
|
* 数据不引用,不允许修改某个属性
|
*/
|
public static final String DATA_LINKED_NOT_EDIT_ATTR="dataLinkedNotEditAttr";
|
|
/**
|
* 上级档案不存在
|
*/
|
public static final String DATA_PARENT_NOT_EXIST = "parentNotExist";
|
|
/**
|
* 分类数据不存在
|
*/
|
public static final String DATA_CLASSIFY_NOT_EXIST = "classifyNotExist";
|
|
/**
|
* 当前状态下不允许修改数据
|
*/
|
public static final String LCSTATUS_CAN_NOT_EDIT = "lcStatusCannotEditData";
|
|
/**
|
* 当前状态下不允许删除数据
|
*/
|
public static final String LCSTATUS_CAN_NOT_DELETE = "lcStatusCannotDeleteData";
|
|
/**
|
* 导入成功
|
*/
|
public static final String IMPORT_SUCCESS = "importSuccess";
|
|
/**
|
* 导入失败
|
*/
|
public static final String IMPORT_FAIL = "importFail";
|
|
/**
|
* 导入的模板文件不存在
|
*/
|
public static final String IMPORT_TEMPLATE_FILE_NOT_FOUND = "importTemplateFileNotFound";
|
|
/**
|
* 导出成功
|
*/
|
public static final String EXPORT_SUCCESS = "exportSuccess";
|
|
/**
|
* 导出失败
|
*/
|
public static final String EXPORT_FAIL = "exportFail";
|
|
/**
|
* 上传成功
|
*/
|
public static final String UPLOAD_SUCCESS = "uploadSuccess";
|
|
/**
|
* 上传失败
|
*/
|
public static final String UPLOAD_FAIL = "uploadFail";
|
|
/**
|
* 下载成功
|
*/
|
public static final String DOWNLOAD_SUCCESS = "downloadSuccess";
|
|
/**
|
* 下载失败
|
*/
|
public static final String DOWNLOAD_FAIL = "downloadFail";
|
|
/**
|
* 文件不存在
|
*/
|
public static final String FILE_NOT_EXIST = "fileNotExist";
|
|
/**
|
* 审批成功
|
*/
|
public static final String AUDIT_SUCCESS = "auditSuccess";
|
|
/**
|
* 审批失败
|
*/
|
public static final String AUDIT_FAIL = "auditFail";
|
|
/**
|
* 下发成功
|
*/
|
public static final String ISSUED_SUCCESS = "issuedSuccess";
|
|
/**
|
* 下发失败
|
*/
|
public static final String ISSUED_FAIL = "issuedFail";
|
|
/**
|
* 接收成功
|
*/
|
public static final String RECEIVE_SUCCESS = "receiveSuccess";
|
|
/**
|
* 接收失败
|
*/
|
public static final String RECEIVE_FAIL = "receiveFail";
|
|
/**
|
* 计划的制造依据不存在
|
*/
|
public static final String PLAN_SOURCE_NOT_EXIST = "planSourceNotExist";
|
|
/**
|
* 计划的制造目标不存在
|
*/
|
public static final String PLAN_TARGET_NOT_EXIST = "planTargetNotExist";
|
|
/**
|
* 派发成功
|
*/
|
public static final String DISPATCH_SUCCESS = "dispatchSuccess";
|
|
/**
|
* 派发失败
|
*/
|
public static final String DISPATCH_FAIL = "dispatchFail";
|
|
/**
|
* 该计划下不存在派发过的任务
|
*/
|
public static final String DISPATCH_TASK_NOT_EXIST_BY_PLAN = "dispatchTaskNotExistByPlan";
|
|
/**
|
* 系统异常
|
*/
|
public static final String SYSTEM_ERROR = "systemError";
|
|
/**
|
* 登录成功
|
*/
|
public static final String LOGIN_SUCCESS = "loginSuccess";
|
|
/**
|
* 初始密码需要修改
|
*/
|
public static final String PASSWORD_INIT = "passwordInit";
|
|
/**
|
* 密码策略已经修改,需修改账号密码
|
*/
|
public static final String PASSWORD_POLICY_UPDATED = "passwordPolicyUpdated";
|
}
|