保誠-保戶業務員媒合平台
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);
   }
}