Subversion Repositories SmartDukaan

Rev

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

Rev 27007 Rev 27079
Line 864... Line 864...
864
		}
864
		}
865
		purchaseReturnItems.stream().forEach(x -> purchaseReturnItemRepository.delete(x));
865
		purchaseReturnItems.stream().forEach(x -> purchaseReturnItemRepository.delete(x));
866
	}
866
	}
867
 
867
 
868
	public void processPd(int priceDropId) throws ProfitMandiBusinessException {
868
	public void processPd(int priceDropId) throws ProfitMandiBusinessException {
869
		priceDropService.processPriceDrop(priceDropId);
869
		priceDropService.processPriceDrop(priceDropId, false);
870
	}
870
	}
871
 
871
 
872
	public void fixScheme() throws Exception {
872
	public void fixScheme() throws Exception {
873
		LOGGER.info("Partner Types found\tPartnerType To Remove\tAmout to Rollback");
873
		LOGGER.info("Partner Types found\tPartnerType To Remove\tAmout to Rollback");
874
		final Map<Integer, Scheme> schemesMap = schemeRepository.selectAll().stream()
874
		final Map<Integer, Scheme> schemesMap = schemeRepository.selectAll().stream()