1234567891011121314151617181920212223242526272829303132333435363738 |
- import 'package:fis_jsonrpc/rpc.dart';
- import 'package:vitalapp/managers/interfaces/base.dart';
- /// 预约
- abstract class IAppointmentManager implements IManager {
- /// 分页获取健康检查预约数据
- Future<PageResult<HealthExamBookingDTO>?> getHealthExamBookingPageAsync({
- int? pageSize = 10,
- int? pageIndex = 1,
- String? keyword,
- });
- /// 新增/修改体检信息
- Future<String?> saveHealthExamBookingAsync(
- SaveHealthExamBookingRequest saveHealthExamBookingRequest,
- );
- ///解除预约
- Future<bool> cancelHealthExam(
- String code,
- String identityCard,
- );
- /// 查询体检详情
- Future<HealthExamBookingDTO?> getHealthExamBookingAsync({
- required String code,
- });
- /// 删除体检信息
- ///
- /// [code] 记录编号
- Future<bool> deleteHealthExamBookingAsync(String code);
- /// 根据身份证号码查询预约信息
- Future<HealthExamPersonDTO?> getExamBookingByIDCardAsync({
- String? idCardNo,
- });
- }
|