|
@@ -105,7 +105,7 @@ func MergeInvoiceList2InvoicePaymentCensusInfo(invoiceList []*fms.ContractInvoic
|
|
|
v := new(fms.InvoicePaymentCensusInfo)
|
|
|
v.InvoiceId = invoiceList[i].ContractInvoiceId
|
|
|
v.InvoiceDate = invoiceList[i].InvoiceDate.Format(utils.FormatDate)
|
|
|
- v.InvoiceAmount = invoiceList[i].Amount
|
|
|
+ v.InvoiceAmount = invoiceList[i].OriginAmount
|
|
|
v.SellerId = invoiceList[i].SellerId
|
|
|
v.SellerName = invoiceList[i].SellerName
|
|
|
v.SellerGroupId = invoiceList[i].SellerGroupId
|
|
@@ -116,7 +116,7 @@ func MergeInvoiceList2InvoicePaymentCensusInfo(invoiceList []*fms.ContractInvoic
|
|
|
if payItem != nil {
|
|
|
v.PaymentId = payItem.ContractInvoiceId
|
|
|
v.PaymentDate = payItem.InvoiceDate.Format(utils.FormatDate)
|
|
|
- v.PaymentAmount = payItem.Amount
|
|
|
+ v.PaymentAmount = payItem.OriginAmount
|
|
|
v.PayType = payItem.PayType
|
|
|
v.ServiceAmountList = serviceAmountMap[payItem.ContractInvoiceId]
|
|
|
}
|
|
@@ -132,7 +132,7 @@ func MergeInvoiceList2InvoicePaymentCensusInfo(invoiceList []*fms.ContractInvoic
|
|
|
v := new(fms.InvoicePaymentCensusInfo)
|
|
|
v.PaymentId = paymentList[i].ContractInvoiceId
|
|
|
v.PaymentDate = paymentList[i].InvoiceDate.Format(utils.FormatDate)
|
|
|
- v.PaymentAmount = paymentList[i].Amount
|
|
|
+ v.PaymentAmount = paymentList[i].OriginAmount
|
|
|
v.PayType = paymentList[i].PayType
|
|
|
v.ServiceAmountList = serviceAmountMap[paymentList[i].ContractInvoiceId]
|
|
|
// 直接取对应键的开票
|
|
@@ -141,7 +141,7 @@ func MergeInvoiceList2InvoicePaymentCensusInfo(invoiceList []*fms.ContractInvoic
|
|
|
if invoiceItem != nil {
|
|
|
v.InvoiceId = invoiceItem.ContractInvoiceId
|
|
|
v.InvoiceDate = invoiceItem.InvoiceDate.Format(utils.FormatDate)
|
|
|
- v.InvoiceAmount = invoiceItem.Amount
|
|
|
+ v.InvoiceAmount = invoiceItem.OriginAmount
|
|
|
v.SellerId = invoiceItem.SellerId
|
|
|
v.SellerName = invoiceItem.SellerName
|
|
|
v.SellerGroupId = invoiceList[i].SellerGroupId
|