Subversion Repositories SmartDukaan

Rev

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

Rev 32211 Rev 32421
Line 1090... Line 1090...
1090
 
1090
 
1091
    @Autowired
1091
    @Autowired
1092
    PriceDropIMEIRepository priceDropIMEIRepository;
1092
    PriceDropIMEIRepository priceDropIMEIRepository;
1093
 
1093
 
1094
    public void fixPriceDrop() throws ProfitMandiBusinessException {
1094
    public void fixPriceDrop() throws ProfitMandiBusinessException {
1095
        //List<Integer> priceDropIds = Arrays.asList(609, 610, 611, 648, 649, 650, 651, 653, 667, 691, 692, 693, 695, 696, 697, 698);
-
 
1096
        List<Integer> priceDropIds = Arrays.asList(609, 610, 611, 648, 649, 650, 651, 653, 667, 691, 692, 693, 695, 696, 697, 698, 645, 688);
1095
        List<Integer> priceDropIds = Arrays.asList(609, 610, 611, 648, 649, 650, 651, 653, 667, 691, 692, 693, 695, 696, 697, 698, 645, 688);
1097
        for (int priceDropId : priceDropIds) {
1096
        for (int priceDropId : priceDropIds) {
1098
            PriceDrop pd = priceDropRepository.selectById(priceDropId);
1097
            PriceDrop pd = priceDropRepository.selectById(priceDropId);
1099
            LOGGER.info("Price Drop ---- {}", pd);
1098
            LOGGER.info("Price Drop ---- {}", pd);
1100
            List<ImeiDropSummaryModel> actualList = priceDropService.getAllSerialNumbersByAffectedDate(pd.getAffectedOn(), pd.getCatalogItemId());
1099
            List<ImeiDropSummaryModel> actualList = priceDropService.getAllSerialNumbersByAffectedDate(pd.getAffectedOn(), pd.getCatalogItemId());