16 lines
446 B
Plaintext
16 lines
446 B
Plaintext
package com.healthcare.ohctech.repository;
|
|
|
|
import com.healthcare.ohctech.entity.Treatment;
|
|
import org.springframework.data.jpa.repository.JpaRepository;
|
|
import org.springframework.stereotype.Repository;
|
|
|
|
import java.util.List;
|
|
|
|
@Repository
|
|
public interface TreatmentRepo extends JpaRepository<Treatment, Long> {
|
|
void deleteByEmployeeAppointmentId(Long appointmentId);
|
|
List<Treatment> findByEmployeeAppointmentId(Long appointmentId);
|
|
}
|
|
|
|
|