From 86541ce0f13750d4c2d458e2bc4194ac7fd957d9 Mon Sep 17 00:00:00 2001 From: Mila <Mila@pollex.com.tw> Date: 星期六, 22 一月 2022 16:03:38 +0800 Subject: [PATCH] Merge branch 'Phase3' of https://192.168.0.10:8443/r/pcalife/PAM into Phase3 --- pamapi/src/main/java/com/pollex/pam/repository/AppointmentClosedInfoRepository.java | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/pamapi/src/main/java/com/pollex/pam/repository/AppointmentClosedInfoRepository.java b/pamapi/src/main/java/com/pollex/pam/repository/AppointmentClosedInfoRepository.java index 4b4454a..b5d23ad 100644 --- a/pamapi/src/main/java/com/pollex/pam/repository/AppointmentClosedInfoRepository.java +++ b/pamapi/src/main/java/com/pollex/pam/repository/AppointmentClosedInfoRepository.java @@ -1,5 +1,7 @@ package com.pollex.pam.repository; +import java.util.Optional; + import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; @@ -8,4 +10,6 @@ @Repository public interface AppointmentClosedInfoRepository extends JpaRepository<AppointmentClosedInfo, Long>{ + Optional<AppointmentClosedInfo> findByAppointmentId(Long apId); + } -- Gitblit v1.8.0