Skip to content

Commit

Permalink
Fixes #53 [Jobs] Send weekly reminder issue with PostgreSQL
Browse files Browse the repository at this point in the history
  • Loading branch information
ThuF committed Dec 19, 2022
1 parent eec574f commit 0478d2d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ var sql = 'SELECT DISTINCT "CHRONOS_EMPLOYEE".* FROM "CHRONOS_PROJECT", "CHRONOS
+ ' AND "EMPLOYEE_ID" = "ASSIGNMENT_EMPLOYEEID"'
+ ' AND "EMPLOYEE_ID" NOT IN ('
+ ' SELECT "TIMESHEET_EMPLOYEEID" FROM "CHRONOS_TIMESHEET"'
+ ' WHERE CURRENT_TIMESTAMP() BETWEEN "TIMESHEET_START" AND "TIMESHEET_END"'
+ ' WHERE CURRENT_TIMESTAMP BETWEEN "TIMESHEET_START" AND "TIMESHEET_END"'
+ ' AND "TIMESHEET_STATUS" IN (?, ?)'
+ ' )';

Expand Down

0 comments on commit 0478d2d

Please sign in to comment.