Subversion Repositories SmartDukaan

Rev

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

Rev 30333 Rev 30334
Line 1003... Line 1003...
1003
				PartnerSecondaryPlan psp = partnerSecondaryPlanRepository.selectByLocalDateBrand(plan.getBrand(),
1003
				PartnerSecondaryPlan psp = partnerSecondaryPlanRepository.selectByLocalDateBrand(plan.getBrand(),
1004
						LocalDate.now(), ptam.getFofoId(), true);
1004
						LocalDate.now(), ptam.getFofoId(), true);
1005
				LOGGER.info("psp" + psp);
1005
				LOGGER.info("psp" + psp);
1006
 
1006
 
1007
				if (psp == null) {
1007
				if (psp == null) {
1008
					if (plan.getTargetPlan() > 0) {
1008
					if (plan.getTargetPlan() > 0 && plan.getTargetPlan() != null) {
1009
 
1009
 
1010
						psp = new PartnerSecondaryPlan();
1010
						psp = new PartnerSecondaryPlan();
1011
						psp.setAuthId(authUser.getId());
1011
						psp.setAuthId(authUser.getId());
1012
						psp.setBrand(pspm.getKey());
1012
						psp.setBrand(pspm.getKey());
1013
						psp.setFofoId(pspm.getValue().getFofoId());
1013
						psp.setFofoId(pspm.getValue().getFofoId());