Subversion Repositories SmartDukaan

Rev

Rev 36877 | Rev 36913 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 36877 Rev 36897
Line 8... Line 8...
8
 
8
 
9
import java.util.*;
9
import java.util.*;
10
 
10
 
11
/**
11
/**
12
 * Period analytics for the Beat Journey console — read-only native SQL, scoped to
12
 * Period analytics for the Beat Journey console — read-only native SQL, scoped to
13
 * the caller's downline via the auth-id / dtr-id sets. Reuses the same cross-schema
13
 * the caller's downline via the auth-id / dtr-id sets, with {@code IN (:ids)} scope
14
 * patterns as {@link RouteAnalyticsServiceImpl}, adding {@code IN (:ids)} scope
14
 * filters and blocks for KPIs, funnel, scorecard, coverage, utilization, deferrals,
15
 * filters and a few extra blocks (utilization, outcomes, findings).
15
 * travel, outcomes, and findings.
16
 *
16
 *
17
 * Empty scope is handled by substituting a sentinel id (-1) so every {@code IN}
17
 * Empty scope is handled by substituting a sentinel id (-1) so every {@code IN}
18
 * clause is valid and simply returns zeros rather than throwing.
18
 * clause is valid and simply returns zeros rather than throwing.
19
 */
19
 */
20
@Service
20
@Service