dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #23685
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 11533: Cleanup code
------------------------------------------------------------
revno: 11533
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2013-07-29 11:48:19 +0700
message:
Cleanup code
modified:
dhis-2/dhis-services/dhis-service-patient/src/main/java/org/hisp/dhis/program/hibernate/HibernateProgramInstanceStore.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-services/dhis-service-patient/src/main/java/org/hisp/dhis/program/hibernate/HibernateProgramInstanceStore.java'
--- dhis-2/dhis-services/dhis-service-patient/src/main/java/org/hisp/dhis/program/hibernate/HibernateProgramInstanceStore.java 2013-07-26 04:11:41 +0000
+++ dhis-2/dhis-services/dhis-service-patient/src/main/java/org/hisp/dhis/program/hibernate/HibernateProgramInstanceStore.java 2013-07-29 04:48:19 +0000
@@ -268,12 +268,6 @@
schedulingProgramObjects.add( schedulingProgramObject );
}
-
- System.out.println(schedulingProgramObjects.size());
- for( SchedulingProgramObject schedulingProgramObject : schedulingProgramObjects )
- {
- System.out.println(schedulingProgramObject.getProgramInstanceId());
- }
return schedulingProgramObjects;
}
@@ -374,7 +368,6 @@
private String sendMessageToUserGroupsSql( String dateToCompare )
{
- System.out.println("String: "+dateToCompare);
return "select pi.programinstanceid, uif.phonenumber,prm.templatemessage, p.firstname, p.middlename, p.lastname, org.name as orgunitName ,"
+ " pg.name as programName, pi.dateofincident, pi.enrollmentdate, (DATE(now()) - DATE(pi.enrollmentdate) ) as days_since_erollment_date, "
+ "(DATE(now()) - DATE(pi.dateofincident) ) as days_since_incident_date "