Skip to content

Commit

Permalink
EDX-1720 - Ignores grades offered columns when updating existing scho…
Browse files Browse the repository at this point in the history
…ol during replication to stop them being set to null
  • Loading branch information
mightycox committed Sep 14, 2023
1 parent 6d2653d commit 44721b8
Showing 1 changed file with 21 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,26 @@ public interface SchoolMapper {
@Mapping(target = "assetChangedBy", ignore = true)
@Mapping(target = "assetChangedDate", ignore = true)
@Mapping(target = "restrictFunding", ignore = true)
@Mapping(target = "grade01Ind", ignore = true)
@Mapping(target = "grade29Ind", ignore = true)
@Mapping(target = "grade04Ind", ignore = true)
@Mapping(target = "grade05Ind", ignore = true)
@Mapping(target = "grade06Ind", ignore = true)
@Mapping(target = "grade07Ind", ignore = true)
@Mapping(target = "grade08Ind", ignore = true)
@Mapping(target = "grade09Ind", ignore = true)
@Mapping(target = "grade10Ind", ignore = true)
@Mapping(target = "grade11Ind", ignore = true)
@Mapping(target = "grade12Ind", ignore = true)
@Mapping(target = "grade79Ind", ignore = true)
@Mapping(target = "grade89Ind", ignore = true)
@Mapping(target = "gradeKhInd", ignore = true)
@Mapping(target = "gradeKfInd", ignore = true)
@Mapping(target = "grade02Ind", ignore = true)
@Mapping(target = "grade03Ind", ignore = true)
@Mapping(target = "gradeEuInd", ignore = true)
@Mapping(target = "gradeSuInd", ignore = true)
@Mapping(target = "gradeHsInd", ignore = true)
@Mapping(target = "gradeGaInd", ignore = true)
void updateSchoolMaster(SchoolMasterEntity schoolMasterEntity, @MappingTarget SchoolMasterEntity targetEntity);
}

0 comments on commit 44721b8

Please sign in to comment.