title: How can I use query with RequestParam in Springboot?
body: <p>I have this query in repository :</p>
  <pre><code>@Query(&quot;Select e FROM Employee e WHERE &quot; +
  
              &quot;e.startDate LIKE CONCAT('%',:date,'%')&quot;+
  
             &quot;And e.salary &gt; LIKE CONCAT('%',:salary,'%')&quot;)
      List&lt;Employee&gt; searchEmployees(String query);
  </code></pre>
  <p>And this is my controller :</p>
  <pre><code>@GetMapping(path=&quot;/search&quot;)
     public ResponseEntity&lt;List&lt;Employee&gt;&gt; searchEmployees(@RequestParam(&quot;date&quot;)String query){
          return ResponseEntity.ok(employeeService.searchEmployees(query));
     }
  </code></pre>
  <p>I can't add second RequestParam to Controller. What is the concept when trying to add two RequestParam</p>