Java

    0

    0

    dilika

    This code creates a mapping for the POST /search-reporting HTTP request which will call the abstract service searchReporting. This service will take in the search wrapper and Pageable objects and return a ResponseEntity which will be an ok object.

    @PostMapping("search-reporting")
      public ResponseEntity<Page<Employee>> searchReporting(@RequestBody EmployeeReportingSearchWrapper searchWrapper, Pageable pageable) {
        return ok(this.abstractService.searchReporting(searchWrapper, pageable));
      }
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.