models/fineness.go
@@ -12,6 +12,7 @@ FinenessRegister struct { gorm.Model Number string `gorm:"type:varchar(255);not null;comment:编号" json:"number"` //编号 FinenessCheckID uint `gorm:"not null;comment:纤度检验表ID" json:"finenessCheckID"` //纤度检验表ID FinishDate string `gorm:"type:varchar(255);not null;comment:落丝时间" json:"finishDate"` //落丝时间 Workshop string `gorm:"type:varchar(255);not null;comment:车间" json:"name"` //车间 WorkshopGroup int `gorm:"type:int(11);not null;default:0;comment:车组" json:"workshopGroup"` //车组