Skip to content

Commit

Permalink
Merge pull request #276 from WE-ARE-RACCOONS/RAC-387
Browse files Browse the repository at this point in the history
RAC-387 feat : ν•„λ“œ 전체 쑰회 μΆ”κ°€
  • Loading branch information
ywj9811 authored May 24, 2024
2 parents 61cd0dc + 05bae8f commit db20042
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@ public Page<Senior> findAllByFieldSenior(String field, String postgradu, Pageabl
}

private BooleanExpression fieldSpecifier(String fields) {
if (fields.contains(ALL))
return TRUE;

String[] field = fields.split(",");
if (fields.contains(ETC))
return Arrays.stream(field)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ public ResponseDto<AllSeniorSearchResponse> getSearchSenior(@RequestParam String
}

@GetMapping("/field")
@Operation(summary = "λŒ€ν•™μ›μƒ ν•„λ“œ 검색", description = "λΆ„μ•Ό (λΆ„μ•Ό1,λΆ„μ•Ό2 μ΄λŸ°μ‹μœΌλ‘œ, λ‹€λ₯ΈλΆ„μ•Ό : others), λŒ€ν•™μ› ν•„μˆ˜ (λŒ€ν•™μ›1,λŒ€ν•™μ›2 μ΄λŸ°μ‹μœΌλ‘œ, λ‹€λ₯Έν•™κ΅ : others, 전체 : all), νŽ˜μ΄μ§€ 선택 ")
@Operation(summary = "λŒ€ν•™μ›μƒ ν•„λ“œ 검색", description = "λΆ„μ•Ό (λΆ„μ•Ό1,λΆ„μ•Ό2 μ΄λŸ°μ‹μœΌλ‘œ, λ‹€λ₯ΈλΆ„μ•Ό : others, 전체 : all), λŒ€ν•™μ› ν•„μˆ˜ (λŒ€ν•™μ›1,λŒ€ν•™μ›2 μ΄λŸ°μ‹μœΌλ‘œ, λ‹€λ₯Έν•™κ΅ : others, 전체 : all), νŽ˜μ΄μ§€ 선택 ")
public ResponseDto<AllSeniorSearchResponse> getFieldSenior(@RequestParam String field,
@RequestParam String postgradu,
@RequestParam(required = false) Integer page) {
Expand Down

0 comments on commit db20042

Please sign in to comment.