...
|
...
|
@@ -52,9 +52,9 @@ func ToCreditAccountItem(param *allied_creation_cooperation.CreditAccount) *Cred |
|
|
ActuallyPaidAmount: param.ActuallyPaidAmount,
|
|
|
CreditAccountOrderNum: param.CreditAccountOrderNum,
|
|
|
PaymentStatus: param.PaymentStatus,
|
|
|
PaymentTime: param.PaymentTime.UnixNano() / 1e6,
|
|
|
PaymentTime: 0,
|
|
|
SettlementAmount: param.SettlementAmount,
|
|
|
SettlementTime: param.SettlementTime.UnixNano() / 1e6,
|
|
|
SettlementTime: 0,
|
|
|
CooperationContractNumber: param.CooperationContractNumber,
|
|
|
ParticipateType: param.ParticipateType, // 参与类型
|
|
|
PaymentDocumentAttachment: param.PaymentDocumentAttachment, // 支付凭证附件
|
...
|
...
|
@@ -63,6 +63,12 @@ func ToCreditAccountItem(param *allied_creation_cooperation.CreditAccount) *Cred |
|
|
UpdatedAt: param.UpdatedAt.UnixNano() / 1e6, // 更新时间
|
|
|
AccountDetail: param.AccountDetail,
|
|
|
}
|
|
|
if !param.PaymentTime.IsZero() {
|
|
|
data.PaymentTime = param.PaymentTime.UnixNano() / 1e6
|
|
|
}
|
|
|
if !param.SettlementTime.IsZero() {
|
|
|
data.SettlementTime = param.PaymentTime.UnixNano() / 1e6
|
|
|
}
|
|
|
data.Org.OrgID = param.Org.OrgID
|
|
|
data.Org.OrgName = param.Org.OrgName
|
|
|
data.Participator.UserName = param.Participator.UserName
|
...
|
...
|
|