This commit is contained in:
2026-01-14 16:22:02 +08:00
parent 6b902f68f1
commit 21fae5c486
2 changed files with 2 additions and 74 deletions

View File

@@ -24,7 +24,7 @@ type ComponentReportDownload struct {
SubProductCodes string `gorm:"type:text" comment:"子产品编号列表JSON数组"`
// 价格相关字段
DownloadPrice decimal.Decimal `gorm:"type:decimal(10,2);not null" comment:"实际支付价格"`
DownloadPrice decimal.Decimal `gorm:"type:decimal(10,2);default:0.00" comment:"实际支付价格"`
// 下载相关信息
FilePath *string `gorm:"type:varchar(500)" comment:"生成的ZIP文件路径用于二次下载"`