-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ca134f1
commit fe25892
Showing
7 changed files
with
35 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 0 additions & 24 deletions
24
api/src/main/java/ca/bc/gov/educ/eas/api/controller/v1/PENRecordController.java
This file was deleted.
Oops, something went wrong.
24 changes: 24 additions & 0 deletions
24
api/src/main/java/ca/bc/gov/educ/eas/api/controller/v1/StudentMergeController.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
package ca.bc.gov.educ.eas.api.controller.v1; | ||
|
||
import ca.bc.gov.educ.eas.api.endpoint.v1.StudentMergeEndpoint; | ||
import ca.bc.gov.educ.eas.api.service.v1.StudentMergeService; | ||
import ca.bc.gov.educ.eas.api.struct.v1.StudentMerge; | ||
import lombok.extern.slf4j.Slf4j; | ||
import org.springframework.web.bind.annotation.RestController; | ||
|
||
import java.util.List; | ||
|
||
@Slf4j | ||
@RestController | ||
public class StudentMergeController implements StudentMergeEndpoint { | ||
private final StudentMergeService studentMergeService; | ||
|
||
public StudentMergeController(StudentMergeService studentMergeService){ | ||
this.studentMergeService = studentMergeService; | ||
} | ||
|
||
@Override | ||
public List<StudentMerge> getMergedStudentsForDateRange(String createDateStart, String createDateEnd){ | ||
return studentMergeService.getMergedStudentsForDateRange(createDateStart, createDateEnd); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters