Subversion Repositories SmartDukaan

Rev

Rev 36334 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
33917 ranu 1
package com.spice.profitmandi.service;
2
 
35672 ranu 3
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
33917 ranu 4
import com.spice.profitmandi.dao.model.*;
5
import org.springframework.stereotype.Service;
6
 
7
import java.time.LocalDate;
8
import java.util.List;
9
 
10
@Service
11
public interface RbmTargetService {
12
 
13
    List<WarehouseRbmTargetModel> getWarehouseWiseRbmMonthlyTarget();
14
 
15
    List<MTDAchievedTargetModel> getDateWiseAchievedTargetOfRbm(LocalDate startDate, LocalDate endDate);
16
 
17
    List<WarehouseMobileStockByMovementModel> getWarehouseMobileStockByMovement();
18
 
33991 ranu 19
    List<SoldCatalogsReportModel> getCatalogSoldReport(LocalDate startDate, LocalDate endDate);
20
 
33917 ranu 21
    int getWorkingDaysCount(LocalDate startDate);
22
 
34055 ranu 23
    List<TodayAchievedMovementModel> getMovementWiseAchievementByDate(LocalDate startDate, LocalDate endDate);
33917 ranu 24
 
33997 ranu 25
    List<RbmTargetAndAchievementsModel> getRbmTargetsAndAchievemnts(LocalDate startDate, LocalDate endDate);
26
 
33917 ranu 27
    List<RbmArrViewModel> getRbmTodayArr(LocalDate todayDate) throws Exception;
28
 
29
    List<RbmArrViewModel> getRbmTodayArr() throws Exception;
30
 
33926 ranu 31
    void setMovementWiseRbmTargets();
32
 
33985 ranu 33
    void setMovementWiseRbmAchievement();
34
 
34055 ranu 35
    List<Sold15daysOldAgingModel> getAgingSale(LocalDate startDate, LocalDate endDate);
36
 
37
    List<Our15DaysOldAgingStock> our15DaysAgingStock();
38
 
36334 ranu 39
    List<WarehouseAgingStockModel> getWarehouseWiseAgingStock();
40
 
34103 ranu 41
    List<RbmBilledFofoIdsModel> getDateWiseBilledFofoIdByRbm(LocalDate startDate, LocalDate endDate);
42
 
35453 amit 43
    List<RbmWeeklyBillingModel> getWeeklyBillingDataForMonth(LocalDate monthStart, LocalDate monthEnd);
44
 
34641 ranu 45
    double calculateFofoIdTodayTarget(int fofoId, double secondryMtd, LocalDate date);
34880 ranu 46
 
47
    long getRemainingDaysInMonth(LocalDate date);
35631 ranu 48
 
49
    List<RbmCallTargetModel> getRbmCallTargetModels() throws Exception;
50
 
36234 ranu 51
    List<RbmCallTargetModel> getRbmCallTargetModels(LocalDate queryDate) throws Exception;
52
 
35631 ranu 53
    List<OutOfSequenceDetailModel> getOutOfSequenceDetails(int authId);
35645 ranu 54
 
35672 ranu 55
    List<CalledPartnerDetailModel> getCalledPartnerDetails(int authId) throws ProfitMandiBusinessException;
35670 ranu 56
 
35730 ranu 57
    List<CalledPartnerDetailModel> getCalledPartnerDetails(int authId, LocalDate date) throws ProfitMandiBusinessException;
58
 
35645 ranu 59
    List<List<String>> getRbmCallTargetRawDataByAuthId(int authId) throws Exception;
35852 ranu 60
 
61
    List<List<String>> getAllCallDataByDate(LocalDate date) throws Exception;
36596 ranu 62
 
63
    List<List<String>> getAllRbmCallTargetRawData() throws Exception;
33917 ranu 64
}