Subversion Repositories SmartDukaan

Rev

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

Rev 26593 Rev 26595
Line 1127... Line 1127...
1127
			if (districtMaster == null) {
1127
			if (districtMaster == null) {
1128
				districtMaster = districtMasterRepository.selectByShortnameNameAndStateShortName("FB", "HR");
1128
				districtMaster = districtMasterRepository.selectByShortnameNameAndStateShortName("FB", "HR");
1129
			}
1129
			}
1130
			LOGGER.info("Store id - {}", store.getId());
1130
			LOGGER.info("Store id - {}", store.getId());
1131
			com.spice.profitmandi.dao.entity.user.User user = userMap.get(store.getId());
1131
			com.spice.profitmandi.dao.entity.user.User user = userMap.get(store.getId());
1132
			String storeName = user.getName();
-
 
1133
			String urlString = districtMaster.getStateShortName() + "/"
1132
			String urlString = districtMaster.getStateShortName() + "/"
1134
					+ Utils.getHyphenatedString(districtMaster.getName()) + "/"
1133
					+ Utils.getHyphenatedString(districtMaster.getName()) + "/"
1135
					+ Utils.getHyphenatedString(store.getCode() + " " + storeName);
1134
					+ store.getCode();
1136
			fofoRetailerUrlMap.put(store.getId(), urlString);
1135
			fofoRetailerUrlMap.put(store.getId(), urlString);
1137
			LOGGER.info("Store is {} end", store);
1136
			LOGGER.info("Store is {} end", store);
1138
 
1137
 
1139
		}
1138
		}
1140
		return fofoRetailerUrlMap;
1139
		return fofoRetailerUrlMap;