fixed bug on VRE users
This commit is contained in:
parent
695bf798f9
commit
8c7bf2c22b
|
@ -176,7 +176,7 @@ public class AccountingDashboardHarvesterPlugin extends Plugin {
|
||||||
boolean getVREUsers = true;
|
boolean getVREUsers = true;
|
||||||
if (inputs.containsKey(GET_VRE_USERS_INPUT_PARAMETER)) {
|
if (inputs.containsKey(GET_VRE_USERS_INPUT_PARAMETER)) {
|
||||||
try {
|
try {
|
||||||
reRun = (boolean) inputs.get(GET_VRE_USERS_INPUT_PARAMETER);
|
getVREUsers = (boolean) inputs.get(GET_VRE_USERS_INPUT_PARAMETER);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
throw new IllegalArgumentException("'" + GET_VRE_USERS_INPUT_PARAMETER + "' must be a boolean");
|
throw new IllegalArgumentException("'" + GET_VRE_USERS_INPUT_PARAMETER + "' must be a boolean");
|
||||||
}
|
}
|
||||||
|
@ -482,7 +482,6 @@ public class AccountingDashboardHarvesterPlugin extends Plugin {
|
||||||
accountingRecords);
|
accountingRecords);
|
||||||
if (!dryRun) {
|
if (!dryRun) {
|
||||||
dao.insertRecords(accountingRecords.toArray(new AccountingRecord[1]));
|
dao.insertRecords(accountingRecords.toArray(new AccountingRecord[1]));
|
||||||
// dbaseManager.insertMonthlyData(start, end, data, reRun);
|
|
||||||
} else {
|
} else {
|
||||||
logger.debug("Harvested measures are {}", accountingRecords);
|
logger.debug("Harvested measures are {}", accountingRecords);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue