...
|
...
|
@@ -364,6 +364,9 @@ func (ptr *CooperationStatisticsService) GetContractDividends(queryOptions map[s |
|
|
item["dividendsRatio"] = utils.Round(a.DividendsAmount/v.OrderGoodAmount*100, 2)
|
|
|
}
|
|
|
}
|
|
|
if a.DividendsPercentage > 0 {
|
|
|
item["dividendsRatio"] = a.DividendsPercentage
|
|
|
}
|
|
|
dividends = append(dividends, item)
|
|
|
}
|
|
|
res["dividends"] = dividends
|
...
|
...
|
|