Skip to content

Commit

Permalink
Revert "GRAD2-2639"
Browse files Browse the repository at this point in the history
This reverts commit b47c5d3.
  • Loading branch information
arybakov-cgi committed Sep 25, 2024
1 parent b47c5d3 commit 3bfe9ba
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,4 @@ public class BatchGradAlgorithmStudentEntity extends BaseEntity {

@Column(name = "ERROR", nullable = true)
private String error;

@Column(name = "SCHOOL_OF_RECORD_ID")
private UUID schoolOfRecordId;
}
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,4 @@ public class StudentCredentialDistributionEntity extends BaseEntity {

@Column(name = "ERROR", nullable = true)
private String error;

@Column(name = "SCHOOL_OF_RECORD_ID")
private UUID schoolOfRecordId;
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ public class StudentCredentialDistribution implements Serializable {
private UUID studentID;
private String paperType;
private String schoolOfRecord;
private UUID schoolOfRecordId;
private String documentStatusCode;

private String pen;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ public void saveStudentCredentialDistribution(Long batchId, String jobType, Stud
entity.setJobType(jobType);
entity.setStudentID(scd.getStudentID());
entity.setSchoolOfRecord(scd.getSchoolOfRecord());
entity.setSchoolOfRecordId(scd.getSchoolOfRecordId());
try {
String payload = jsonUtil.getJsonStringFromObject(scd);
entity.setPayload(payload);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,12 @@ public void testGetStudentCredentialDistributions() throws Exception {
entity.setStudentID(UUID.randomUUID());
entity.setJobType("DISTRUN");
entity.setSchoolOfRecord("12345678");
entity.setSchoolOfRecordId(UUID.randomUUID());

StudentCredentialDistribution dto = new StudentCredentialDistribution();
dto.setId(entity.getId());
dto.setStudentID(entity.getStudentID());
dto.setPen("123456789");
dto.setSchoolOfRecord(entity.getSchoolOfRecord());
dto.setSchoolOfRecordId(entity.getSchoolOfRecordId());

entity.setPayload(jsonUtil.getJsonStringFromObject(dto));

Expand Down Expand Up @@ -88,14 +86,12 @@ public void testSaveStudentCredentialDistribution() throws Exception {
entity.setJobExecutionId(batchId);
entity.setJobType("DISTRUN");
entity.setSchoolOfRecord("12345678");
entity.setSchoolOfRecordId(UUID.randomUUID());

StudentCredentialDistribution dto = new StudentCredentialDistribution();
dto.setId(entity.getId());
dto.setStudentID(entity.getStudentID());
dto.setPen("123456789");
dto.setSchoolOfRecord(entity.getSchoolOfRecord());
dto.setSchoolOfRecordId(entity.getSchoolOfRecordId());

entity.setPayload(jsonUtil.getJsonStringFromObject(dto));

Expand Down

0 comments on commit 3bfe9ba

Please sign in to comment.