You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: api/src/main/java/ca/bc/gov/educ/studentdatacollection/api/constants/StudentValidationIssueTypeCode.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -101,7 +101,7 @@ public enum StudentValidationIssueTypeCode {
101
101
REFUGEE_IS_ADULT("REFUGEEISADULT", "Adults are not eligible for February newcomer refugee funding.", FUNDING_WARNING),
102
102
SUMMER_PUBLIC_SCHOOL_GRADE_ERROR("SUMMERPUBLICSCHOOLGRADEERROR","8/9 cross enrolment students must be in grades 8 or 9", ERROR),
103
103
SUMMER_STUDENT_ALREADY_REPORTED_DISTRICT_ERROR("SUMMERSTUDENTREPORTEDINDISTRICTERROR","The student has already been reported by the district during the current school year.", ERROR),
104
-
SUMMER_STUDENT_ALREADY_REPORTED_AUTHORITY_ERROR("SUMMERSTUDENTREPORTEDINDISTRICTERROR","The student has already been reported by the authority during the current school year.", ERROR),
104
+
SUMMER_STUDENT_ALREADY_REPORTED_AUTHORITY_ERROR("SUMMERSTUDENTREPORTEDINAUTHORITYERROR","The student has already been reported by the authority during the current school year.", ERROR),
105
105
SUMMER_STUDENT_REPORTED_NOT_IN_DISTRICT_ERROR("SUMMERSTUDENTREPORTEDNOTINDISTRICTERROR","Student was not reported in Grade 8 or 9 this school year and cannot be reported in 8/9 cross enrolment in this collection.", FUNDING_WARNING),
106
106
SUMMER_ADULT_STUDENT_ERROR("SUMMERADULTSTUDENTERROR","Adult students cannot be reported in 8/9 cross enrolment", ERROR),
107
107
SUMMER_FUNDING_CODE_ERROR("SUMMERFUNDINGCODEERROR","Out of Province/International students cannot be reported in Summer collection", ERROR),
Copy file name to clipboardExpand all lines: api/src/main/java/ca/bc/gov/educ/studentdatacollection/api/repository/v1/SdcSchoolCollectionStudentRepository.java
+1-18Lines changed: 1 addition & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,6 @@
15
15
16
16
importjava.time.LocalDate;
17
17
importjava.util.List;
18
-
importjava.util.Map;
19
18
importjava.util.UUID;
20
19
21
20
@Repository
@@ -1135,23 +1134,7 @@ NOT IN (SELECT saga.sdcSchoolCollectionStudentID FROM SdcSagaEntity saga WHERE s
1135
1134
AND C.collectionID IN
1136
1135
(SELECT CE.collectionID FROM CollectionEntity CE WHERE CE.collectionStatusCode = 'COMPLETED' ORDER BY CE.snapshotDate DESC LIMIT :noOfCollections)
AND C.collectionID = SDC.collectionEntity.collectionID
1144
-
AND C.collectionID = SSC.collectionEntity.collectionID
1145
-
AND SDC.sdcDistrictCollectionID = SSC.sdcDistrictCollectionID
1146
-
AND SSC.sdcSchoolCollectionID = SSCS.sdcSchoolCollection.sdcSchoolCollectionID
1147
-
AND SSCS.assignedStudentId in :assignedStudentIDs
1148
-
AND C.collectionID != :collectionID
1149
-
AND SSCS.fte > 0
1150
-
AND SSCS.sdcSchoolCollectionStudentStatusCode != 'DELETED'
1151
-
AND C.collectionID IN
1152
-
(SELECT CE.collectionID FROM CollectionEntity CE WHERE CE.collectionStatusCode = 'COMPLETED' AND CE.snapshotDate < :snapshotDate ORDER BY CE.snapshotDate DESC LIMIT :noOfCollections)
0 commit comments