dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #18204
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 7587: Updated data set batchhandler
------------------------------------------------------------
revno: 7587
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2012-07-12 12:03:23 +0200
message:
Updated data set batchhandler
modified:
dhis-2/dhis-support/dhis-support-jdbc/src/main/java/org/hisp/dhis/jdbc/batchhandler/DataSetBatchHandler.java
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-support/dhis-support-jdbc/src/main/java/org/hisp/dhis/jdbc/batchhandler/DataSetBatchHandler.java'
--- dhis-2/dhis-support/dhis-support-jdbc/src/main/java/org/hisp/dhis/jdbc/batchhandler/DataSetBatchHandler.java 2012-06-30 19:03:55 +0000
+++ dhis-2/dhis-support/dhis-support-jdbc/src/main/java/org/hisp/dhis/jdbc/batchhandler/DataSetBatchHandler.java 2012-07-12 10:03:23 +0000
@@ -100,6 +100,7 @@
statementBuilder.setColumn( "allowfutureperiods" );
statementBuilder.setColumn( "dataentryform" );
statementBuilder.setColumn( "expirydays" );
+ statementBuilder.setColumn( "skipaggregation" );
}
protected void setValues( DataSet dataSet )
@@ -114,5 +115,6 @@
statementBuilder.setValue( dataSet.isAllowFuturePeriods() );
statementBuilder.setValue( dataSet.getDataEntryForm() != null ? dataSet.getDataEntryForm().getId() : null );
statementBuilder.setValue( dataSet.getExpiryDays() );
+ statementBuilder.setValue( dataSet.isSkipAggregation() );
}
}