正在显示
1 个修改的文件
包含
8 行增加
和
2 行删除
| @@ -52,9 +52,9 @@ func ToCreditAccountItem(param *allied_creation_cooperation.CreditAccount) *Cred | @@ -52,9 +52,9 @@ func ToCreditAccountItem(param *allied_creation_cooperation.CreditAccount) *Cred | ||
| 52 | ActuallyPaidAmount: param.ActuallyPaidAmount, | 52 | ActuallyPaidAmount: param.ActuallyPaidAmount, |
| 53 | CreditAccountOrderNum: param.CreditAccountOrderNum, | 53 | CreditAccountOrderNum: param.CreditAccountOrderNum, |
| 54 | PaymentStatus: param.PaymentStatus, | 54 | PaymentStatus: param.PaymentStatus, |
| 55 | - PaymentTime: param.PaymentTime.UnixNano() / 1e6, | 55 | + PaymentTime: 0, |
| 56 | SettlementAmount: param.SettlementAmount, | 56 | SettlementAmount: param.SettlementAmount, |
| 57 | - SettlementTime: param.SettlementTime.UnixNano() / 1e6, | 57 | + SettlementTime: 0, |
| 58 | CooperationContractNumber: param.CooperationContractNumber, | 58 | CooperationContractNumber: param.CooperationContractNumber, |
| 59 | ParticipateType: param.ParticipateType, // 参与类型 | 59 | ParticipateType: param.ParticipateType, // 参与类型 |
| 60 | PaymentDocumentAttachment: param.PaymentDocumentAttachment, // 支付凭证附件 | 60 | PaymentDocumentAttachment: param.PaymentDocumentAttachment, // 支付凭证附件 |
| @@ -63,6 +63,12 @@ func ToCreditAccountItem(param *allied_creation_cooperation.CreditAccount) *Cred | @@ -63,6 +63,12 @@ func ToCreditAccountItem(param *allied_creation_cooperation.CreditAccount) *Cred | ||
| 63 | UpdatedAt: param.UpdatedAt.UnixNano() / 1e6, // 更新时间 | 63 | UpdatedAt: param.UpdatedAt.UnixNano() / 1e6, // 更新时间 |
| 64 | AccountDetail: param.AccountDetail, | 64 | AccountDetail: param.AccountDetail, |
| 65 | } | 65 | } |
| 66 | + if !param.PaymentTime.IsZero() { | ||
| 67 | + data.PaymentTime = param.PaymentTime.UnixNano() / 1e6 | ||
| 68 | + } | ||
| 69 | + if !param.SettlementTime.IsZero() { | ||
| 70 | + data.SettlementTime = param.PaymentTime.UnixNano() / 1e6 | ||
| 71 | + } | ||
| 66 | data.Org.OrgID = param.Org.OrgID | 72 | data.Org.OrgID = param.Org.OrgID |
| 67 | data.Org.OrgName = param.Org.OrgName | 73 | data.Org.OrgName = param.Org.OrgName |
| 68 | data.Participator.UserName = param.Participator.UserName | 74 | data.Participator.UserName = param.Participator.UserName |
-
请 注册 或 登录 后发表评论