数据操作类

master
17727267930 5 years ago
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…
Cancel
Save