Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Grad release 1.21.0 #658

Merged
merged 5 commits into from
Jun 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>ca.bc.gov.educ</groupId>
<artifactId>educ-grad-student-api</artifactId>
<version>1.8.59</version>
<version>1.8.60</version>
<name>educ-grad-student-api</name>
<description>Student Demographics API for GRAD team</description>

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
CREATE OR REPLACE VIEW REPORT_GRAD_SCHOOL_YE_VW AS
SELECT
COUNT(GRADUATION_STUDENT_RECORD_ID) STUD_NUM,
-- Revert code back to school of record GRAD2-2758
--SUBSTR(DECODE(A1.SCHOOL_AT_GRADUATION, NULL, A1.SCHOOL_OF_RECORD, A1.SCHOOL_AT_GRADUATION), 0, 3) MINCODE
A1.SCHOOL_OF_RECORD MINCODE
FROM
GRADUATION_STUDENT_RECORD A1
WHERE
A1.PROGRAM_COMPLETION_DATE is null
AND A1.STUDENT_STATUS_CODE = 'CUR'
AND (A1.STUDENT_GRADE ='AD' or A1.STUDENT_GRADE='12')
--GROUP BY SUBSTR(DECODE(A1.SCHOOL_AT_GRADUATION, NULL, A1.SCHOOL_OF_RECORD, A1.SCHOOL_AT_GRADUATION), 0, 3)
GROUP BY A1.SCHOOL_OF_RECORD
ORDER BY 1 DESC;

CREATE OR REPLACE VIEW REPORT_GRAD_DISTRICT_YE_VW AS
SELECT DISTINCT
-- Revert code back to school of record GRAD2-2758
--SUBSTR(DECODE(A1.SCHOOL_AT_GRADUATION, NULL, A1.SCHOOL_OF_RECORD, A1.SCHOOL_AT_GRADUATION), 0, 3) MINCODE
SUBSTR(A1.SCHOOL_OF_RECORD, 0, 3) MINCODE
FROM
GRADUATION_STUDENT_RECORD A1
WHERE
A1.PROGRAM_COMPLETION_DATE is null
AND A1.STUDENT_STATUS_CODE = 'CUR'
AND (A1.STUDENT_GRADE ='AD' or A1.STUDENT_GRADE='12')
--GROUP BY SUBSTR(DECODE(A1.SCHOOL_AT_GRADUATION, NULL, A1.SCHOOL_OF_RECORD, A1.SCHOOL_AT_GRADUATION), 0, 3)
GROUP BY SUBSTR(A1.SCHOOL_OF_RECORD, 0, 3)
ORDER BY 1 DESC;


Loading