From 32563ad9d3677282db3d1ee430cb5654e81dc1fd Mon Sep 17 00:00:00 2001 From: Chad Redman Date: Wed, 30 Aug 2023 00:42:09 -0400 Subject: [PATCH] Update student terms relative to October 2023 training --- .../container_files/seed-data/sisData.sql | 15 ++++++++------- .../container_files/seed-data/bootstrap.gsh | 6 +++--- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/ex101/ex101.1.1/container_files/seed-data/sisData.sql b/ex101/ex101.1.1/container_files/seed-data/sisData.sql index 5e5f03c..b8df03c 100644 --- a/ex101/ex101.1.1/container_files/seed-data/sisData.sql +++ b/ex101/ex101.1.1/container_files/seed-data/sisData.sql @@ -12589,18 +12589,19 @@ insert into sis_stu_programs (person_id, program_idx, acad_career_id, grad_year_ ('800002994',1,'UGRD','2025','AS','MCB','AC'), ('800002998',1,'UGRD','2025','AS','PHY','AC'); -/* make the original term ranges more relevant to the current year -- march 2023 should have 2022 (recent grads) and active classes 2023-2026 */ +/* make the original term ranges more relevant to the current year -- october 2023 should have 2023 (recent grads) and active classes 2024-2027 */ -update sis_stu_programs set grad_year_expected = convert(grad_year_expected, UNSIGNED INTEGER) + 1 where grad_year_expected is not null; +update sis_stu_programs set grad_year_expected = convert(grad_year_expected, UNSIGNED INTEGER) + 2 where grad_year_expected is not null; /* count(*) | grad_year_expected ---------+------------------- 57 | null - 316 | 2022 - 301 | 2023 - 292 | 2024 - 306 | 2025 - 378 | 2026 + 316 | 2023 + 301 | 2024 + 292 | 2025 + 306 | 2026 + 378 | 2027 + */ commit; diff --git a/ex201/ex201.end/container_files/seed-data/bootstrap.gsh b/ex201/ex201.end/container_files/seed-data/bootstrap.gsh index 7f3ed7d..3641bb6 100644 --- a/ex201/ex201.end/container_files/seed-data/bootstrap.gsh +++ b/ex201/ex201.end/container_files/seed-data/bootstrap.gsh @@ -12,10 +12,10 @@ import java.text.SimpleDateFormat; /***** START Defaults that may need to be changed for each class *****/ -Range ACTIVE_CLASS_YEARS = 2023..2026 -int RECENT_GRADUATE_YEAR = 2022 +Range ACTIVE_CLASS_YEARS = 2024..2027 +int RECENT_GRADUATE_YEAR = 2023 java.util.Calendar cal = Calendar.getInstance() -cal.set(2023, Calendar.MARCH, 31, 17, 0, 0) +cal.set(2023, Calendar.DECEMBER, 31, 17, 0, 0) java.util.Date RECENT_GRAD_END_DATE = cal.time /***** END Defaults that may need to be changed for each class *****/