From 333ea36839a26a0627ca4c6476cda6c0bb0b010e Mon Sep 17 00:00:00 2001 From: guoyuqi Date: Mon, 29 May 2023 10:11:12 +0800 Subject: [PATCH] build: ui domain --- .../src/main/java/io/metersphere/ui/domain/UiCustomCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/framework/domain/src/main/java/io/metersphere/ui/domain/UiCustomCommand.java b/backend/framework/domain/src/main/java/io/metersphere/ui/domain/UiCustomCommand.java index 04821f4f42..7bbaaf141f 100644 --- a/backend/framework/domain/src/main/java/io/metersphere/ui/domain/UiCustomCommand.java +++ b/backend/framework/domain/src/main/java/io/metersphere/ui/domain/UiCustomCommand.java @@ -96,7 +96,7 @@ public class UiCustomCommand implements Serializable { @Schema(title = "指向初始版本ID", requiredMode = Schema.RequiredMode.REQUIRED) @NotBlank(message = "{ui_custom_command.ref_id.not_blank}", groups = {Created.class}) - @Size(min = 1, max = 255, message = "{ui_custom_command.ref_id.length_range}", groups = {Created.class, Updated.class}) + @Size(min = 1, max = 50, message = "{ui_custom_command.ref_id.length_range}", groups = {Created.class, Updated.class}) private String refId; @Schema(title = "是否为最新版本 0:否,1:是", requiredMode = Schema.RequiredMode.REQUIRED)