diff --git a/java/src/main/java/com/hzu/bookingsystem/repository/LabRecordRepository.java b/java/src/main/java/com/hzu/bookingsystem/repository/LabRecordRepository.java new file mode 100644 index 0000000..f11ecbb --- /dev/null +++ b/java/src/main/java/com/hzu/bookingsystem/repository/LabRecordRepository.java @@ -0,0 +1,30 @@ +package com.hzu.bookingsystem.repository; + +import com.hzu.bookingsystem.bean.LabRecord; +import org.apache.ibatis.annotations.Mapper; +import org.springframework.data.jpa.repository.JpaRepository; + +import java.util.List; + +@Mapper +public interface LabRecordRepository extends JpaRepository { + + + LabRecord findByLrId(Integer lt_id); + + + LabRecord save(LabRecord labrecord) ; + + + List findAll() ; + + + List findByStatus(Integer status ) ; + + + void deleteBylrId(Integer lt_id); + + + + +}