From af31f0a78ec1932cec1a7e99482e7d850e60576e Mon Sep 17 00:00:00 2001
From: heheng <475597332@qq.com>
Date: 星期四, 27 十一月 2025 17:23:17 +0800
Subject: [PATCH] 功能修改
---
multi-system/src/main/java/com/gkhy/exam/system/domain/QualitySystemPlanMess.java | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/multi-system/src/main/java/com/gkhy/exam/system/domain/QualitySystemPlanMess.java b/multi-system/src/main/java/com/gkhy/exam/system/domain/QualitySystemPlanMess.java
index 6754f93..0d3670f 100644
--- a/multi-system/src/main/java/com/gkhy/exam/system/domain/QualitySystemPlanMess.java
+++ b/multi-system/src/main/java/com/gkhy/exam/system/domain/QualitySystemPlanMess.java
@@ -8,7 +8,9 @@
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
+import org.checkerframework.checker.units.qual.N;
+import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.time.LocalDateTime;
@@ -22,7 +24,8 @@
@TableId(value = "id", type = IdType.AUTO)
private Integer id;
- @ApiModelProperty(value = "策划id")
+ @NotNull(message = "策划主键不可为空")
+ @ApiModelProperty(value = "策划id",required = true)
@TableField("plan_id")
private Integer planId;
--
Gitblit v1.9.2