作者 tangxuhui

修正

@@ -224,11 +224,11 @@ func (dividendsEmmateService *DividendsEstimateService) MoneyIncentivesSelector( @@ -224,11 +224,11 @@ func (dividendsEmmateService *DividendsEstimateService) MoneyIncentivesSelector(
224 //ConfimDividendsEstimate 确定分红预算 224 //ConfimDividendsEstimate 确定分红预算
225 func (dividendsEstimateService *DividendsEstimateService) ConfimDividendsEstimate(confimDividendsEstimateCommand *command.ConfimDividendsEstimateCommand) (interface{}, error) { 225 func (dividendsEstimateService *DividendsEstimateService) ConfimDividendsEstimate(confimDividendsEstimateCommand *command.ConfimDividendsEstimateCommand) (interface{}, error) {
226 creationCooperationGateway := allied_creation_cooperation.NewHttplibAlliedCreationCooperation(confimDividendsEstimateCommand.Operator) 226 creationCooperationGateway := allied_creation_cooperation.NewHttplibAlliedCreationCooperation(confimDividendsEstimateCommand.Operator)
227 - _, err := creationCooperationGateway.CreditAccountsAdd(allied_creation_cooperation.ReqCreditAccountsAdd{ 227 + result, err := creationCooperationGateway.CreditAccountsAdd(allied_creation_cooperation.ReqCreditAccountsAdd{
228 DividendsEstimateIds: confimDividendsEstimateCommand.DividendsEstimateId, 228 DividendsEstimateIds: confimDividendsEstimateCommand.DividendsEstimateId,
229 }) 229 })
230 if err != nil { 230 if err != nil {
231 return nil, application.ThrowError(application.TRANSACTION_ERROR, err.Error()) 231 return nil, application.ThrowError(application.TRANSACTION_ERROR, err.Error())
232 } 232 }
233 - return confimDividendsEstimateCommand, nil 233 + return result, nil
234 } 234 }
@@ -136,6 +136,20 @@ type ( @@ -136,6 +136,20 @@ type (
136 DividendsEstimateIds []string `json:"dividendsEstimateIds"` 136 DividendsEstimateIds []string `json:"dividendsEstimateIds"`
137 } 137 }
138 138
139 - DataCreditAccountsAdd []struct { 139 + DataCreditAccountsAdd struct {
  140 + // 账期结算单ID
  141 + CreditAccountId int64 `json:"creditAccountId,string"`
  142 + // 账期结算实付金额
  143 + ActuallyPaidAmount float64 `json:"actuallyPaidAmount"`
  144 + // 账期结算单号
  145 + CreditAccountOrderNum string `json:"creditAccountOrderNum"`
  146 + // 账期结算支付状态,1待支付,2已支付
  147 + PaymentStatus int32 `json:"paymentStatus"`
  148 + // 共创账期结算支付时间
  149 + PaymentTime time.Time `json:"paymentTime"`
  150 + // 账期结算金额
  151 + SettlementAmount float64 `json:"settlementAmount"`
  152 + // 共创账期结算时间
  153 + SettlementTime time.Time `json:"settlementTime"`
140 } 154 }
141 ) 155 )