| Line 140... |
Line 140... |
| 140 |
Arrays.asList("PartnerId", "Partner Name", "Reconciliation Date",
|
140 |
Arrays.asList("PartnerId", "Partner Name", "Reconciliation Date",
|
| 141 |
"Purchase Reconciled", "Wallet amount consumed", "Ordered Total", "Cancelled Total", "Refunded Total",
|
141 |
"Purchase Reconciled", "Wallet amount consumed", "Ordered Total", "Cancelled Total", "Refunded Total",
|
| 142 |
"Scheme In Reconciled", "Scheme In to Wallet", "Scheme In disbursed", "Scheme In rolledback",
|
142 |
"Scheme In Reconciled", "Scheme In to Wallet", "Scheme In disbursed", "Scheme In rolledback",
|
| 143 |
"SchemeOut Reconciled", "Scheme Out to Wallet", "Scheme Out Disbursed", "Scheme Out Rolledback"), rows);
|
143 |
"SchemeOut Reconciled", "Scheme Out to Wallet", "Scheme Out Disbursed", "Scheme Out Rolledback"), rows);
|
| 144 |
|
144 |
|
| 145 |
Utils.sendMailWithAttachment(mailSender, new String[] { "amit.gupta@shop2020.in" }, new String[] {},
|
145 |
Utils.sendMailWithAttachment(mailSender, new String[] { "amit.gupta@shop2020.in", "neeraj.gupta@smartdukaan.com" }, new String[] {},
|
| 146 |
reconciled ? "Reconciled Successfully" : "Reconciliation failed", "Report attached",
|
146 |
reconciled ? "Reconciled Successfully" : "Reconciliation failed", "Report attached",
|
| 147 |
String.format("reconciliation-%s.csv", FormattingUtils.formatDate(yesterday.atStartOfDay())),
|
147 |
String.format("reconciliation-%s.csv", FormattingUtils.formatDate(yesterday.atStartOfDay())),
|
| 148 |
new ByteArrayResource(baos.toByteArray()));
|
148 |
new ByteArrayResource(baos.toByteArray()));
|
| 149 |
}
|
149 |
}
|
| 150 |
|
150 |
|