...
|
...
|
@@ -181,10 +181,14 @@ func (srv CompanyCreditAccountService) PaymentHistoryStatistics(cmd *command.Cre |
|
|
gateway := allied_creation_cooperation.NewHttplibAlliedCreationCooperation(
|
|
|
cmd.Operator)
|
|
|
|
|
|
var response = struct {
|
|
|
type responseType struct {
|
|
|
RankItems interface{} `json:"rankItems"`
|
|
|
TotalPaymentAmount interface{} `json:"totalPaymentAmount"`
|
|
|
}{}
|
|
|
}
|
|
|
var response = responseType{
|
|
|
RankItems: []struct{}{},
|
|
|
TotalPaymentAmount: 0,
|
|
|
}
|
|
|
cooperationContractNumbers, err := gateway.RelevantCooperationContractNumbers(allied_creation_cooperation.RelevantCooperationContractNumbers, map[string]interface{}{
|
|
|
"companyId": cmd.Operator.CompanyId,
|
|
|
"orgId": cmd.Operator.OrgId,
|
...
|
...
|
|