diff --git a/team1/pom.xml b/team1/pom.xml
index 75ae850..8b03b4f 100644
--- a/team1/pom.xml
+++ b/team1/pom.xml
@@ -79,6 +79,11 @@
HelloSpring
0.0.1-SNAPSHOT
+
+ com.example.rhizome
+ EM-Spring
+ 0.0.1-SNAPSHOT
+
diff --git a/team1/src/main/java/com/example/demo/controller/LendingController.java b/team1/src/main/java/com/example/demo/controller/LendingController.java
new file mode 100644
index 0000000..2c44fd6
--- /dev/null
+++ b/team1/src/main/java/com/example/demo/controller/LendingController.java
@@ -0,0 +1,82 @@
+package com.example.demo.controller;
+
+import java.util.logging.Level;
+import java.util.logging.Logger;
+
+import jakarta.servlet.http.HttpSession;
+
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Controller;
+import org.springframework.ui.Model;
+import org.springframework.web.bind.annotation.ModelAttribute;
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import main.java.com.example.rhizome.aop.aspect.PermissionCheck;
+import main.java.com.example.rhizome.aop.aspect.SessionCheck;
+import main.java.com.example.rhizome.app.presentation.controller.pageproperty.TransitionTargetPageNameKeyword;
+
+/**
+ * 書籍貸出申請に関する処理を制御するコントローラ
+ */
+@Controller
+public class LendingController {
+ // ログ出力用インスタンス
+ private final static Logger LOGGER = Logger.getLogger(LendingController.class.getName());
+ // エラーメッセージ用の定数フィールド
+ private final static String SEVERE_ERROR_MESSAGE = "エラーが発生しました!";
+
+ HttpSession httpSession;
+
+ //コンストラクタ注入(一番最初に動く処理)
+ @Autowired
+ public LendingController(HttpSession httpSession) {
+ this.httpSession = httpSession;
+ }
+
+ //画面を開くための初期化(!formクラス名要確認!)
+ @ModelAttribute
+ public LendingForm lendingForm() {
+ return new LendingForm();
+ }
+
+ @PermissionCheck
+ @SessionCheck
+ @RequestMapping(value = "反応するURLを記載", method = RequestMethod.POST)
+ public String confirmLending(@ModelAttribute("lendingForm") LendingForm lendingForm, Model model) {
+ try {
+
+ // HTML側の th:object="${lendingForm}" に渡すデータをセット
+ model.addAllAttribute("lendingForm", lendingForm);
+ // 貸出申請確認画面のHTML名を返す
+ return "applicationConform";
+ } catch (Exception e) {
+ //ログイン情報の破棄
+ httpSession.invalidate();
+
+ e.printStackTrace();
+
+ // エラーログ出力
+ LOGGER.log(Level.SEVERE, SEVERE_ERROR_MESSAGE, e);
+ // エラー画面遷移
+ return TransitionTargetPageNameKeyword.ERROR_HTML;
+
+ }
+
+ }
+ /**
+ * 書籍貸出申請 実行処理
+ *
+ * @param lendingForm 確認画面の隠しフィールド(hidden)から引き継いだデータ
+ * @param model ビューにデータを渡すためのコンテナ
+ * @return 遷移先の画面
+ */
+ @PermissionCheck
+ @SessionCheck
+ @RequestMapping(value = "反応するURLを記載", method = RequestMethod.POST)
+ public String executeLending(@ModelAttribute("lendingForm") LendingForm lendingForm, Model model) {
+ final String LENDING_COMPLETE = "書籍申請完了しました";
+ }
+ try {
+
+ }catch
+}
diff --git a/team1/src/main/resources/templates/application.html b/team1/src/main/resources/templates/application.html
new file mode 100644
index 0000000..bbdd703
--- /dev/null
+++ b/team1/src/main/resources/templates/application.html
@@ -0,0 +1,51 @@
+
+
+
+
+
+
+
+ 書籍貸出申請
+
+
+
+
+
+ ログイン者名:
+
+
+
+
+
+
+
+ 書籍一覧に戻る
+
+
+
\ No newline at end of file
diff --git a/team1/src/main/resources/templates/applicationComplete.html b/team1/src/main/resources/templates/applicationComplete.html
new file mode 100644
index 0000000..3c829ff
--- /dev/null
+++ b/team1/src/main/resources/templates/applicationComplete.html
@@ -0,0 +1,29 @@
+
+
+
+
+
+
+
+ 書籍貸出申請完了
+
+
+
+
+
+ ログイン者名:
+
+
+
+
+ 書籍申請完了しました
+
+
+ 書籍一覧に戻る
+
+
+ メニューに戻る
+
+
+
+
\ No newline at end of file
diff --git a/team1/src/main/resources/templates/applicationConfirm.html b/team1/src/main/resources/templates/applicationConfirm.html
new file mode 100644
index 0000000..42196dd
--- /dev/null
+++ b/team1/src/main/resources/templates/applicationConfirm.html
@@ -0,0 +1,55 @@
+
+
+
+
+
+
+
+ 書籍貸出申請確認
+
+
+
+
+
+ ログイン者名:
+
+
+
+
+ 申請情報入力に戻る
+
+
+
\ No newline at end of file