Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cs427fa20team22
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
htmoss2
cs427fa20team22
Commits
72ff3650
Commit
72ff3650
authored
4 years ago
by
elengik2
Browse files
Options
Downloads
Plain Diff
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
iTrust/src/edu/ncsu/csc/itrust/dao/mysql/ApptDAO.java
+1
-1
1 addition, 1 deletion
iTrust/src/edu/ncsu/csc/itrust/dao/mysql/ApptDAO.java
with
1 addition
and
1 deletion
iTrust/src/edu/ncsu/csc/itrust/dao/mysql/ApptDAO.java
+
1
−
1
View file @
72ff3650
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
elengik2
@elengik2
mentioned in commit
cabaec8d
·
4 years ago
mentioned in commit
cabaec8d
mentioned in commit cabaec8d9b2d4fc84cc91f549b0866c82fe0b164
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment