| Line 592... |
Line 592... |
| 592 |
UserInfo userInfo = (UserInfo)request.getAttribute("userInfo");
|
592 |
UserInfo userInfo = (UserInfo)request.getAttribute("userInfo");
|
| 593 |
User user = userRepository.selectById(userInfo.getUserId());
|
593 |
User user = userRepository.selectById(userInfo.getUserId());
|
| 594 |
RetailerFofoInterest retailerInterest = new RetailerFofoInterest();
|
594 |
RetailerFofoInterest retailerInterest = new RetailerFofoInterest();
|
| 595 |
retailerInterest.setCity(user.getCity());
|
595 |
retailerInterest.setCity(user.getCity());
|
| 596 |
retailerInterest.setMobile(user.getMobileNumber());
|
596 |
retailerInterest.setMobile(user.getMobileNumber());
|
| 597 |
retailerInterest.setPinCode(user.getPinCode());
|
- |
|
| 598 |
retailerInterest.setUserId(userInfo.getUserId());
|
597 |
retailerInterest.setUserId(userInfo.getUserId());
|
| 599 |
if(user.getPinCode()!=null){
|
598 |
if(user.getPinCode()!=null){
|
| 600 |
retailerInterest.setPinCode(user.getPinCode());
|
599 |
retailerInterest.setPinCode(user.getPinCode());
|
| 601 |
}
|
600 |
}
|
| 602 |
retailerInterest.setInterestShownOn(new Date());
|
601 |
retailerInterest.setInterestShownOn(new Date());
|