| | |
| | | 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; |
| | |
| | | appointmentNoticeSendMapper.toAppointmentNoticeLog(noticeSendDTO); |
| | | return appointmentNoticeLogRepository.save(appointmentNoticeLog); |
| | | } |
| | | |
| | | public List<AppointmentNoticeLog> findByAppointmentId(Long appointmentId){ |
| | | return appointmentNoticeLogRepository.findByAppointmentId(appointmentId); |
| | | } |
| | | } |