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