Subversion Repositories SmartDukaan

Rev

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

Rev 32045 Rev 32046
Line 304... Line 304...
304
                }
304
                }
305
 
305
 
306
            }
306
            }
307
            if (!rows.isEmpty()) {
307
            if (!rows.isEmpty()) {
308
                ByteArrayOutputStream baos = FileUtil.getCSVByteStream(headers, rows);
308
                ByteArrayOutputStream baos = FileUtil.getCSVByteStream(headers, rows);
309
                this.sendMailWithAttachment(mailSender, new String[]{"tejbeer.kaur@smartdukaan.com"}, null, "Partner Performance", "PFA", "PartnerPerformance.csv", new ByteArrayResource(baos.toByteArray()));
309
                this.sendMailWithAttachment(mailSender, new String[]{storeGuyEntry.getKey()}, null, "Partner Performance", "PFA", "PartnerPerformance.csv", new ByteArrayResource(baos.toByteArray()));
310
            }
310
            }
311
 
311
 
312
        }
312
        }
313
 
313
 
314
 
314