From 83e97b7ec192390ce40df1150717a70345baa52c Mon Sep 17 00:00:00 2001 From: n-kawahito Date: Thu, 17 Sep 2026 10:56:57 +0900 Subject: [PATCH 1/4] =?UTF-8?q?[ADD]=E6=94=AF=E5=87=BA=E5=88=86=E6=9E=90?= =?UTF-8?q?=E7=94=BB=E9=9D=A2=EF=BC=88=E9=AA=A8=E7=B5=84=E3=81=BF=EF=BC=89?= =?UTF-8?q?=E3=81=AE=E4=BD=9C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/templates/analysis.html | 60 ++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 src/main/resources/templates/analysis.html diff --git a/src/main/resources/templates/analysis.html b/src/main/resources/templates/analysis.html new file mode 100644 index 0000000..31b6d9b --- /dev/null +++ b/src/main/resources/templates/analysis.html @@ -0,0 +1,60 @@ + + + + +分析画面 + + + + +

支出分析

+ + + + + + + + + + + + + + + + +
カテゴリ別支出前月比
総支出¥234,000+¥38,000
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
カテゴリ別支出前月比
コース比
食費¥34,000+¥8,000
+¥1,100
交通費¥14,000+¥8,000
+¥1,100
日用品¥4,000+¥8,000
+¥1,100
+ + + + \ No newline at end of file From 5506f5884b0a71bb8ab6d55c5e95cef72799dc5c Mon Sep 17 00:00:00 2001 From: n-kawahito Date: Thu, 17 Sep 2026 11:24:37 +0900 Subject: [PATCH 2/4] =?UTF-8?q?[EDIT]AllocationRepository=E3=81=ABcategory?= =?UTF-8?q?Id=E5=8F=96=E5=BE=97=E3=81=AE=E4=BD=9C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../demo/app/infra/repository/AllocationRepository.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/example/demo/app/infra/repository/AllocationRepository.java b/src/main/java/com/example/demo/app/infra/repository/AllocationRepository.java index 242ccdb..df6d8f6 100644 --- a/src/main/java/com/example/demo/app/infra/repository/AllocationRepository.java +++ b/src/main/java/com/example/demo/app/infra/repository/AllocationRepository.java @@ -1,10 +1,12 @@ package com.example.demo.app.infra.repository; +import java.util.List; + import org.springframework.data.jpa.repository.JpaRepository; import com.example.demo.app.infra.entity.AllocationEntity; public interface AllocationRepository extends JpaRepository{ - + List findByCourseId(Long courseId); } From 9bc5bd20ac24bc0f6c082521d238ab197b30711a Mon Sep 17 00:00:00 2001 From: n-kawahito Date: Thu, 17 Sep 2026 11:29:54 +0900 Subject: [PATCH 3/4] =?UTF-8?q?[DELETE&ADD]AnalysisServiceImpl.java?= =?UTF-8?q?=E3=81=AE=E3=83=95=E3=82=A1=E3=82=A4=E3=83=AB=E4=BD=8D=E7=BD=AE?= =?UTF-8?q?=E3=82=92=E4=BF=AE=E6=AD=A3=E3=81=97=E3=81=BE=E3=81=97=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../app/domain/service/{ => impl}/AnalysisServiceImpl.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) rename src/main/java/com/example/demo/app/domain/service/{ => impl}/AnalysisServiceImpl.java (89%) diff --git a/src/main/java/com/example/demo/app/domain/service/AnalysisServiceImpl.java b/src/main/java/com/example/demo/app/domain/service/impl/AnalysisServiceImpl.java similarity index 89% rename from src/main/java/com/example/demo/app/domain/service/AnalysisServiceImpl.java rename to src/main/java/com/example/demo/app/domain/service/impl/AnalysisServiceImpl.java index a75a085..66f4bbc 100644 --- a/src/main/java/com/example/demo/app/domain/service/AnalysisServiceImpl.java +++ b/src/main/java/com/example/demo/app/domain/service/impl/AnalysisServiceImpl.java @@ -1,8 +1,9 @@ -package com.example.demo.app.domain.service; +package com.example.demo.app.domain.service.impl; import org.springframework.stereotype.Service; import com.example.demo.app.domain.model.AnalysisModel; +import com.example.demo.app.domain.service.AnalysisService; import lombok.RequiredArgsConstructor; From 073ed5e8647fbada895fc7ddc8853a754d3f30a1 Mon Sep 17 00:00:00 2001 From: s-choi Date: Thu, 17 Sep 2026 12:36:35 +0900 Subject: [PATCH 4/4] =?UTF-8?q?[STYLE]=20=E6=94=B9=E8=A1=8C=E3=82=92?= =?UTF-8?q?=E8=BF=BD=E5=8A=A0=E3=81=97=E3=81=BE=E3=81=97=E3=81=9F=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../demo/app/infra/repository/TransactionRepository.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/example/demo/app/infra/repository/TransactionRepository.java b/src/main/java/com/example/demo/app/infra/repository/TransactionRepository.java index 933aa4f..478a3c0 100644 --- a/src/main/java/com/example/demo/app/infra/repository/TransactionRepository.java +++ b/src/main/java/com/example/demo/app/infra/repository/TransactionRepository.java @@ -21,5 +21,6 @@ public interface TransactionRepository extends JpaRepository