import 'package:fis_jsonrpc/rpc.dart'; import 'package:vitalapp/database/entities/defines.dart'; import 'package:vitalapp/database/entities/diagnosis.dart'; import 'base.dart'; abstract class IRecordDataCacheManager implements IManager { Future saveRecordData(String appDataId, String patientCode, Map diagnosisDataValue); Future recordSyncStateChange( String appDataId, { OfflineDataSyncState state = OfflineDataSyncState.success, }); Future getLastRecordByPatientCode(String patientCode); Future> getNoSubmitRecords(String patientCode); Future> convertDiagnosisDataToList( Map diagnosisDataValue); /// 校验是否有没有填写 Future> verifyDiagnosisDataList( Map diagnosisDataValue); }