import 'package:vital_local_database/index.dart'; import 'package:vitalapp/database/entities/exam.dart'; abstract class IExamRepository implements IDbRepositroy { /// 根据code获取实体 /// /// [code] 检查记录code /// /// [userCode] 医生Code Future singleByCodeWithUserCode(String code, String userCode); /// 查询居民所有体检列表 /// /// [patientCode] 居民Code /// /// [userCode] 医生Code /// /// [keys] 模板集合 Future> queryPatientAllList( String patientCode, String userCode, {List? keys}); /// 查询居民下的体检分页列表 /// /// [patientCode] 居民Code /// /// [userCode] 医生Code Future> queryPatientPagedList( String patientCode, String userCode, int pageIndex, { int pageSize = 50, }); }