Skip to content

Commit

Permalink
condition fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SodhiA1 committed Nov 30, 2023
1 parent 967e532 commit 1f09201
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ private SchoolEntity moveSchoolHelper(School school, School existingSchool) {
school.getSchoolNumber(), UUID.fromString(school.getDistrictId()));

if(school.getSchoolCategoryCode().equals(existingSchool.getSchoolCategoryCode()) &&
(school.getSchoolCategoryCode().equals(Constants.INDEPENDENT) || school.getSchoolCategoryCode().equals(Constants.NONINDEPENDENT)) && schools.isEmpty()) {
!school.getSchoolCategoryCode().equals(Constants.INDEPENDENT) && !school.getSchoolCategoryCode().equals(Constants.NONINDEPENDENT) && schools.isEmpty()) {
schoolEntity.setSchoolNumber(school.getSchoolNumber());
} else {
schoolEntity.setSchoolNumber(
Expand Down

0 comments on commit 1f09201

Please sign in to comment.