Subversion Repositories SmartDukaan

Rev

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

Rev 31652 Rev 31654
Line 4853... Line 4853...
4853
	}
4853
	}
4854
 
4854
 
4855
	public void getSpecialSupport() throws ProfitMandiBusinessException {
4855
	public void getSpecialSupport() throws ProfitMandiBusinessException {
4856
		WebListing webListing = webListingRepository.selectByUrl("special-support");
4856
		WebListing webListing = webListingRepository.selectByUrl("special-support");
4857
 
4857
 
4858
		List<Integer> catalogItemIds = schemeRepository.getActiveScheme(SchemeType.SPECIAL_SUPPORT, LocalDate.now());
4858
		List<Integer> catalogItemIds = schemeRepository.getActiveScheme(SchemeType.SPECIAL_SUPPORT,
-
 
4859
				LocalDate.now().plusDays(1));
4859
 
4860
 
4860
		LOGGER.info("catalogItemIds {}", catalogItemIds);
4861
		LOGGER.info("catalogItemIds {}", catalogItemIds);
4861
		if (!catalogItemIds.isEmpty()) {
4862
		if (!catalogItemIds.isEmpty()) {
4862
			webProductListingRepository.deleteByEqual(webListing.getId());
4863
			webProductListingRepository.deleteByEqual(webListing.getId());
4863
			int count = 0;
4864
			int count = 0;