Subversion Repositories SmartDukaan

Rev

Rev 37460 | Rev 37497 | Go to most recent revision | 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
 
37442 ranu 25
    List<RbmBrandSoldModel> getBrandsSoldByRbm(int authId, int warehouseId, LocalDate startDate, LocalDate endDate);
26
 
37460 ranu 27
    List<RbmBrandPartnerCountModel> getBrandPartnerCountByRbm(int authId, int warehouseId, LocalDate startDate, LocalDate endDate);
28
 
37487 ranu 29
    List<WarehouseBuyingByMovementModel> getWarehouseBuyingByMovement(int warehouseId, LocalDate startDate, LocalDate endDate);
30
 
33997 ranu 31
    List<RbmTargetAndAchievementsModel> getRbmTargetsAndAchievemnts(LocalDate startDate, LocalDate endDate);
32
 
33917 ranu 33
    List<RbmArrViewModel> getRbmTodayArr(LocalDate todayDate) throws Exception;
34
 
35
    List<RbmArrViewModel> getRbmTodayArr() throws Exception;
36
 
33926 ranu 37
    void setMovementWiseRbmTargets();
38
 
33985 ranu 39
    void setMovementWiseRbmAchievement();
40
 
34055 ranu 41
    List<Sold15daysOldAgingModel> getAgingSale(LocalDate startDate, LocalDate endDate);
42
 
43
    List<Our15DaysOldAgingStock> our15DaysAgingStock();
44
 
36334 ranu 45
    List<WarehouseAgingStockModel> getWarehouseWiseAgingStock();
46
 
34103 ranu 47
    List<RbmBilledFofoIdsModel> getDateWiseBilledFofoIdByRbm(LocalDate startDate, LocalDate endDate);
48
 
35453 amit 49
    List<RbmWeeklyBillingModel> getWeeklyBillingDataForMonth(LocalDate monthStart, LocalDate monthEnd);
50
 
34641 ranu 51
    double calculateFofoIdTodayTarget(int fofoId, double secondryMtd, LocalDate date);
34880 ranu 52
 
53
    long getRemainingDaysInMonth(LocalDate date);
35631 ranu 54
 
55
    List<RbmCallTargetModel> getRbmCallTargetModels() throws Exception;
56
 
36234 ranu 57
    List<RbmCallTargetModel> getRbmCallTargetModels(LocalDate queryDate) throws Exception;
58
 
35631 ranu 59
    List<OutOfSequenceDetailModel> getOutOfSequenceDetails(int authId);
35645 ranu 60
 
35672 ranu 61
    List<CalledPartnerDetailModel> getCalledPartnerDetails(int authId) throws ProfitMandiBusinessException;
35670 ranu 62
 
35730 ranu 63
    List<CalledPartnerDetailModel> getCalledPartnerDetails(int authId, LocalDate date) throws ProfitMandiBusinessException;
64
 
35645 ranu 65
    List<List<String>> getRbmCallTargetRawDataByAuthId(int authId) throws Exception;
35852 ranu 66
 
67
    List<List<String>> getAllCallDataByDate(LocalDate date) throws Exception;
36596 ranu 68
 
69
    List<List<String>> getAllRbmCallTargetRawData() throws Exception;
33917 ranu 70
}