Merge branch 'feat-hjj-BundleOrderInvoice#A225' into dev

This commit is contained in:
jiaji.H 2026-02-03 13:26:31 +08:00
commit 23ea832e31
2 changed files with 9 additions and 9 deletions

View File

@ -101,7 +101,7 @@ func GetInvoiceInfoByOrderNo(req *bundle.GetInvoiceInfoByOrderNoReq) (*bundle.Ge
BundleName: m.BundleName,
AmountType: m.AmountType,
TotalAmount: strconv.FormatFloat(float64(m.TotalAmount), 'f', -1, 64),
PayTime: m.PayTime.Format("2006-01-02 15:04:05"),
PayTime: m.PayTime,
PaperInvocieStatus: m.PaperInvocieStatus,
}
})

View File

@ -87,6 +87,6 @@ type InvoiceInfoByOrderNo struct {
BundleName string `gorm:"column:bundle_name;comment:套餐名称"`
AmountType int64 `gorm:"column:amount_type;comment:金额类型 1:人民币 2:美元"`
TotalAmount float32 `gorm:"column:total_amount;comment:总金额"`
PayTime time.Time `gorm:"column:pay_time;comment:支付时间"`
PayTime string `gorm:"column:pay_time;comment:支付时间"`
PaperInvocieStatus int64 `gorm:"column:paper_invocie_status;comment:纸质发票状态 1:未申请 2:已申请 3:已邮寄"`
}