123456789101112131415161718192021 |
- import 'package:vital_local_database/core/interface/repository.dart';
- import 'package:vitalapp/database/entities/patient.dart';
- abstract class IPatientRepository
- implements IDbRepositroy<PatientEntity, PatientColumnsDefine> {
- /// 根据code获取实体
- Future<PatientEntity?> singleByCode(
- String code,
- String userCode,
- );
- /// 根据居民Code查找未上传数据列表
- ///
- /// [patientCode] 居民Code
- ///
- /// [syncState] 同步状态,不传搜索全部
- Future<bool> isNotUploadedPatient(
- String code,
- String userCode,
- );
- }
|