Subversion Repositories SmartDukaan

Rev

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

Rev 26991 Rev 26992
Line 457... Line 457...
457
		Map<Integer, List<CustomRetailer>> positionRetailerMap = new HashMap<>();
457
		Map<Integer, List<CustomRetailer>> positionRetailerMap = new HashMap<>();
458
		for (Position position : positions) {
458
		for (Position position : positions) {
459
			List<Integer> fofoIds = partnersPositionRepository.selectByPositionId(position.getId()).stream()
459
			List<Integer> fofoIds = partnersPositionRepository.selectByPositionId(position.getId()).stream()
460
					.map(x -> x.getFofoId()).collect(Collectors.toList());
460
					.map(x -> x.getFofoId()).collect(Collectors.toList());
461
 
461
 
-
 
462
			LOGGER.info("fofoIds - {}", fofoIds);
462
			if (!fofoIds.isEmpty()) {
463
			if (!fofoIds.isEmpty()) {
463
				if (fofoIds.contains(0)) {
464
				if (fofoIds.contains(0)) {
464
					fofoIds = partnerRegionRepository.selectByRegionId(position.getRegionId()).stream()
465
					fofoIds = partnerRegionRepository.selectByRegionId(position.getRegionId()).stream()
465
							.map(x -> x.getFofoId()).collect(Collectors.toList());
466
							.map(x -> x.getFofoId()).collect(Collectors.toList());
466
					if (fofoIds.contains(0)) {
467
					if (fofoIds.contains(0)) {