We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@DeleteMapping("/{ids}") fun deleteEmployee(@PathVariable ids: List<Long>): ResponseEntity<String> { employeeRepository.deleteIf { Employees.id.inList(ids) } return ResponseEntity("删除成功", HttpStatus.OK) } 提醒我 Type mismatch. Required: Query Found: List<Long> 请问这个问题该怎么解决一下?
@DeleteMapping("/{ids}") fun deleteEmployee(@PathVariable ids: List<Long>): ResponseEntity<String> { employeeRepository.deleteIf { Employees.id.inList(ids) } return ResponseEntity("删除成功", HttpStatus.OK) }
Type mismatch. Required: Query Found: List<Long>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
@DeleteMapping("/{ids}") fun deleteEmployee(@PathVariable ids: List<Long>): ResponseEntity<String> { employeeRepository.deleteIf { Employees.id.inList(ids) } return ResponseEntity("删除成功", HttpStatus.OK) }
提醒我
Type mismatch. Required: Query Found: List<Long>
请问这个问题该怎么解决一下?
The text was updated successfully, but these errors were encountered: