导出新增了合并单元格,样式处理

This commit is contained in:
2024-09-25 11:56:44 +08:00
parent e54adba26a
commit 3a124aa778
5 changed files with 768 additions and 326 deletions
+1
View File
@@ -21,6 +21,7 @@ type OrderProductItem struct {
ProductCoverImg string `gorm:"column:product_cover_img;type:varchar(255);comment:商品封面图" json:"product_cover_img"`
ProductSpec string `gorm:"column:product_spec;type:varchar(255);comment:商品规格" json:"product_spec"`
Model
Product *Product `gorm:"foreignKey:ProductId;references:product_id" json:"product"` // 药品
}
func (m *OrderProductItem) TableName() string {