models/file_template_attachment.go
@@ -15,6 +15,7 @@ Name string `json:"name" gorm:"type:varchar(63);comment:模版名称"` AttachmentId uint `json:"attachmentId" gorm:"comment:附件表外键"` Attachment Attachment `json:"attachment" gorm:"foreignKey:AttachmentId;references:Id"` TableInfo string `json:"tableInfo" gorm:"type:varchar(31);comment:表名"` } FileTemplateAttachmentSearch struct { FileTemplateAttachment