parent
208d7de195
commit
6acf12fc86
@ -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,String> {
|
||||
|
||||
|
||||
LabRecord findByLrId(Integer lt_id);
|
||||
|
||||
|
||||
LabRecord save(LabRecord labrecord) ;
|
||||
|
||||
|
||||
List<LabRecord> findAll() ;
|
||||
|
||||
|
||||
List<LabRecord> findByStatus(Integer status ) ;
|
||||
|
||||
|
||||
void deleteBylrId(Integer lt_id);
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
Loading…
Reference in new issue