diff --git a/java/src/main/java/com/hzu/bookingsystem/service/LabRecordService.java b/java/src/main/java/com/hzu/bookingsystem/service/LabRecordService.java new file mode 100644 index 0000000..3ff5873 --- /dev/null +++ b/java/src/main/java/com/hzu/bookingsystem/service/LabRecordService.java @@ -0,0 +1,58 @@ +package com.hzu.bookingsystem.service; + +import com.hzu.bookingsystem.bean.LabRecord; + +import java.util.List; + +public interface LabRecordService { + + + /** + * 新增申请记录 + * @param labrecord + * @return + */ + LabRecord add(LabRecord labrecord); + + /** + * 查看所有申请记录 + * @return + */ + List findAll(); + + /** + * 根据状态查询申请记录 + * @param stauts + * @return + */ + List findByStatus( Integer stauts ); + + /** + * 根据ID查询记录 + * @param lr_id + * @return + */ + LabRecord findById(Integer lr_id); + + /** + * 修改申请记录 + * @param labrecord + * @return + */ + LabRecord update(LabRecord labrecord); + + /** + * 根据Id查询申请记录 + * @param lr_id + */ + void deleteById(Integer lr_id); + + + + + + + + + +}