From e99cc5acf40323379cf538bc5f08228a42aa2bee Mon Sep 17 00:00:00 2001
From: liujiandao <274878379@qq.com>
Date: 星期二, 09 四月 2024 17:52:26 +0800
Subject: [PATCH] 产量登记表2

---
 models/yield_register_circle.go |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/models/yield_register_circle.go b/models/yield_register_circle.go
index cdd036e..b55a990 100644
--- a/models/yield_register_circle.go
+++ b/models/yield_register_circle.go
@@ -11,7 +11,7 @@
 	//YieldRegisterCircle 浜ч噺鐧昏鍥炴暟鍏崇郴琛�
 	YieldRegisterCircle struct {
 		gorm.Model
-		YieldRegisterId uint            `json:"yieldRegisterId" gorm:"type:int(11);comment:浜ч噺鐧昏琛╥d"`
+		YieldRegisterId uint            `json:"yieldRegisterId" gorm:"type:int(11);not null;comment:浜ч噺鐧昏琛╥d"`
 		CarNumber       int             `json:"carNumber" gorm:"type:int(11);comment:杞﹀彿"`
 		Circle          int             `json:"circle" gorm:"type:int(11);comment:鍥炴暟"`
 		PieceNumber     int             `json:"pieceNumber" gorm:"type:int(11);comment:鐗囨暟"`

--
Gitblit v1.8.0