Subversion Repositories SmartDukaan

Rev

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