ohctechv3/.svn/pristine/3d/3d9bf4c71355fc9c81761787b6bdfd4d63c4de2a.svn-base
2024-10-28 15:03:36 +05:30

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);
}