logging
This commit is contained in:
parent
3eecb7e90d
commit
47b925e71b
1 changed files with 5 additions and 10 deletions
|
|
@ -161,7 +161,7 @@ public class OPListExportAdapter extends POIFindReplaceAdapter {
|
|||
InvoiceService.ERROR_CONFIG,
|
||||
"failed to update op-liste: " + e.getMessage());
|
||||
}
|
||||
logger.info("... completed!");
|
||||
logger.fine("... completed!");
|
||||
|
||||
return document;
|
||||
}
|
||||
|
|
@ -183,7 +183,7 @@ public class OPListExportAdapter extends POIFindReplaceAdapter {
|
|||
// zusaetzliche Zellen einfuegen...
|
||||
int newColumns = (currencyList.size() - 1) * 1;
|
||||
for (int i = 0; i < newColumns; i++) {
|
||||
logger.info(".. add currency column...");
|
||||
logger.fine(".. add currency column...");
|
||||
POIUtil.insertColumn(sheet, 5, 6 + i);
|
||||
}
|
||||
|
||||
|
|
@ -214,12 +214,8 @@ public class OPListExportAdapter extends POIFindReplaceAdapter {
|
|||
List<String> currencyList)
|
||||
throws PluginException, QueryException {
|
||||
|
||||
double saldo1 = 0;
|
||||
double saldo2 = 0;
|
||||
// load dummy rechnungen
|
||||
String spaceID = document.getItemValueString("space.ref");
|
||||
|
||||
logger.info("... space.ref=" + spaceID + " ...grouping invoices by spaceid....");
|
||||
logger.fine("... space.ref=" + spaceID + " ...grouping invoices by spaceid....");
|
||||
Map<String, List<ItemCollection>> invoiceMap = groupInvoicesBySpaceID(spaceID, filter);
|
||||
|
||||
CellReference categoryRefCell = new CellReference("A11");
|
||||
|
|
@ -288,7 +284,7 @@ public class OPListExportAdapter extends POIFindReplaceAdapter {
|
|||
|
||||
// jetzt füge alle Rechnungen an.
|
||||
for (ItemCollection invoice : invoices) {
|
||||
logger.info("......add invoice " + invoice.getUniqueID() + " -> Row=" + rowPos);
|
||||
logger.fine("......add invoice " + invoice.getUniqueID() + " -> Row=" + rowPos);
|
||||
|
||||
// now create a new line..
|
||||
XSSFRow row = sheet.createRow(rowPos);
|
||||
|
|
@ -375,7 +371,7 @@ public class OPListExportAdapter extends POIFindReplaceAdapter {
|
|||
}
|
||||
fileData.setName(targetName);
|
||||
// append document
|
||||
logger.info("...append new POI Template: " + targetName);
|
||||
logger.fine("...append new POI Template: " + targetName);
|
||||
document.addFileData(fileData);
|
||||
return fileData;
|
||||
}
|
||||
|
|
@ -411,7 +407,6 @@ public class OPListExportAdapter extends POIFindReplaceAdapter {
|
|||
if (filter) {
|
||||
Date date = invoice.getItemValueDate("invoice.duedate");
|
||||
if (invoiceService.isOverdue(date, invoice.getTaskID())) {
|
||||
// logger.info("...invoice - " +invoice.getUniqueID() + " is in overdue");
|
||||
invoiceList.add(invoice);
|
||||
}
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue