Subversion Repositories SmartDukaan

Rev

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

Rev 26533 Rev 26535
Line 9... Line 9...
9
import java.util.Map;
9
import java.util.Map;
10
import java.util.Set;
10
import java.util.Set;
11
import java.util.function.Function;
11
import java.util.function.Function;
12
import java.util.stream.Collectors;
12
import java.util.stream.Collectors;
13
 
13
 
-
 
14
import javax.mail.StoreClosedException;
-
 
15
 
14
import org.apache.logging.log4j.LogManager;
16
import org.apache.logging.log4j.LogManager;
15
import org.apache.logging.log4j.Logger;
17
import org.apache.logging.log4j.Logger;
16
import org.hibernate.annotations.Cache;
18
import org.hibernate.annotations.Cache;
17
import org.springframework.beans.factory.annotation.Autowired;
19
import org.springframework.beans.factory.annotation.Autowired;
18
import org.springframework.beans.factory.annotation.Qualifier;
20
import org.springframework.beans.factory.annotation.Qualifier;
Line 1116... Line 1118...
1116
				DistrictMaster districtMaster = districtMasterRepository.selectByShortName(shortName);
1118
				DistrictMaster districtMaster = districtMasterRepository.selectByShortName(shortName);
1117
				com.spice.profitmandi.dao.entity.user.User user = userMap.get(store.getId());
1119
				com.spice.profitmandi.dao.entity.user.User user = userMap.get(store.getId());
1118
				String storeName = user.getName();
1120
				String storeName = user.getName();
1119
				String urlString = 
1121
				String urlString = 
1120
				districtMaster.getStateShortName() + "/" + Utils.getHyphenatedString(districtMaster.getName()) + "/"
1122
				districtMaster.getStateShortName() + "/" + Utils.getHyphenatedString(districtMaster.getName()) + "/"
1121
				+ Utils.getHyphenatedString(storeName);
1123
				+ Utils.getHyphenatedString(store.getCode() + " " + storeName);
1122
				fofoRetailerUrlMap.put(store.getId(), urlString);
1124
				fofoRetailerUrlMap.put(store.getId(), urlString);
1123
				
1125
				
1124
			}
1126
			}
1125
			return fofoRetailerUrlMap;
1127
			return fofoRetailerUrlMap;
1126
	}
1128
	}