dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #17295
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 6826: (DHIS14 Import) Exclude Calculated data elements from file imports. Not supported.
------------------------------------------------------------
revno: 6826
committer: Jason P. Pickering <jason.p.pickering@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2012-05-02 08:41:01 +0200
message:
(DHIS14 Import) Exclude Calculated data elements from file imports. Not supported.
modified:
dhis-2/dhis-services/dhis-service-importexport/src/main/resources/sqlmap/dataElement.sqlmap.xml
--
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-services/dhis-service-importexport/src/main/resources/sqlmap/dataElement.sqlmap.xml'
--- dhis-2/dhis-services/dhis-service-importexport/src/main/resources/sqlmap/dataElement.sqlmap.xml 2011-06-22 18:27:42 +0000
+++ dhis-2/dhis-services/dhis-service-importexport/src/main/resources/sqlmap/dataElement.sqlmap.xml 2012-05-02 06:41:01 +0000
@@ -28,11 +28,11 @@
<!-- Statement -->
<select id="getDataElement" resultMap="dataElementResultMap">
- SELECT * FROM DataElement WHERE DataElementID = #value#
+ SELECT * FROM DataElement WHERE DataElementID = #value# AND Calculated = 0
</select>
<select id="getDataElements" resultMap="dataElementResultMap">
- SELECT * FROM DataElement
+ SELECT * FROM DataElement WHERE Calculated = 0
</select>
<select id="getDataElementName" parameterClass="java.lang.Integer" resultClass="java.lang.String">