From 1f238ae264c0dfca87bba9ea9da5456153991eaa Mon Sep 17 00:00:00 2001 From: ludc Date: 星期二, 04 七月 2023 17:22:03 +0800 Subject: [PATCH] 修改system服务部分接口 --- Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/entity/CodeRule.java | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/entity/CodeRule.java b/Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/entity/CodeRule.java index dca7936..f622bdd 100644 --- a/Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/entity/CodeRule.java +++ b/Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/code/entity/CodeRule.java @@ -24,6 +24,8 @@ import lombok.Data; import lombok.EqualsAndHashCode; +import javax.validation.constraints.NotBlank; + /** * 缂栫爜瑙勫垯 瀹炰綋绫� * @@ -44,11 +46,13 @@ /** * 瑙勫垯缂栧彿 */ + @NotBlank(message = "瑙勫垯缂栧彿涓嶈兘涓虹┖") private String id; /** * 瑙勫垯鐨勫悕绉� */ + @NotBlank(message = "瑙勫垯鐨勫悕绉颁笉鑳戒负绌�") private String name; /** -- Gitblit v1.9.3