Subversion Repositories SmartDukaan

Rev

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

Rev 31238 Rev 32559
Line 432... Line 432...
432
		try {
432
		try {
433
			FofoStore fs = fofoStoreRepository.selectByRetailerId(loginDetails.getFofoId());
433
			FofoStore fs = fofoStoreRepository.selectByRetailerId(loginDetails.getFofoId());
434
			if (fs.getLatitude() == null) {
434
			if (fs.getLatitude() == null) {
435
				fs.setLatitude(location.getLatitude());
435
				fs.setLatitude(location.getLatitude());
436
				fs.setLongitude(location.getLongitude());
436
				fs.setLongitude(location.getLongitude());
437
				fofoStoreRepository.persist(fs);
-
 
438
			}
437
			}
439
			model.addAttribute("response1", response);
438
			model.addAttribute("response1", response);
440
		} catch (Exception e) {
439
		} catch (Exception e) {
441
			LOGGER.error("FofoStore Code not found of fofoId {}", loginDetails.getFofoId());
440
			LOGGER.error("FofoStore Code not found of fofoId {}", loginDetails.getFofoId());
442
		}
441
		}