Erweiterungen
This commit is contained in:
@@ -79,9 +79,6 @@ public class JobStatisticsTool {
|
|||||||
log.info("MCP Tool: Getting revenue by customer, limit: {}", limit);
|
log.info("MCP Tool: Getting revenue by customer, limit: {}", limit);
|
||||||
|
|
||||||
int actualLimit = limit != null ? limit : 10;
|
int actualLimit = limit != null ? limit : 10;
|
||||||
Map<String, BigDecimal> revenueMap = statisticsService.getRevenueByCustomer();
|
|
||||||
List<de.assecutor.votianlt.model.Job> allJobs = statisticsService.getJobsByStatus(null);
|
|
||||||
|
|
||||||
return statisticsService.getTopCustomersByRevenue(actualLimit).stream()
|
return statisticsService.getTopCustomersByRevenue(actualLimit).stream()
|
||||||
.map(entry -> {
|
.map(entry -> {
|
||||||
String customer = entry.getKey();
|
String customer = entry.getKey();
|
||||||
|
|||||||
Reference in New Issue
Block a user