2 Commits

Author SHA1 Message Date
h-seya
177b326baa [ADD]:トップメニューに戻るボタンを追加 2026-09-30 09:50:34 +09:00
h-seya
513f1fe53a [EDIT]:貸出中図書一覧表示エラーの修正 2026-09-29 16:32:56 +09:00
3 changed files with 51 additions and 42 deletions

View File

@@ -27,7 +27,7 @@ public class BookLendService {
private EmployeeRepository employeeRepository;
public List<BookLend> findAll() {
return bookLendRepository.findAll();
return bookLendRepository.findBybookStatus(1);
}

View File

@@ -12,6 +12,12 @@
図書貸出処理
</h1>
<div class="float-end">
<a th:href="@{/topmenu}">
トップメニューへ
</a>
</div>
<p>
以下の図書を貸出します。貸出先の社員IDと返却予定日を入力してください。
</p>
@@ -20,8 +26,7 @@
図書情報
</h2>
<form th:action="@{/bookLend/confirm}" method="POST"
id="lendForm">
<form th:action="@{/bookLend/confirm}" method="POST" id="lendForm">
<div class="card-body">
<table class="info-table">

View File

@@ -10,6 +10,10 @@
<body>
<h1>貸出中図書一覧</h1>
<div class="float-end">
<a th:href="@{/topmenu}">トップメニューへ</a>
</div>
<table>