Subversion Repositories SmartDukaan

Rev

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

Rev 28887 Rev 28888
Line 514... Line 514...
514
		Set<Integer> activeFofoIds = fofoStoreRepository.selectActiveStores().stream().map(x -> x.getId())
514
		Set<Integer> activeFofoIds = fofoStoreRepository.selectActiveStores().stream().map(x -> x.getId())
515
				.collect(Collectors.toSet());
515
				.collect(Collectors.toSet());
516
		List<Position> categoryPositions = positionRepository
516
		List<Position> categoryPositions = positionRepository
517
				.selectPositionByCategoryId(ProfitMandiConstants.TICKET_CATEGORY_SALES);
517
				.selectPositionByCategoryId(ProfitMandiConstants.TICKET_CATEGORY_SALES);
518
		categoryPositions.addAll(positionRepository
518
		categoryPositions.addAll(positionRepository
519
				.selectPositionByCategoryId(ProfitMandiConstants.TICKET_CATEGORY_SALES));
519
				.selectPositionByCategoryId(ProfitMandiConstants.TICKET_CATEGORY_RBM));
520
		Map<Integer, Position> positionsMap = categoryPositions.stream()
520
		Map<Integer, Position> positionsMap = categoryPositions.stream()
521
				.collect(Collectors.toMap(x -> x.getId(), x -> x));
521
				.collect(Collectors.toMap(x -> x.getId(), x -> x));
522
 
522
 
523
		Map<Integer, List<CustomRetailer>> positonPartnerMap = this.getPositionCustomRetailerMap(categoryPositions);
523
		Map<Integer, List<CustomRetailer>> positonPartnerMap = this.getPositionCustomRetailerMap(categoryPositions);
524
		for (Map.Entry<Integer, List<CustomRetailer>> positionPartnerEntry : positonPartnerMap.entrySet()) {
524
		for (Map.Entry<Integer, List<CustomRetailer>> positionPartnerEntry : positonPartnerMap.entrySet()) {