Skip to content
New issue

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

Type mismatch. #534

Closed
weifengze opened this issue Jan 16, 2024 · 0 comments
Closed

Type mismatch. #534

weifengze opened this issue Jan 16, 2024 · 0 comments

Comments

@weifengze
Copy link

weifengze commented Jan 16, 2024

@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>
请问这个问题该怎么解决一下?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant