| 36798 |
amit |
1 |
package com.spice.profitmandi.dao.service;
|
|
|
2 |
|
|
|
3 |
import java.util.Map;
|
|
|
4 |
|
|
|
5 |
/**
|
|
|
6 |
* Read-only analytics over the Beat Plan (PJP) feature for the running month.
|
|
|
7 |
* All metrics are computed live via cross-schema native SQL on each call.
|
|
|
8 |
*/
|
|
|
9 |
public interface RouteAnalyticsService {
|
|
|
10 |
|
|
|
11 |
/**
|
|
|
12 |
* @param monthStart first day of the running month, 'yyyy-MM-dd'
|
|
|
13 |
* @param monthEnd last day of the running month, 'yyyy-MM-dd'
|
|
|
14 |
* @param today current date (elapsed-MTD boundary), 'yyyy-MM-dd'
|
|
|
15 |
* @return a single payload map with all dashboard blocks
|
|
|
16 |
*/
|
|
|
17 |
Map<String, Object> currentMonthAnalytics(String monthStart, String monthEnd, String today);
|
|
|
18 |
}
|