Subversion Repositories SmartDukaan

Rev

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

Rev 24627 Rev 24628
Line 965... Line 965...
965
		Utils.sendMailWithAttachments(googleMailSender,
965
		Utils.sendMailWithAttachments(googleMailSender,
966
				new String[] { "amit.gupta@shop2020.in", "neeraj.gupta@smartdukaan.com" }, null,
966
				new String[] { "amit.gupta@shop2020.in", "neeraj.gupta@smartdukaan.com" }, null,
967
				"Partner Excess Amount", "PFA",
967
				"Partner Excess Amount", "PFA",
968
				new Attachment[] { new Attachment("WalletSummary.csv", new ByteArrayResource(baos.toByteArray())),
968
				new Attachment[] { new Attachment("WalletSummary.csv", new ByteArrayResource(baos.toByteArray())),
969
						new Attachment("SchemeOutRolledback.csv", new ByteArrayResource(baosOuts.toByteArray())) });
969
						new Attachment("SchemeOutRolledback.csv", new ByteArrayResource(baosOuts.toByteArray())) });
-
 
970
		
-
 
971
		throw new Exception();
970
	}
972
	}
971
 
973
 
972
	public void dryRunSchemeOutReco1() throws Exception {
974
	public void dryRunSchemeOutReco1() throws Exception {
973
		List<Integer> references = Arrays.asList(6744, 7347, 8320, 8891, 9124, 9217, 9263, 9379);
975
		List<Integer> references = Arrays.asList(6744, 7347, 8320, 8891, 9124, 9217, 9263, 9379);
974
		List<UserWalletHistory> userWalletHistory = new ArrayList<>();
976
		List<UserWalletHistory> userWalletHistory = new ArrayList<>();
Line 1036... Line 1038...
1036
		Utils.sendMailWithAttachments(googleMailSender,
1038
		Utils.sendMailWithAttachments(googleMailSender,
1037
				new String[] { "amit.gupta@shop2020.in", "neeraj.gupta@smartdukaan.com" }, null,
1039
				new String[] { "amit.gupta@shop2020.in", "neeraj.gupta@smartdukaan.com" }, null,
1038
				"Partner Excess Amount", "PFA",
1040
				"Partner Excess Amount", "PFA",
1039
				new Attachment[] { new Attachment("WalletSummary.csv", new ByteArrayResource(baos.toByteArray())),
1041
				new Attachment[] { new Attachment("WalletSummary.csv", new ByteArrayResource(baos.toByteArray())),
1040
						new Attachment("SchemeOutRolledback.csv", new ByteArrayResource(baosOuts.toByteArray())) });
1042
						new Attachment("SchemeOutRolledback.csv", new ByteArrayResource(baosOuts.toByteArray())) });
-
 
1043
		
-
 
1044
		throw new Exception();
1041
 
1045
 
1042
	}
1046
	}
1043
 
1047
 
1044
}
1048
}
1045
 
1049