Skip to content
Snippets Groups Projects
Commit 72ff3650 authored by elengik2's avatar elengik2
Browse files

Merge branch 'uc41' into 'master'

[UC 41] PR review changes

See merge request !19
parents e37145d9 bbd15f3c
No related branches found
No related tags found
1 merge request!19[UC 41] PR review changes
...@@ -342,7 +342,7 @@ public class ApptDAO { ...@@ -342,7 +342,7 @@ public class ApptDAO {
conn = factory.getConnection(); conn = factory.getConnection();
pstring = conn.prepareStatement( pstring = conn.prepareStatement(
"SELECT * FROM appointment WHERE " + /*" sched_date.after(?)=TRUE AND sched_date.before(?)=TRUE");*/ "SELECT * FROM appointment WHERE " + // select appointments where
"DATE(sched_date)<=DATE_ADD(CURRENT_DATE, INTERVAL ? DAY) AND " + //sched_date day is before or at (numDays) days from now "DATE(sched_date)<=DATE_ADD(CURRENT_DATE, INTERVAL ? DAY) AND " + //sched_date day is before or at (numDays) days from now
"sched_date>=CURRENT_DATE"); // sched_date is after today "sched_date>=CURRENT_DATE"); // sched_date is after today
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment