contract.dart 887 B

1234567891011121314151617181920212223242526272829
  1. import 'package:fis_jsonrpc/rpc.dart';
  2. import 'base.dart';
  3. abstract class IContractManager implements IManager {
  4. ///创建签约记录
  5. Future<String?> createContractRecordAsync(
  6. CreateContractRecordRequest request);
  7. ///根据居民code获取签约记录
  8. Future<PageCollection<ContractRecordDTO>?>
  9. getContractRecordPageByPatientCodeAsync(String patientCode);
  10. ///获取分页签约记录
  11. Future<PageCollection<ContractRecordDTO>?> getContractRecordPageAsync();
  12. ///获取合同详情
  13. Future<ContractRecordDTO?> getContractRecordDetailAsync(String patientCode);
  14. ///变更签约状态
  15. Future<bool> updateContractRecordStateAsync(
  16. String? code, ContractStateEnum? contractState, String? reason);
  17. ///删除签约记录
  18. Future<bool> removeContractRecordAsync(String code);
  19. ///续约
  20. Future<String> renewalContractRecordAsync(String code);
  21. }