Changes related to the response of the Dashboard Widget for Super Admin API.

This commit is contained in:
rajesh
2025-01-15 18:03:27 +05:30
parent 60af83221e
commit 727fa506dc
3 changed files with 13 additions and 4 deletions

View File

@@ -179,7 +179,8 @@ public class DashboardDao {
stats.put(GepafinConstant.APPLICATION_PER_CALL, applicationsPerCall.stream().map(result -> {
Map<String, Object> callData = new HashMap<>();
callData.put(GepafinConstant.CALL_NAME, result[0]); // Call name
callData.put(GepafinConstant.NUMBER_OF_APPLICATIONS, result[1]); // Application count
callData.put(GepafinConstant.NUMBER_OF_APPLICATIONS, result[1]);// Application count
callData.put(GepafinConstant.NUMBER_OF_DRAFT_APPLICATIONS, result[2]);// Application count
return callData;
}).toList());