Subversion Repositories SmartDukaan

Rev

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

Rev 31370 Rev 31408
Line 952... Line 952...
952
			leadDetailRepository.persist(leadDetail);
952
			leadDetailRepository.persist(leadDetail);
953
			for (LeadBrandModel leadBrandModel : leadDetailModel.getLeadBrands()) {
953
			for (LeadBrandModel leadBrandModel : leadDetailModel.getLeadBrands()) {
954
 
954
 
955
				LeadBrand leadBrand = new LeadBrand();
955
				LeadBrand leadBrand = new LeadBrand();
956
				leadBrand.setBrand(leadBrandModel.getBrand());
956
				leadBrand.setBrand(leadBrandModel.getBrand());
957
				leadBrand.setValue(leadBrand.getValue());
957
				leadBrand.setValue(leadBrandModel.getValue());
958
				leadBrand.setLeadDetailId(leadDetail.getId());
958
				leadBrand.setLeadDetailId(leadDetail.getId());
959
				leadBrand.setLeadId(leadDetail.getLeadId());
959
				leadBrand.setLeadId(leadDetail.getLeadId());
960
				leadBrand.setCreatedTimestamp(LocalDateTime.now());
960
				leadBrand.setCreatedTimestamp(LocalDateTime.now());
961
				leadBrandRepository.persist(leadBrand);
961
				leadBrandRepository.persist(leadBrand);
962
 
962