Subversion Repositories SmartDukaan

Rev

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

Rev 37497 Rev 37505
Line 61... Line 61...
61
    /**
61
    /**
62
     * Dated variant of {@link #setSalesAchievements()} for backfill.
62
     * Dated variant of {@link #setSalesAchievements()} for backfill.
63
     */
63
     */
64
    void setSalesAchievementsForDate(LocalDate date);
64
    void setSalesAchievementsForDate(LocalDate date);
65
 
65
 
-
 
66
    /**
-
 
67
     * Per-(auth × warehouse) live achievement for a specific Sales-hierarchy role
-
 
68
     * (category 4, escalation L1..L6) in a date range. Direct query — no RBM roll-up.
-
 
69
     */
-
 
70
    List<SalesHierarchyAchievedByMovementModel> getSalesAchievementByRole(
-
 
71
            int categoryId, String escalationType, LocalDate startDate, LocalDate endDate);
-
 
72
 
-
 
73
    /**
-
 
74
     * Monthly target per (auth × warehouse) for a specific Sales-hierarchy role,
-
 
75
     * looked up for the month of {@code refDate}. Sum of
-
 
76
     * {@code fofo.monthly_target.purchase} across each Sales person's assigned partners.
-
 
77
     */
-
 
78
    List<SalesHierarchyMonthlyTargetModel> getSalesMonthlyTargetByRole(
-
 
79
            int categoryId, String escalationType, LocalDate refDate);
-
 
80
 
66
    List<RbmTargetAndAchievementsModel> getRbmTargetsAndAchievemnts(LocalDate startDate, LocalDate endDate);
81
    List<RbmTargetAndAchievementsModel> getRbmTargetsAndAchievemnts(LocalDate startDate, LocalDate endDate);
67
 
82
 
68
    List<RbmArrViewModel> getRbmTodayArr(LocalDate todayDate) throws Exception;
83
    List<RbmArrViewModel> getRbmTodayArr(LocalDate todayDate) throws Exception;
69
 
84
 
70
    List<RbmArrViewModel> getRbmTodayArr() throws Exception;
85
    List<RbmArrViewModel> getRbmTodayArr() throws Exception;