Merge branch 'feat-hjj-BundleOrderInvoice#A225' into dev
This commit is contained in:
commit
23ea832e31
@ -101,7 +101,7 @@ func GetInvoiceInfoByOrderNo(req *bundle.GetInvoiceInfoByOrderNoReq) (*bundle.Ge
|
|||||||
BundleName: m.BundleName,
|
BundleName: m.BundleName,
|
||||||
AmountType: m.AmountType,
|
AmountType: m.AmountType,
|
||||||
TotalAmount: strconv.FormatFloat(float64(m.TotalAmount), 'f', -1, 64),
|
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,
|
PaperInvocieStatus: m.PaperInvocieStatus,
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
@ -87,6 +87,6 @@ type InvoiceInfoByOrderNo struct {
|
|||||||
BundleName string `gorm:"column:bundle_name;comment:套餐名称"`
|
BundleName string `gorm:"column:bundle_name;comment:套餐名称"`
|
||||||
AmountType int64 `gorm:"column:amount_type;comment:金额类型 1:人民币 2:美元"`
|
AmountType int64 `gorm:"column:amount_type;comment:金额类型 1:人民币 2:美元"`
|
||||||
TotalAmount float32 `gorm:"column:total_amount;comment:总金额"`
|
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:已邮寄"`
|
PaperInvocieStatus int64 `gorm:"column:paper_invocie_status;comment:纸质发票状态 1:未申请 2:已申请 3:已邮寄"`
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user