models/material.go
@@ -72,6 +72,9 @@ InternalTransferExplain string `gorm:"type:varchar(512);comment:内部调拨说明" json:"internalTransferExplain"` //内部调拨说明 AttachmentList []*Attachment `json:"attachmentList" gorm:"many2many:material_attachment"` AttachmentIDs []uint `json:"attachmentIDs" gorm:"-"` PredictionAmount decimal.Decimal `json:"predictionAmount" gorm:"-"` InputAmount decimal.Decimal `json:"inputAmount" gorm:"-"` OutputAmount decimal.Decimal `json:"outputAmount" gorm:"-"` } MaterialSearch struct {