| | |
| | | import org.springframework.util.CollectionUtils; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import jakarta.servlet.http.HttpServletResponse; |
| | | import java.time.LocalDateTime; |
| | | import java.util.List; |
| | | |
| | |
| | | @GetMapping("/getByDocumentationId/{id}") |
| | | @ApiOperation("根据书籍id查询借阅记录") |
| | | @Log(title = "根据书籍id查询借阅记录", businessType = BusinessType.OTHER) |
| | | public AjaxResult getByDocumentationId(@PathVariable("id") Long id) { |
| | | public AjaxResult getByDocumentationId(@PathVariable Long id) { |
| | | return AjaxResult.success(documentationBorrowManagementService.selectByDocumentationId(id)); |
| | | } |
| | | @PostMapping("/add") |