From bb9fdcca5e434a2c23eca50b198b0918e99cbc4c Mon Sep 17 00:00:00 2001
From: s-ikeda <26-s-ikeda-tmn@it-college.co.jp>
Date: Wed, 21 Oct 2026 13:23:51 +0900
Subject: [PATCH] =?UTF-8?q?=E3=82=A8=E3=83=A9=E3=83=BC=E8=A7=A3=E6=B6=88?=
=?UTF-8?q?=E5=BE=8C=E7=B7=A8=E9=9B=86?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
team1/pom.xml | 5 -----
.../repository/Borrow_BooksRepository.java | 7 +++++++
.../resources/templates/applicationList.html | 18 +++++++++++++-----
3 files changed, 20 insertions(+), 10 deletions(-)
diff --git a/team1/pom.xml b/team1/pom.xml
index 75ae850..0d4f3c7 100644
--- a/team1/pom.xml
+++ b/team1/pom.xml
@@ -74,11 +74,6 @@
spring-boot-starter-webmvc-test
test
-
- com.example
- HelloSpring
- 0.0.1-SNAPSHOT
-
diff --git a/team1/src/main/java/com/example/demo/repository/Borrow_BooksRepository.java b/team1/src/main/java/com/example/demo/repository/Borrow_BooksRepository.java
index a1595fc..482ec9f 100644
--- a/team1/src/main/java/com/example/demo/repository/Borrow_BooksRepository.java
+++ b/team1/src/main/java/com/example/demo/repository/Borrow_BooksRepository.java
@@ -1,5 +1,7 @@
package com.example.demo.repository;
+import java.util.Optional;
+
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
@@ -8,4 +10,9 @@ import com.example.demo.entity.Borrow_booksEntity;
@Repository
public interface Borrow_BooksRepository extends JpaRepository {
+ /*
+ * 申請者IDで検索
+ * */
+ Optional findByIdApplicant(Integer idApplicant);
+
}
diff --git a/team1/src/main/resources/templates/applicationList.html b/team1/src/main/resources/templates/applicationList.html
index 78c0050..3230bdf 100644
--- a/team1/src/main/resources/templates/applicationList.html
+++ b/team1/src/main/resources/templates/applicationList.html
@@ -25,13 +25,22 @@
-
+