parent
bfd70d94f1
commit
643f5aecdf
@ -0,0 +1,30 @@
|
|||||||
|
package com.hzu.bookingsystem.repository;
|
||||||
|
|
||||||
|
import com.hzu.bookingsystem.bean.LabRecordBean;
|
||||||
|
|
||||||
|
import org.springframework.data.jpa.repository.JpaRepository;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
|
||||||
|
public interface LabRecordRepository extends JpaRepository<LabRecordBean,String> {
|
||||||
|
|
||||||
|
|
||||||
|
LabRecordBean findByLrId(Integer lt_id);
|
||||||
|
|
||||||
|
|
||||||
|
LabRecordBean save(LabRecordBean labrecord) ;
|
||||||
|
|
||||||
|
|
||||||
|
List<LabRecordBean> findAll() ;
|
||||||
|
|
||||||
|
|
||||||
|
List<LabRecordBean> findByStatus(Integer status ) ;
|
||||||
|
|
||||||
|
|
||||||
|
void deleteBylrId(Integer lt_id);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in new issue