Subversion Repositories SmartDukaan

Rev

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

Rev 22197 Rev 22199
Line 81... Line 81...
81
			if (titles.containsKey(key)) {
81
			if (titles.containsKey(key)) {
82
				if(map.get(key)==null){
82
				if(map.get(key)==null){
83
					titlePathMap.put(titles.get(key), null);
83
					titlePathMap.put(titles.get(key), null);
84
				} else {
84
				} else {
85
					try {
85
					try {
86
						 com.spice.profitmandi.dao.entity.dtr.Document doc = documentRepository.selectById((Integer)map.get(key));
86
						 com.spice.profitmandi.dao.entity.dtr.Document doc = documentRepository.selectById(((Double)map.get(key)).intValue());
87
						 titlePathMap.put(key, doc.getPath() + doc.getName()); 
87
						 titlePathMap.put(key, doc.getPath() + doc.getName()); 
88
					} catch(ProfitMandiBusinessException e) {
88
					} catch(ProfitMandiBusinessException e) {
89
						titlePathMap.put(titles.get(key), null);
89
						titlePathMap.put(titles.get(key), null);
90
					}
90
					}
91
				}
91
				}