~dhis2-devs-core/dhis2/nelushi

« back to all changes in this revision

Viewing changes to dhis-2/dhis-services/dhis-service-importexport/src/main/resources/sqlmap/calculatedDataElementAsDataElement.sqlmap.xml

  • Committer: Mike Nelushi
  • Date: 2014-08-04 14:21:11 UTC
  • Revision ID: mikeevolution@gmail.com-20140804142111-o00z0v3jrd1ta73k
Added the convertion module

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
                SELECT * FROM DataElement WHERE Calculated = 1 AND CalculatedValidFrom is not Null
37
37
        </select>
38
38
        
 
39
        <!-- <select id="getCalculatedDataElementAsDataElements" resultMap="calculatedDataElementAsDataElementResultMap">
 
40
                SELECT DE.DataElementID, DE.DataElementName, DE.DataElementShort, DE.DataElementDescription, DE.DataTypeID, DE.AggregateOperator, DE.SortOrder, 
 
41
                DE.DataElementDescriptionExtended,DE.UID, DE.DataElementCode, DE.LastUpdated, DE.Calculated, DP.DataPeriodTypeName 
 
42
                FROM DataElement DE, DataPeriodType DP 
 
43
                WHERE DE.DataPeriodTypeID = DP.DataPeriodTypeID AND NOT(DP.DataPeriodTypeName = "OnChange")  AND DE.Calculated = 1 AND DE.CalculatedValidFrom is not Null
 
44
        </select> -->
 
45
        
39
46
        
40
47
</sqlMap>