Subversion Repositories SmartDukaan

Rev

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

Rev 4657 Rev 4674
Line 391... Line 391...
391
            }
391
            }
392
            //HashSet<String> tmpProductSet = new HashSet<String>();
392
            //HashSet<String> tmpProductSet = new HashSet<String>();
393
            ArrayList<String> prodList = new ArrayList<String>();
393
            ArrayList<String> prodList = new ArrayList<String>();
394
            Row commContentRow = null;
394
            Row commContentRow = null;
395
            for (Entry<Long, ArrayList<String>> txnEntry : dateTxnProductMap.get(date).entrySet()) {
395
            for (Entry<Long, ArrayList<String>> txnEntry : dateTxnProductMap.get(date).entrySet()) {
396
                affSerialNo++;
-
 
397
                prodList = txnEntry.getValue();
396
                prodList = txnEntry.getValue();
398
                Long txn = txnEntry.getKey();
397
                Long txn = txnEntry.getKey();
399
                for (String prodName : prodList) {
398
                for (String prodName : prodList) {
-
 
399
                    affSerialNo++;
400
                    commContentRow = affSheet.createRow(affSerialNo);
400
                    commContentRow = affSheet.createRow(affSerialNo);
401
                    commContentRow.createCell(0).setCellValue(date);
401
                    commContentRow.createCell(0).setCellValue(date);
402
                    commContentRow.getCell(0).setCellStyle(dateCellStyle);
402
                    commContentRow.getCell(0).setCellStyle(dateCellStyle);
403
                    commContentRow.createCell(1).setCellValue(prodName);
403
                    commContentRow.createCell(1).setCellValue(prodName);
404
                    commContentRow.createCell(2).setCellValue(txn);
404
                    commContentRow.createCell(2).setCellValue(txn);