| | |
| | | ExternalAgreementNo = entity.Code, |
| | | ThirdPartyType = entity.ThirdPartyType, |
| | | }); |
| | | if (response.IsError) throw Oops.Oh(EnumErrorCodeType.s510, response.SubMsg ?? response.Msg); |
| | | if (!response.IsError) |
| | | { |
| | | entity.AgreementNo = response.AgreementNo; |
| | | entity.SignTime = response.SignTime.ToDateTime(); |
| | | entity.ValidTime = response.ValidTime.ToDateTime(); |
| | |
| | | entity.CreditAuthMode = response.CreditAuthMode; |
| | | update = true; |
| | | } |
| | | } |
| | | |
| | | if (entity.SignStatus == EnumEnterpriseWalletSignStatus.Normal && entity.AccountBookStatus != EnumEnterpriseWalletAccountBookStatus.Normal) |
| | | { |