Skip to content

Instantly share code, notes, and snippets.

@alamer
Created September 1, 2020 09:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save alamer/8377785e5ff8162fd3cfc23385cd3901 to your computer and use it in GitHub Desktop.
Save alamer/8377785e5ff8162fd3cfc23385cd3901 to your computer and use it in GitHub Desktop.
QuerydslPredicateController
@GetMapping("department/{uuid}")
@Operation(summary = "Task list")
@Parameter(name = "number",description = "Task number",in = ParameterIn.QUERY,
content = @Content(schema = @Schema(
type = "string"
)))
@Parameter(name = "clientCategory",description = "Client category",in = ParameterIn.QUERY,
content = @Content(schema = @Schema(
type = "string"
)))
public TaskDetailsDto findTasksByDepartment(
@Parameter(hidden = true),
@PathVariable("uuid") UUID departmentId) {
return taskDetailsService.findTaskByDepartment(departmentId,predicate);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment