Subversion Repositories SmartDukaan

Rev

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

Rev 32006 Rev 32007
Line 989... Line 989...
989
    @Autowired
989
    @Autowired
990
    BrandRegionMappingRepository brandRegionMappingRepository;
990
    BrandRegionMappingRepository brandRegionMappingRepository;
991
 
991
 
992
    public void test() throws Exception {
992
    public void test() throws Exception {
993
        System.out.println("Starting test");
993
        System.out.println("Starting test");
994
        processScheme(LocalDate.of(2023,05, 01).atStartOfDay(), LocalDate.of(2023, 05, 2).atStartOfDay(), true);
994
        processScheme(LocalDate.of(2023,05, 01).atStartOfDay(), LocalDate.of(2023, 05, 2).atStartOfDay(), false);
995
        /*partnerTypeChangeService.getTypeOnDate(175139287, LocalDate.of(2023,02, 01));
995
        /*partnerTypeChangeService.getTypeOnDate(175139287, LocalDate.of(2023,02, 01));
996
        partnerTypeChangeService.getTypeOnDate(175139287, LocalDate.of(2023,03, 01));
996
        partnerTypeChangeService.getTypeOnDate(175139287, LocalDate.of(2023,03, 01));
997
        partnerTypeChangeService.getTypeOnDate(175139287, LocalDate.of(2023,04, 01));
997
        partnerTypeChangeService.getTypeOnDate(175139287, LocalDate.of(2023,04, 01));
998
        FofoStore fs = fofoStoreRepository.selectByRetailerId(175139287);
998
        FofoStore fs = fofoStoreRepository.selectByRetailerId(175139287);
999
        this.rolloutMarginForStoreOnMonth(fs, LocalDate.of(2023, 2, 1));
999
        this.rolloutMarginForStoreOnMonth(fs, LocalDate.of(2023, 2, 1));