Subversion Repositories SmartDukaan

Rev

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

Rev 26619 Rev 26625
Line 442... Line 442...
442
						10, ProfitMandiConstants.CUTOFF_INVESTMENT));
442
						10, ProfitMandiConstants.CUTOFF_INVESTMENT));
443
 
443
 
444
				// Hardcoded for valentine
444
				// Hardcoded for valentine
445
				// Hardcoded for valentine
445
				// Hardcoded for valentine
446
 
446
 
447
				List<Offer> offers = offerRepository.selectAllBeforeEndDate();
447
				/*List<Offer> offers = offerRepository.selectAllBeforeEndDate();
448
				if (!offers.isEmpty()) {
448
				if (!offers.isEmpty()) {
449
					List<CreateOfferRequest> cors = new ArrayList<>();
449
					List<CreateOfferRequest> cors = new ArrayList<>();
450
					for (Offer offer : offers) {
450
					for (Offer offer : offers) {
451
 
451
 
452
						List<OfferPartner> offerPartners = offerPartnerRepository.selectByOfferId(offer.getId());
452
						List<OfferPartner> offerPartners = offerPartnerRepository.selectByOfferId(offer.getId());
Line 494... Line 494...
494
 
494
 
495
						}
495
						}
496
					}
496
					}
497
					model.addAttribute("offers", cors);
497
					model.addAttribute("offers", cors);
498
 
498
 
499
				}
499
				}*/
500
 
500
 
501
			} catch (ProfitMandiBusinessException e) {
501
			} catch (ProfitMandiBusinessException e) {
502
				LOGGER.error("FofoStore Code not found of fofoId {}", loginDetails.getFofoId());
502
				LOGGER.error("FofoStore Code not found of fofoId {}", loginDetails.getFofoId());
503
 
503
 
504
			}
504
			}