|
|
|
@ -69,7 +69,8 @@ public class DashboardController {
|
|
|
|
|
@RequestParam(defaultValue = "10") int limit) {
|
|
|
|
|
JSONObject params = analysis.toParams(analysis.getTimezone());
|
|
|
|
|
orgManager.checkOrg(manager,params);
|
|
|
|
|
return dashboardService.getTopTradePartners(params, limit);
|
|
|
|
|
params.put("limit", limit);
|
|
|
|
|
return dashboardService.getTopTradePartners(params);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@ManagerMapping("/rank_trade_partners")
|
|
|
|
|