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