Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
4mjeo committed Sep 21, 2024
2 parents e041865 + 9b4f349 commit 8ce6bbb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -375,8 +375,13 @@ class StudentPersistenceAdapter(
)
.from(studentJpaEntity)
.where(
studentJpaEntity.user.school.id.eq(schoolId)
.and(name?.let { studentJpaEntity.name.contains(it) })
studentJpaEntity.user.school.id.eq(schoolId),
name?.let { studentJpaEntity.name.contains(it) }
)
.orderBy(
studentJpaEntity.grade.asc(),
studentJpaEntity.classRoom.asc(),
studentJpaEntity.number.asc()
)
.fetch()
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,6 @@ class StudentWebAdapter(
)
}

@Cacheable
@GetMapping
fun studentGetAllStudents(@RequestParam(required = false) name: String?): StudentsResponse {
return studentGetAllStudentsUseCase.execute(name)
Expand Down

0 comments on commit 8ce6bbb

Please sign in to comment.