Subversion Repositories SmartDukaan

Rev

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

Rev 25721 Rev 25722
Line 266... Line 266...
266
			pm.setFofoId(loginDetails.getFofoId());
266
			pm.setFofoId(loginDetails.getFofoId());
267
			plannedModel.add(pm);
267
			plannedModel.add(pm);
268
			LOGGER.info("plannedModel" + plannedModel);
268
			LOGGER.info("plannedModel" + plannedModel);
269
 
269
 
270
		}
270
		}
271
		List<String> emails = csService.getAuthUserByPartnerId(fofoId);
271
	//	List<String> emails = csService.getAuthUserByPartnerId(fofoId);
272
		emails.add(customRetailer.getEmail());
272
		//emails.add(customRetailer.getEmail());
-
 
273
		
-
 
274
		List<String> emails = new ArrayList<>();
-
 
275
		emails.add("tejbeer1710@gmail.com");
273
		LOGGER.info("emails" + emails);
276
		LOGGER.info("emails" + emails);
274
		ByteArrayOutputStream baos = FileUtil.getCSVByteStream(
277
		ByteArrayOutputStream baos = FileUtil.getCSVByteStream(
275
				Arrays.asList("Partner Id", "Partner Name", "Model Name", "Qty"),
278
				Arrays.asList("Partner Id", "Partner Name", "Model Name", "Qty"),
276
				plannedModel.stream()
279
				plannedModel.stream()
277
						.map(x -> Arrays.asList(x.getFofoId(), x.getStoreName(), x.getItemDescription(), x.getQty()))
280
						.map(x -> Arrays.asList(x.getFofoId(), x.getStoreName(), x.getItemDescription(), x.getQty()))