diagnosis.dart 500 B

123456789101112131415161718
  1. import 'package:fis_jsonrpc/rpc.dart';
  2. class DiagnosisServiceMock extends VitalDiagnosisService {
  3. DiagnosisServiceMock(super.host);
  4. @override
  5. Future<PageCollection<DiagnosisAggregationRecord>>
  6. getDiagnosisAggregationPageAsync(DiagnosisPageRequest request) async {
  7. // 无数据
  8. final result = PageCollection<DiagnosisAggregationRecord>(
  9. dataCount: 0,
  10. pageIndex: request.pageIndex,
  11. pageSize: request.pageSize,
  12. pageData: [],
  13. );
  14. return result;
  15. }
  16. }