Subversion Repositories SmartDukaan

Rev

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

Rev 25865 Rev 25870
Line 763... Line 763...
763
 
763
 
764
		Map<Integer, List<Serializable>> partnerIdSalesHeadersMap = new HashMap<>();
764
		Map<Integer, List<Serializable>> partnerIdSalesHeadersMap = new HashMap<>();
765
 
765
 
766
		for (CustomRetailer cr : allCrList) {
766
		for (CustomRetailer cr : allCrList) {
767
			FofoStore fofoStore = fofoStoresMap.get(cr.getPartnerId());
767
			FofoStore fofoStore = fofoStoresMap.get(cr.getPartnerId());
-
 
768
			if(fofoStore==null) {
-
 
769
				LOGGER.info("Could not find Store {} in active Store", cr.getBusinessName());
-
 
770
				continue;
-
 
771
			}
768
			String code = fofoStore.getCode() + "";
772
			String code = fofoStore.getCode() + "";
769
			String storeName = "SmartDukaan-" + fofoStore.getCode().replaceAll("[a-zA-Z]", "");
773
			String storeName = "SmartDukaan-" + fofoStore.getCode().replaceAll("[a-zA-Z]", "");
770
			String businessName = cr.getBusinessName();
774
			String businessName = cr.getBusinessName();
771
			try {
775
			try {
772
				String stateManager = StringUtils.join(partnerEmailSalesMap.get(cr.getEmail()).getL2(), ", ");
776
				String stateManager = StringUtils.join(partnerEmailSalesMap.get(cr.getEmail()).getL2(), ", ");