model/salesDetails.go
@@ -23,6 +23,7 @@ Conditions string `json:"conditions" gorm:"column:conditions;type:text;comment:条件"` Remark string `json:"remark" gorm:"column:remark;type:text;comment:备注"` Products []Product `json:"products" gorm:"many2many:salesDetails_product;"` gorm.Model `json:"-"` } SalesDetailsSearch struct {