From 3d400cfcc41df9bc35678751f6f5afb5cf6c1ae5 Mon Sep 17 00:00:00 2001
From: heheng <475597332@qq.com>
Date: 星期三, 03 十二月 2025 14:52:54 +0800
Subject: [PATCH] 产品服务实现过程

---
 multi-system/src/main/java/com/gkhy/exam/system/domain/PurchaseApplyPlan.java |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/multi-system/src/main/java/com/gkhy/exam/system/domain/PurchaseApplyPlan.java b/multi-system/src/main/java/com/gkhy/exam/system/domain/PurchaseApplyPlan.java
index 5016160..1be4181 100644
--- a/multi-system/src/main/java/com/gkhy/exam/system/domain/PurchaseApplyPlan.java
+++ b/multi-system/src/main/java/com/gkhy/exam/system/domain/PurchaseApplyPlan.java
@@ -9,6 +9,7 @@
 import lombok.Getter;
 import lombok.Setter;
 
+import javax.validation.constraints.NotNull;
 import java.io.Serializable;
 import java.math.BigDecimal;
 
@@ -22,7 +23,8 @@
     @TableId(value = "id", type = IdType.AUTO)
     private Integer id;
 
-    @ApiModelProperty(value = "申请id")
+    @NotNull(message = "申请主键不可为空")
+    @ApiModelProperty(value = "申请id",required = true)
     @TableField("apply_id")
     private Integer applyId;
 

--
Gitblit v1.9.2