feat:完善计量单位管理
This commit is contained in:
@@ -19,4 +19,13 @@ public interface UnitErrorCodeConstants {
|
||||
ErrorCode UNT_INFO_NOT_EXISTS =
|
||||
new ErrorCode(1_010_000_004, "单位信息记录不存在");
|
||||
|
||||
ErrorCode UNIT_NOT_FOUND =
|
||||
new ErrorCode(1_010_000_005, "找不到单位: %s");
|
||||
|
||||
ErrorCode UNIT_CONVERSION_PATH_NOT_FOUND =
|
||||
new ErrorCode(1_010_000_006, "无法找到从单位 [%s] 到单位 [%s] 的转换路径,请检查单位是否属于同一量纲或配置转换规则");
|
||||
|
||||
ErrorCode UNIT_DIFFERENT_QUANTITY =
|
||||
new ErrorCode(1_010_000_007, "单位 [%s] 和单位 [%s] 不属于同一量纲,无法转换");
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user