| Line 706... |
Line 706... |
| 706 |
byte[] buffer = new byte[respsonseEntity.getContent().available()];
|
706 |
byte[] buffer = new byte[respsonseEntity.getContent().available()];
|
| 707 |
respsonseEntity.getContent().read(buffer);
|
707 |
respsonseEntity.getContent().read(buffer);
|
| 708 |
String[] to = { "amod.sen@smartdukaan.com", "adeel.yazdani@smartdukaan.com", "kamini.sharma@smartdukaan.com",
|
708 |
String[] to = { "amod.sen@smartdukaan.com", "adeel.yazdani@smartdukaan.com", "kamini.sharma@smartdukaan.com",
|
| 709 |
"tarun.verma@smartdukaan.com", "chaitnaya.vats@smartdukaan.com", "mohinder.mutreja@smartdukaan.com" };
|
709 |
"tarun.verma@smartdukaan.com", "chaitnaya.vats@smartdukaan.com", "mohinder.mutreja@smartdukaan.com" };
|
| 710 |
Attachment attachment = new Attachment(
|
710 |
Attachment attachment = new Attachment(
|
| 711 |
"aeging-report-" + FormattingUtils.formatDate(LocalDateTime.now().minusDays(1) + ".csv"),
|
711 |
"aeging-report-" + FormattingUtils.formatDate(LocalDateTime.now().minusDays(1)) + ".csv",
|
| 712 |
new ByteArrayResource(buffer));
|
712 |
new ByteArrayResource(buffer));
|
| 713 |
Utils.sendMailWithAttachments(googleMailSender, to, null, "Stock Aeging Report", "PFA", attachment);
|
713 |
Utils.sendMailWithAttachments(googleMailSender, to, null, "Stock Aeging Report", "PFA", attachment);
|
| 714 |
}
|
714 |
}
|
| 715 |
|
715 |
|
| 716 |
public void moveImeisToPriceDropImeis() throws Exception {
|
716 |
public void moveImeisToPriceDropImeis() throws Exception {
|