Subversion Repositories SmartDukaan

Rev

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

Rev 29808 Rev 29810
Line 76... Line 76...
76
 
76
 
77
	@Autowired
77
	@Autowired
78
	private OfferTargetSlabRepository targetSlabRepository;
78
	private OfferTargetSlabRepository targetSlabRepository;
79
	
79
	
80
	@Autowired
80
	@Autowired
81
	CacheManager cacheManager;
81
	CacheManager thirtyMinsTimeOutCacheManager;
82
 
82
 
83
 
83
 
84
	private static final Logger LOGGER = LogManager.getLogger(OfferServiceImpl.class);
84
	private static final Logger LOGGER = LogManager.getLogger(OfferServiceImpl.class);
85
 
85
 
86
	@Override
86
	@Override
Line 334... Line 334...
334
					counter++;
334
					counter++;
335
				}
335
				}
336
				this.addOfferService(createOfferRequest);
336
				this.addOfferService(createOfferRequest);
337
			}
337
			}
338
		}
338
		}
339
		cacheManager.getCache("allOffers").clear();
339
		thirtyMinsTimeOutCacheManager.getCache("allOffers").evict(YearMonth.now());
340
 
340
 
341
	}
341
	}
342
 
342
 
343
	private Map<CreateOfferRequest, List<PartnerTargetModel>> parseFromExcel(InputStream inputStream)
343
	private Map<CreateOfferRequest, List<PartnerTargetModel>> parseFromExcel(InputStream inputStream)
344
			throws ProfitMandiBusinessException {
344
			throws ProfitMandiBusinessException {