From 9fbf413a72ac13c58f94b433857084946c2e0d9e Mon Sep 17 00:00:00 2001 From: Jack <jack.su@pollex.com.tw> Date: 星期二, 11 一月 2022 17:14:05 +0800 Subject: [PATCH] [ADD] 新增查看預約單通知歷程的API --- pamapi/src/main/java/com/pollex/pam/service/AppointmentNoticeLogService.java | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/pamapi/src/main/java/com/pollex/pam/service/AppointmentNoticeLogService.java b/pamapi/src/main/java/com/pollex/pam/service/AppointmentNoticeLogService.java index 3f4c521..bfb0134 100644 --- a/pamapi/src/main/java/com/pollex/pam/service/AppointmentNoticeLogService.java +++ b/pamapi/src/main/java/com/pollex/pam/service/AppointmentNoticeLogService.java @@ -1,5 +1,7 @@ package com.pollex.pam.service; +import java.util.List; + import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; @@ -24,4 +26,8 @@ appointmentNoticeSendMapper.toAppointmentNoticeLog(noticeSendDTO); return appointmentNoticeLogRepository.save(appointmentNoticeLog); } + + public List<AppointmentNoticeLog> findByAppointmentId(Long appointmentId){ + return appointmentNoticeLogRepository.findByAppointmentId(appointmentId); + } } -- Gitblit v1.8.0