Browse Source

Revert "更新接口"

This reverts commit d0643f0a9a1bd90b8e2e897ee88d815fea8e723a.
loki.wu 1 year ago
parent
commit
ac183a911e

+ 0 - 13
lib/services/aIDiagnosis.dart

@@ -22,7 +22,6 @@ class AIDiagnosisService extends JsonRpcClientBase {
 				) {
 		/// 注册响应实体反序列化处理器
 		FJsonConvert.setDecoder((map) => DiagnosisImageResult.fromJson(map));
-		FJsonConvert.setDecoder((map) => CarotidResultDTO.fromJson(map));
 		FJsonConvert.setDecoder((map) => DiagnosisReportResult.fromJson(map));
 		FJsonConvert.setDecoder((map) => GetDiagnosisConclusionResult.fromJson(map));
 		FJsonConvert.setDecoder((map) => GetDiagnosisEnumItemsResult.fromJson(map));
@@ -44,18 +43,6 @@ class AIDiagnosisService extends JsonRpcClientBase {
 		return result;
 	}
 
-	Future<DiagnosisImageResult> getDiagnosisImageResultByAIResultAsync(GetDiagnosisImageResultByAIResultRequest request) async {
-		var rpcRst = await call("GetDiagnosisImageResultByAIResultAsync", request);
-		var result = DiagnosisImageResult.fromJson(rpcRst as Map<String, dynamic>);
-		return result;
-	}
-
-	Future<CarotidResultDTO> getCarotidResultAsync(GetCarotidResultRequest request) async {
-		var rpcRst = await call("GetCarotidResultAsync", request);
-		var result = CarotidResultDTO.fromJson(rpcRst as Map<String, dynamic>);
-		return result;
-	}
-
 	Future<DiagnosisReportResult> diagnosisReportAsync(DiagnosisReportRequest request) async {
 		var rpcRst = await call("DiagnosisReportAsync", request);
 		var result = DiagnosisReportResult.fromJson(rpcRst as Map<String, dynamic>);

+ 0 - 92
lib/services/aIDiagnosis.m.dart

@@ -1,7 +1,5 @@
 import 'liveConsultation.m.dart';
 
-import 'package:fis_jsonrpc/utils.dart';
-
 class AIDiagnosisRect {
 	int right;
 	int bottom;
@@ -286,96 +284,6 @@ class DiagnosisImageRequest extends TokenRequest{
 	}
 }
 
-class GetDiagnosisImageResultByAIResultRequest {
-	String? fileUrl;
-	String? relationCode;
-	DateTime? createTime;
-	DateTime? updateTime;
-	String? aiResult;
-
-	GetDiagnosisImageResultByAIResultRequest({
-		this.fileUrl,
-		this.relationCode,
-		this.createTime,
-		this.updateTime,
-		this.aiResult,
-	});
-
-	factory GetDiagnosisImageResultByAIResultRequest.fromJson(Map<String, dynamic> map) {
-		return GetDiagnosisImageResultByAIResultRequest( 
-			fileUrl: map['FileUrl'],
-			relationCode: map['RelationCode'],
-			createTime: map['CreateTime'] != null ? DateTime.parse(map['CreateTime']) : null,
-			updateTime: map['UpdateTime'] != null ? DateTime.parse(map['UpdateTime']) : null,
-			aiResult: map['AiResult'],
-		);
-	}
-
-	Map<String, dynamic> toJson() {
-		final map = Map<String, dynamic>();
-		if(fileUrl != null)
-			map['FileUrl'] = fileUrl;
-		if(relationCode != null)
-			map['RelationCode'] = relationCode;
-		if(createTime != null)
-			map['CreateTime'] = JsonRpcUtils.dateFormat(createTime!);
-		if(updateTime != null)
-			map['UpdateTime'] = JsonRpcUtils.dateFormat(updateTime!);
-		if(aiResult != null)
-			map['AiResult'] = aiResult;
-		return map;
-	}
-}
-
-class GetCarotidResultRequest {
-	String? remedicalCode;
-	String? surfaceToken;
-	String? mdlToken;
-	CarotidScanTypeEnum carotidScanType;
-	CarotidScanDirectionEnum carotidScanDirection;
-	List<MeasureImageFileDTO >? measureImageFiles;
-	String? measureResult;
-
-	GetCarotidResultRequest({
-		this.remedicalCode,
-		this.surfaceToken,
-		this.mdlToken,
-		this.carotidScanType = CarotidScanTypeEnum.CarotidLeft,
-		this.carotidScanDirection = CarotidScanDirectionEnum.TopToBottom,
-		this.measureImageFiles,
-		this.measureResult,
-	});
-
-	factory GetCarotidResultRequest.fromJson(Map<String, dynamic> map) {
-		return GetCarotidResultRequest( 
-			remedicalCode: map['RemedicalCode'],
-			surfaceToken: map['SurfaceToken'],
-			mdlToken: map['MdlToken'],
-			carotidScanType: CarotidScanTypeEnum.values.firstWhere((e) => e.index == map['CarotidScanType']),
-			carotidScanDirection: CarotidScanDirectionEnum.values.firstWhere((e) => e.index == map['CarotidScanDirection']),
-			measureImageFiles: map['MeasureImageFiles'] != null ? (map['MeasureImageFiles'] as List).map((e)=>MeasureImageFileDTO.fromJson(e as Map<String,dynamic>)).toList() : null,
-			measureResult: map['MeasureResult'],
-		);
-	}
-
-	Map<String, dynamic> toJson() {
-		final map = Map<String, dynamic>();
-		if(remedicalCode != null)
-			map['RemedicalCode'] = remedicalCode;
-		if(surfaceToken != null)
-			map['SurfaceToken'] = surfaceToken;
-		if(mdlToken != null)
-			map['MdlToken'] = mdlToken;
-		map['CarotidScanType'] = carotidScanType.index;
-		map['CarotidScanDirection'] = carotidScanDirection.index;
-		if(measureImageFiles != null)
-			map['MeasureImageFiles'] = measureImageFiles;
-		if(measureResult != null)
-			map['MeasureResult'] = measureResult;
-		return map;
-	}
-}
-
 class DiagnosisPerImageDTO extends AIDiagnosisPerImageDTO{
 	String? remedicalCode;
 	RemedicalFileDataTypeEnum dataType;

+ 1 - 1
lib/services/authentication.m.dart

@@ -4261,7 +4261,7 @@ enum CustomerRpcCode {
 	OperatorNoJoined,
 	RemedicalCodesIsEmpty,
 	MeasureDataIsEmpty,
-	CanNotCollect,
+	placeHolder_4067,
 	placeHolder_4068,
 	placeHolder_4069,
 	placeHolder_4070,

+ 0 - 4
lib/services/device.m.dart

@@ -834,7 +834,6 @@ class DeviceServerSettingResult {
 	bool isSelfRtcService;
 	int remoteControlAskTimeoutSec;
 	String? liveProtocol;
-	TransactionStatusEnum liveProtocolType;
 
 	DeviceServerSettingResult({
 		this.serverConfigList,
@@ -849,7 +848,6 @@ class DeviceServerSettingResult {
 		this.isSelfRtcService = false,
 		this.remoteControlAskTimeoutSec = 0,
 		this.liveProtocol,
-		this.liveProtocolType = TransactionStatusEnum.Applied,
 	});
 
 	factory DeviceServerSettingResult.fromJson(Map<String, dynamic> map) {
@@ -866,7 +864,6 @@ class DeviceServerSettingResult {
 			isSelfRtcService: map['IsSelfRtcService'],
 			remoteControlAskTimeoutSec: map['RemoteControlAskTimeoutSec'],
 			liveProtocol: map['LiveProtocol'],
-			liveProtocolType: TransactionStatusEnum.values.firstWhere((e) => e.index == map['LiveProtocolType']),
 		);
 	}
 
@@ -887,7 +884,6 @@ class DeviceServerSettingResult {
 		map['RemoteControlAskTimeoutSec'] = remoteControlAskTimeoutSec;
 		if(liveProtocol != null)
 			map['LiveProtocol'] = liveProtocol;
-		map['LiveProtocolType'] = liveProtocolType.index;
 		return map;
 	}
 }

+ 9 - 21
lib/services/education.dart

@@ -23,10 +23,11 @@ class EducationService extends JsonRpcClientBase {
 				) {
 		/// 注册响应实体反序列化处理器
 		FJsonConvert.setDecoder((map) => CourseLabelDTO.fromJson(map));
-		FJsonConvert.setDecoder((map) => PageResult<CourseInfoDetailDTO>.fromJson(map));
+		FJsonConvert.setDecoder((map) => PageResult<CourseCommonInfoDTO>.fromJson(map));
+		FJsonConvert.setDecoder((map) => CourseCommonInfoDTO.fromJson(map));
 		FJsonConvert.setDecoder((map) => CourseInfoDetailDTO.fromJson(map));
-		FJsonConvert.setDecoder((map) => PageResult<CourseAlbumDTO>.fromJson(map));
-		FJsonConvert.setDecoder((map) => CourseAlbumDTO.fromJson(map));
+		FJsonConvert.setDecoder((map) => PageResult<MyCoursePageDTO>.fromJson(map));
+		FJsonConvert.setDecoder((map) => MyCoursePageDTO.fromJson(map));
 		FJsonConvert.setDecoder((map) => PageResult<UserGroupDTO>.fromJson(map));
 		FJsonConvert.setDecoder((map) => UserGroupDTO.fromJson(map));
 		FJsonConvert.setDecoder((map) => PageResult<VideoInfoDTO>.fromJson(map));
@@ -44,8 +45,6 @@ class EducationService extends JsonRpcClientBase {
 		FJsonConvert.setDecoder((map) => LiveCourseBaseResult.fromJson(map));
 		FJsonConvert.setDecoder((map) => LiveCourseMember.fromJson(map));
 		FJsonConvert.setDecoder((map) => RemoteExaminationPageDTO.fromJson(map));
-		FJsonConvert.setDecoder((map) => PageResult<CourseCommonInfoDTO>.fromJson(map));
-		FJsonConvert.setDecoder((map) => CourseCommonInfoDTO.fromJson(map));
 		FJsonConvert.setDecoder((map) => CourseAlbumExtendDTO.fromJson(map));
 		FJsonConvert.setDecoder((map) => BaseCourseAlbumDTO.fromJson(map));
 		FJsonConvert.setDecoder((map) => UserGroupStudentsDTO.fromJson(map));
@@ -64,9 +63,9 @@ class EducationService extends JsonRpcClientBase {
 		return rpcRst;
 	}
 
-	Future<PageResult<CourseInfoDetailDTO>> findCoursePagesAsync(FindCoursePagesRequest request) async {
+	Future<PageResult<CourseCommonInfoDTO>> findCoursePagesAsync(FindCoursePagesRequest request) async {
 		var rpcRst = await call("FindCoursePagesAsync", request);
-		var result = PageResult<CourseInfoDetailDTO>.fromJson(rpcRst as Map<String, dynamic>);
+		var result = PageResult<CourseCommonInfoDTO>.fromJson(rpcRst as Map<String, dynamic>);
 		return result;
 	}
 
@@ -86,15 +85,9 @@ class EducationService extends JsonRpcClientBase {
 		return result;
 	}
 
-	Future<PageResult<CourseInfoDetailDTO>> findMyCoursePagesAsync(FindMyCoursePagesRequest request) async {
+	Future<PageResult<MyCoursePageDTO>> findMyCoursePagesAsync(FindMyCoursePagesRequest request) async {
 		var rpcRst = await call("FindMyCoursePagesAsync", request);
-		var result = PageResult<CourseInfoDetailDTO>.fromJson(rpcRst as Map<String, dynamic>);
-		return result;
-	}
-
-	Future<PageResult<CourseAlbumDTO>> findMyAlbumPagesAsync(FindMyCoursePagesRequest request) async {
-		var rpcRst = await call("FindMyAlbumPagesAsync", request);
-		var result = PageResult<CourseAlbumDTO>.fromJson(rpcRst as Map<String, dynamic>);
+		var result = PageResult<MyCoursePageDTO>.fromJson(rpcRst as Map<String, dynamic>);
 		return result;
 	}
 
@@ -141,7 +134,7 @@ class EducationService extends JsonRpcClientBase {
 		return rpcRst;
 	}
 
-	Future<bool> signUpCourseAsync(SignUpCourseRequest request) async {
+	Future<String> signUpCourseAsync(SignUpCourseRequest request) async {
 		var rpcRst = await call("SignUpCourseAsync", request);
 		return rpcRst;
 	}
@@ -347,10 +340,5 @@ class EducationService extends JsonRpcClientBase {
 		return result;
 	}
 
-	Future<bool> sendInteractiveBoardDataAsync(SendLiveInteractiveBoardDataRequest request) async {
-		var rpcRst = await call("SendInteractiveBoardDataAsync", request);
-		return rpcRst;
-	}
-
 }
 

File diff suppressed because it is too large
+ 453 - 478
lib/services/education.m.dart


+ 0 - 5
lib/services/liveConsultation.dart

@@ -360,10 +360,5 @@ class LiveConsultationService extends JsonRpcClientBase {
 		return rpcRst;
 	}
 
-	Future<bool> syncBatchConsultationAsync(SyncBatchConsultationRequest syncBatchConsultationRequest) async {
-		var rpcRst = await call("SyncBatchConsultationAsync", syncBatchConsultationRequest);
-		return rpcRst;
-	}
-
 }
 

+ 0 - 145
lib/services/liveConsultation.m.dart

@@ -4915,149 +4915,4 @@ class ControlDeviceResponseRequest extends BaseControlDeviceRequest{
 	}
 }
 
-enum FollowUpVisitStatusEnum {
-	Unknown,
-	PendingVisit,
-	VisitCompleted,
-}
-
-class SyncConsultationRequest {
-	String? consultationCode;
-	DateTime? createTime;
-	DateTime? updateTime;
-	String? applyOrganizationCode;
-	String? applyUserCode;
-	String? expertOrganizationCode;
-	String? expertUserCode;
-	String? deviceCode;
-	String? scanUser;
-	List<DataItemDTO >? patientInfo;
-	String? scanPosition;
-	DateTime? consultationTime;
-	DateTime? consultationTimeEnd;
-	TransactionStatusEnum consultationStatus;
-	List<ConsultationFileDTO >? consultationFileList;
-	String? rejectReason;
-	String? description;
-	String? diseases;
-	String? primaryDiagnosis;
-	EvaluateGradeEnum evaluateGradeEnum;
-	FollowUpVisitStatusEnum followUpVisitStatus;
-
-	SyncConsultationRequest({
-		this.consultationCode,
-		this.createTime,
-		this.updateTime,
-		this.applyOrganizationCode,
-		this.applyUserCode,
-		this.expertOrganizationCode,
-		this.expertUserCode,
-		this.deviceCode,
-		this.scanUser,
-		this.patientInfo,
-		this.scanPosition,
-		this.consultationTime,
-		this.consultationTimeEnd,
-		this.consultationStatus = TransactionStatusEnum.Applied,
-		this.consultationFileList,
-		this.rejectReason,
-		this.description,
-		this.diseases,
-		this.primaryDiagnosis,
-		this.evaluateGradeEnum = EvaluateGradeEnum.UnSet,
-		this.followUpVisitStatus = FollowUpVisitStatusEnum.Unknown,
-	});
-
-	factory SyncConsultationRequest.fromJson(Map<String, dynamic> map) {
-		return SyncConsultationRequest( 
-			consultationCode: map['ConsultationCode'],
-			createTime: map['CreateTime'] != null ? DateTime.parse(map['CreateTime']) : null,
-			updateTime: map['UpdateTime'] != null ? DateTime.parse(map['UpdateTime']) : null,
-			applyOrganizationCode: map['ApplyOrganizationCode'],
-			applyUserCode: map['ApplyUserCode'],
-			expertOrganizationCode: map['ExpertOrganizationCode'],
-			expertUserCode: map['ExpertUserCode'],
-			deviceCode: map['DeviceCode'],
-			scanUser: map['ScanUser'],
-			patientInfo: map['PatientInfo'] != null ? (map['PatientInfo'] as List).map((e)=>DataItemDTO.fromJson(e as Map<String,dynamic>)).toList() : null,
-			scanPosition: map['ScanPosition'],
-			consultationTime: map['ConsultationTime'] != null ? DateTime.parse(map['ConsultationTime']) : null,
-			consultationTimeEnd: map['ConsultationTimeEnd'] != null ? DateTime.parse(map['ConsultationTimeEnd']) : null,
-			consultationStatus: TransactionStatusEnum.values.firstWhere((e) => e.index == map['ConsultationStatus']),
-			consultationFileList: map['ConsultationFileList'] != null ? (map['ConsultationFileList'] as List).map((e)=>ConsultationFileDTO.fromJson(e as Map<String,dynamic>)).toList() : null,
-			rejectReason: map['RejectReason'],
-			description: map['Description'],
-			diseases: map['Diseases'],
-			primaryDiagnosis: map['PrimaryDiagnosis'],
-			evaluateGradeEnum: EvaluateGradeEnum.values.firstWhere((e) => e.index == map['EvaluateGradeEnum']),
-			followUpVisitStatus: FollowUpVisitStatusEnum.values.firstWhere((e) => e.index == map['FollowUpVisitStatus']),
-		);
-	}
-
-	Map<String, dynamic> toJson() {
-		final map = Map<String, dynamic>();
-		if(consultationCode != null)
-			map['ConsultationCode'] = consultationCode;
-		if(createTime != null)
-			map['CreateTime'] = JsonRpcUtils.dateFormat(createTime!);
-		if(updateTime != null)
-			map['UpdateTime'] = JsonRpcUtils.dateFormat(updateTime!);
-		if(applyOrganizationCode != null)
-			map['ApplyOrganizationCode'] = applyOrganizationCode;
-		if(applyUserCode != null)
-			map['ApplyUserCode'] = applyUserCode;
-		if(expertOrganizationCode != null)
-			map['ExpertOrganizationCode'] = expertOrganizationCode;
-		if(expertUserCode != null)
-			map['ExpertUserCode'] = expertUserCode;
-		if(deviceCode != null)
-			map['DeviceCode'] = deviceCode;
-		if(scanUser != null)
-			map['ScanUser'] = scanUser;
-		if(patientInfo != null)
-			map['PatientInfo'] = patientInfo;
-		if(scanPosition != null)
-			map['ScanPosition'] = scanPosition;
-		if(consultationTime != null)
-			map['ConsultationTime'] = JsonRpcUtils.dateFormat(consultationTime!);
-		if(consultationTimeEnd != null)
-			map['ConsultationTimeEnd'] = JsonRpcUtils.dateFormat(consultationTimeEnd!);
-		map['ConsultationStatus'] = consultationStatus.index;
-		if(consultationFileList != null)
-			map['ConsultationFileList'] = consultationFileList;
-		if(rejectReason != null)
-			map['RejectReason'] = rejectReason;
-		if(description != null)
-			map['Description'] = description;
-		if(diseases != null)
-			map['Diseases'] = diseases;
-		if(primaryDiagnosis != null)
-			map['PrimaryDiagnosis'] = primaryDiagnosis;
-		map['EvaluateGradeEnum'] = evaluateGradeEnum.index;
-		map['FollowUpVisitStatus'] = followUpVisitStatus.index;
-		return map;
-	}
-}
-
-class SyncBatchConsultationRequest {
-	List<SyncConsultationRequest >? syncConsultations;
-
-	SyncBatchConsultationRequest({
-		this.syncConsultations,
-	});
-
-	factory SyncBatchConsultationRequest.fromJson(Map<String, dynamic> map) {
-		return SyncBatchConsultationRequest( 
-			syncConsultations: map['SyncConsultations'] != null ? (map['SyncConsultations'] as List).map((e)=>SyncConsultationRequest.fromJson(e as Map<String,dynamic>)).toList() : null,
-		);
-	}
-
-	Map<String, dynamic> toJson() {
-		final map = Map<String, dynamic>();
-		if(syncConsultations != null)
-			map['SyncConsultations'] = syncConsultations;
-		return map;
-	}
-}
-
 

+ 0 - 46
lib/services/notification.m.dart

@@ -95,7 +95,6 @@ enum NotificationTypeEnum {
 	RejectMeetingNotification,
 	StartEducationHeartRateToDeviceNotification,
 	AcceptMeetingNotification,
-	SendLiveInteractiveBoardDataNotification,
 }
 
 class NotificationDTO {
@@ -1977,51 +1976,6 @@ class NetworkErrCourseNotification extends NotificationDTO{
 	}
 }
 
-class SendLiveInteractiveBoardDataNotification extends NotificationDTO{
-	String? courseCode;
-	bool isClear;
-	String? userCode;
-	String? boardData;
-
-	SendLiveInteractiveBoardDataNotification({
-		NotificationTypeEnum notificationType = NotificationTypeEnum.Unknown,
-		this.courseCode,
-		this.isClear = false,
-		this.userCode,
-		this.boardData,
-		String? code,
-		bool isResponse = false,
-	}) : super(
-			notificationType: notificationType,
-			code: code,
-			isResponse: isResponse,
-		);
-
-	factory SendLiveInteractiveBoardDataNotification.fromJson(Map<String, dynamic> map) {
-		return SendLiveInteractiveBoardDataNotification( 
-			notificationType: NotificationTypeEnum.values.firstWhere((e) => e.index == map['NotificationType']),
-			courseCode: map['CourseCode'],
-			isClear: map['IsClear'],
-			userCode: map['UserCode'],
-			boardData: map['BoardData'],
-			code: map['Code'],
-			isResponse: map['IsResponse'],
-		);
-	}
-
-	Map<String, dynamic> toJson() {
-		final map = super.toJson();
-		if(courseCode != null)
-			map['CourseCode'] = courseCode;
-		map['IsClear'] = isClear;
-		if(userCode != null)
-			map['UserCode'] = userCode;
-		if(boardData != null)
-			map['BoardData'] = boardData;
-		return map;
-	}
-}
-
 class SwitchLiveCourseVideoNotification extends NotificationDTO{
 	String? courseCode;
 	bool opened;

+ 0 - 3
lib/services/notificationdecoder.dart

@@ -124,9 +124,6 @@ class NotificationDecoder {
 		_builders.add(NotificationTypeEnum.NetworkErrCourseNotification,
 				(map) => NetworkErrCourseNotification.fromJson(map));
 
-		_builders.add(NotificationTypeEnum.SendInteractiveBoardDataNotification,
-				(map) => SendLiveInteractiveBoardDataNotification.fromJson(map));
-
 		_builders.add(NotificationTypeEnum.SwitchLiveCourseVideoNotification,
 				(map) => SwitchLiveCourseVideoNotification.fromJson(map));
 

+ 0 - 4
lib/services/organization.m.dart

@@ -748,7 +748,6 @@ class ServerSettingResult {
 	String? cMSUrl;
 	bool isSelfRtcService;
 	String? liveProtocol;
-	TransactionStatusEnum liveProtocolType;
 
 	ServerSettingResult({
 		this.serverLangugeList,
@@ -760,7 +759,6 @@ class ServerSettingResult {
 		this.cMSUrl,
 		this.isSelfRtcService = false,
 		this.liveProtocol,
-		this.liveProtocolType = TransactionStatusEnum.Applied,
 	});
 
 	factory ServerSettingResult.fromJson(Map<String, dynamic> map) {
@@ -774,7 +772,6 @@ class ServerSettingResult {
 			cMSUrl: map['CMSUrl'],
 			isSelfRtcService: map['IsSelfRtcService'],
 			liveProtocol: map['LiveProtocol'],
-			liveProtocolType: TransactionStatusEnum.values.firstWhere((e) => e.index == map['LiveProtocolType']),
 		);
 	}
 
@@ -794,7 +791,6 @@ class ServerSettingResult {
 		map['IsSelfRtcService'] = isSelfRtcService;
 		if(liveProtocol != null)
 			map['LiveProtocol'] = liveProtocol;
-		map['LiveProtocolType'] = liveProtocolType.index;
 		return map;
 	}
 }

File diff suppressed because it is too large
+ 722 - 1083
lib/services/other.m.dart


+ 0 - 13
lib/services/patient.m.dart

@@ -437,9 +437,6 @@ class GetRecordsPageDTO {
 	bool isReferral;
 	ReferralStatusEnum referralStatus;
 	bool canCreateReport;
-	String? deviceCode;
-	bool isCollecting;
-	bool canCollcetImg;
 
 	GetRecordsPageDTO({
 		this.createTime,
@@ -456,9 +453,6 @@ class GetRecordsPageDTO {
 		this.isReferral = false,
 		this.referralStatus = ReferralStatusEnum.Wait,
 		this.canCreateReport = false,
-		this.deviceCode,
-		this.isCollecting = false,
-		this.canCollcetImg = false,
 	});
 
 	factory GetRecordsPageDTO.fromJson(Map<String, dynamic> map) {
@@ -477,9 +471,6 @@ class GetRecordsPageDTO {
 			isReferral: map['IsReferral'],
 			referralStatus: ReferralStatusEnum.values.firstWhere((e) => e.index == map['ReferralStatus']),
 			canCreateReport: map['CanCreateReport'],
-			deviceCode: map['DeviceCode'],
-			isCollecting: map['IsCollecting'],
-			canCollcetImg: map['CanCollcetImg'],
 		);
 	}
 
@@ -507,10 +498,6 @@ class GetRecordsPageDTO {
 		map['IsReferral'] = isReferral;
 		map['ReferralStatus'] = referralStatus.index;
 		map['CanCreateReport'] = canCreateReport;
-		if(deviceCode != null)
-			map['DeviceCode'] = deviceCode;
-		map['IsCollecting'] = isCollecting;
-		map['CanCollcetImg'] = canCollcetImg;
 		return map;
 	}
 }

+ 0 - 10
lib/services/recordInfo.dart

@@ -78,15 +78,5 @@ class RecordInfoService extends JsonRpcClientBase {
 		return result;
 	}
 
-	Future<bool> checkCollectingImgAsync(CheckCollectingImgRequest request) async {
-		var rpcRst = await call("CheckCollectingImgAsync", request);
-		return rpcRst;
-	}
-
-	Future<bool> startCollectingImgAsync(StartStartCollectingImgRequest request) async {
-		var rpcRst = await call("StartCollectingImgAsync", request);
-		return rpcRst;
-	}
-
 }
 

+ 0 - 59
lib/services/recordInfo.m.dart

@@ -132,8 +132,6 @@ class QueryRecordResult {
 	List<PatientInfoExt >? patientInfoExtList;
 	DiagnosisStatusEnum diagnosisStatus;
 	List<DiagnosisInfoDTO >? diagnosisInfos;
-	bool isCollecting;
-	DateTime? startCollectingTime;
 
 	QueryRecordResult({
 		this.createTime,
@@ -148,8 +146,6 @@ class QueryRecordResult {
 		this.patientInfoExtList,
 		this.diagnosisStatus = DiagnosisStatusEnum.NotRequired,
 		this.diagnosisInfos,
-		this.isCollecting = false,
-		this.startCollectingTime,
 	});
 
 	factory QueryRecordResult.fromJson(Map<String, dynamic> map) {
@@ -166,8 +162,6 @@ class QueryRecordResult {
 			patientInfoExtList: map['PatientInfoExtList'] != null ? (map['PatientInfoExtList'] as List).map((e)=>PatientInfoExt.fromJson(e as Map<String,dynamic>)).toList() : null,
 			diagnosisStatus: DiagnosisStatusEnum.values.firstWhere((e) => e.index == map['DiagnosisStatus']),
 			diagnosisInfos: map['DiagnosisInfos'] != null ? (map['DiagnosisInfos'] as List).map((e)=>DiagnosisInfoDTO.fromJson(e as Map<String,dynamic>)).toList() : null,
-			isCollecting: map['IsCollecting'],
-			startCollectingTime: map['StartCollectingTime'] != null ? DateTime.parse(map['StartCollectingTime']) : null,
 		);
 	}
 
@@ -194,9 +188,6 @@ class QueryRecordResult {
 		map['DiagnosisStatus'] = diagnosisStatus.index;
 		if(diagnosisInfos != null)
 			map['DiagnosisInfos'] = diagnosisInfos;
-		map['IsCollecting'] = isCollecting;
-		if(startCollectingTime != null)
-			map['StartCollectingTime'] = JsonRpcUtils.dateFormat(startCollectingTime!);
 		return map;
 	}
 }
@@ -452,54 +443,4 @@ class FindRemedicalMeasuredInfoRequest extends TokenRequest{
 	}
 }
 
-class CheckCollectingImgRequest extends TokenRequest{
-	String? deviceCode;
-
-	CheckCollectingImgRequest({
-		this.deviceCode,
-		String? token,
-	}) : super(
-			token: token,
-		);
-
-	factory CheckCollectingImgRequest.fromJson(Map<String, dynamic> map) {
-		return CheckCollectingImgRequest( 
-			deviceCode: map['DeviceCode'],
-			token: map['Token'],
-		);
-	}
-
-	Map<String, dynamic> toJson() {
-		final map = super.toJson();
-		if(deviceCode != null)
-			map['DeviceCode'] = deviceCode;
-		return map;
-	}
-}
-
-class StartStartCollectingImgRequest extends TokenRequest{
-	String? recordCode;
-
-	StartStartCollectingImgRequest({
-		this.recordCode,
-		String? token,
-	}) : super(
-			token: token,
-		);
-
-	factory StartStartCollectingImgRequest.fromJson(Map<String, dynamic> map) {
-		return StartStartCollectingImgRequest( 
-			recordCode: map['RecordCode'],
-			token: map['Token'],
-		);
-	}
-
-	Map<String, dynamic> toJson() {
-		final map = super.toJson();
-		if(recordCode != null)
-			map['RecordCode'] = recordCode;
-		return map;
-	}
-}
-
 

+ 0 - 25
lib/services/remedical.dart

@@ -125,11 +125,6 @@ class RemedicalService extends JsonRpcClientBase {
 		return result;
 	}
 
-	Future<String> getCollcetingRecordCodeAsync(TokenRequest request) async {
-		var rpcRst = await call("GetCollcetingRecordCodeAsync", request);
-		return rpcRst;
-	}
-
 	Future<MeasureApplicationDTO> getMeasureApplicationAsync(GetMeasureApplicationRequest request) async {
 		var rpcRst = await call("GetMeasureApplicationAsync", request);
 		var result = MeasureApplicationDTO.fromJson(rpcRst as Map<String, dynamic>);
@@ -303,25 +298,5 @@ class RemedicalService extends JsonRpcClientBase {
 		return rpcRst;
 	}
 
-	Future<bool> syncBatchRemedicalRecordsAsync(SyncBatchRemedicalRecordRequest request) async {
-		var rpcRst = await call("SyncBatchRemedicalRecordsAsync", request);
-		return rpcRst;
-	}
-
-	Future<bool> syncBatchUploadRemedicalDatasAsync(SyncBatchUploadRemedicalDatasRequest request) async {
-		var rpcRst = await call("SyncBatchUploadRemedicalDatasAsync", request);
-		return rpcRst;
-	}
-
-	Future<bool> syncBatchAIResultAsync(SyncBatchAIResultRequest request) async {
-		var rpcRst = await call("SyncBatchAIResultAsync", request);
-		return rpcRst;
-	}
-
-	Future<bool> syncBatchCarotidResultAsync(SyncBatchCarotidResultRequest request) async {
-		var rpcRst = await call("SyncBatchCarotidResultAsync", request);
-		return rpcRst;
-	}
-
 }
 

+ 0 - 273
lib/services/remedical.m.dart

@@ -4,7 +4,6 @@ import 'notification.m.dart';
 import 'organization.m.dart';
 import 'patient.m.dart';
 import 'education.m.dart';
-import 'aIDiagnosis.m.dart';
 
 import 'package:fis_jsonrpc/utils.dart';
 
@@ -461,7 +460,6 @@ class QueryExamListItemResult {
 	List<DataItemDTO >? ageInfo;
 	String? sex;
 	List<String >? associatedExamCodes;
-	DateTime? createTime;
 
 	QueryExamListItemResult({
 		this.examCode,
@@ -470,7 +468,6 @@ class QueryExamListItemResult {
 		this.ageInfo,
 		this.sex,
 		this.associatedExamCodes,
-		this.createTime,
 	});
 
 	factory QueryExamListItemResult.fromJson(Map<String, dynamic> map) {
@@ -481,7 +478,6 @@ class QueryExamListItemResult {
 			ageInfo: map['AgeInfo'] != null ? (map['AgeInfo'] as List).map((e)=>DataItemDTO.fromJson(e as Map<String,dynamic>)).toList() : null,
 			sex: map['Sex'],
 			associatedExamCodes: map['AssociatedExamCodes'] != null ? map['AssociatedExamCodes'].cast<String>().toList() : null,
-			createTime: map['CreateTime'] != null ? DateTime.parse(map['CreateTime']) : null,
 		);
 	}
 
@@ -499,8 +495,6 @@ class QueryExamListItemResult {
 			map['Sex'] = sex;
 		if(associatedExamCodes != null)
 			map['AssociatedExamCodes'] = associatedExamCodes;
-		if(createTime != null)
-			map['CreateTime'] = JsonRpcUtils.dateFormat(createTime!);
 		return map;
 	}
 }
@@ -1578,8 +1572,6 @@ class RecordInfoDTO extends BaseDTO{
 	List<String >? associatedExamCodes;
 	DiagnosisStatusEnum diagnosisStatus;
 	List<DiagnosisInfoDTO >? diagnosisInfos;
-	bool isCollecting;
-	DateTime? startCollectingTime;
 
 	RecordInfoDTO({
 		this.recordCode,
@@ -1599,8 +1591,6 @@ class RecordInfoDTO extends BaseDTO{
 		this.associatedExamCodes,
 		this.diagnosisStatus = DiagnosisStatusEnum.NotRequired,
 		this.diagnosisInfos,
-		this.isCollecting = false,
-		this.startCollectingTime,
 		DateTime? createTime,
 		DateTime? updateTime,
 	}) : super(
@@ -1627,8 +1617,6 @@ class RecordInfoDTO extends BaseDTO{
 			associatedExamCodes: map['AssociatedExamCodes'] != null ? map['AssociatedExamCodes'].cast<String>().toList() : null,
 			diagnosisStatus: DiagnosisStatusEnum.values.firstWhere((e) => e.index == map['DiagnosisStatus']),
 			diagnosisInfos: map['DiagnosisInfos'] != null ? (map['DiagnosisInfos'] as List).map((e)=>DiagnosisInfoDTO.fromJson(e as Map<String,dynamic>)).toList() : null,
-			isCollecting: map['IsCollecting'],
-			startCollectingTime: map['StartCollectingTime'] != null ? DateTime.parse(map['StartCollectingTime']) : null,
 			createTime: map['CreateTime'] != null ? DateTime.parse(map['CreateTime']) : null,
 			updateTime: map['UpdateTime'] != null ? DateTime.parse(map['UpdateTime']) : null,
 		);
@@ -1667,9 +1655,6 @@ class RecordInfoDTO extends BaseDTO{
 		map['DiagnosisStatus'] = diagnosisStatus.index;
 		if(diagnosisInfos != null)
 			map['DiagnosisInfos'] = diagnosisInfos;
-		map['IsCollecting'] = isCollecting;
-		if(startCollectingTime != null)
-			map['StartCollectingTime'] = JsonRpcUtils.dateFormat(startCollectingTime!);
 		return map;
 	}
 }
@@ -3187,262 +3172,4 @@ class SaveRemedicalAISelectedInfoRequest extends TokenRequest{
 	}
 }
 
-class SyncRemedicalRecordRequest {
-	String? code;
-	String? organizationCode;
-	String? deviceCode;
-	bool isUploadReport;
-	List<DataItemDTO >? patientInfo;
-	DiagnosisStatusEnum diagnosisStatus;
-	List<DiagnosisInfoDTO >? aIDiagnosisInfos;
-	DateTime? createTime;
-	DateTime? updateTime;
-	String? creator;
-
-	SyncRemedicalRecordRequest({
-		this.code,
-		this.organizationCode,
-		this.deviceCode,
-		this.isUploadReport = false,
-		this.patientInfo,
-		this.diagnosisStatus = DiagnosisStatusEnum.NotRequired,
-		this.aIDiagnosisInfos,
-		this.createTime,
-		this.updateTime,
-		this.creator,
-	});
-
-	factory SyncRemedicalRecordRequest.fromJson(Map<String, dynamic> map) {
-		return SyncRemedicalRecordRequest( 
-			code: map['Code'],
-			organizationCode: map['OrganizationCode'],
-			deviceCode: map['DeviceCode'],
-			isUploadReport: map['IsUploadReport'],
-			patientInfo: map['PatientInfo'] != null ? (map['PatientInfo'] as List).map((e)=>DataItemDTO.fromJson(e as Map<String,dynamic>)).toList() : null,
-			diagnosisStatus: DiagnosisStatusEnum.values.firstWhere((e) => e.index == map['DiagnosisStatus']),
-			aIDiagnosisInfos: map['AIDiagnosisInfos'] != null ? (map['AIDiagnosisInfos'] as List).map((e)=>DiagnosisInfoDTO.fromJson(e as Map<String,dynamic>)).toList() : null,
-			createTime: map['CreateTime'] != null ? DateTime.parse(map['CreateTime']) : null,
-			updateTime: map['UpdateTime'] != null ? DateTime.parse(map['UpdateTime']) : null,
-			creator: map['Creator'],
-		);
-	}
-
-	Map<String, dynamic> toJson() {
-		final map = Map<String, dynamic>();
-		if(code != null)
-			map['Code'] = code;
-		if(organizationCode != null)
-			map['OrganizationCode'] = organizationCode;
-		if(deviceCode != null)
-			map['DeviceCode'] = deviceCode;
-		map['IsUploadReport'] = isUploadReport;
-		if(patientInfo != null)
-			map['PatientInfo'] = patientInfo;
-		map['DiagnosisStatus'] = diagnosisStatus.index;
-		if(aIDiagnosisInfos != null)
-			map['AIDiagnosisInfos'] = aIDiagnosisInfos;
-		if(createTime != null)
-			map['CreateTime'] = JsonRpcUtils.dateFormat(createTime!);
-		if(updateTime != null)
-			map['UpdateTime'] = JsonRpcUtils.dateFormat(updateTime!);
-		if(creator != null)
-			map['Creator'] = creator;
-		return map;
-	}
-}
-
-class SyncBatchRemedicalRecordRequest {
-	List<SyncRemedicalRecordRequest >? remedicalRecordList;
-
-	SyncBatchRemedicalRecordRequest({
-		this.remedicalRecordList,
-	});
-
-	factory SyncBatchRemedicalRecordRequest.fromJson(Map<String, dynamic> map) {
-		return SyncBatchRemedicalRecordRequest( 
-			remedicalRecordList: map['RemedicalRecordList'] != null ? (map['RemedicalRecordList'] as List).map((e)=>SyncRemedicalRecordRequest.fromJson(e as Map<String,dynamic>)).toList() : null,
-		);
-	}
-
-	Map<String, dynamic> toJson() {
-		final map = Map<String, dynamic>();
-		if(remedicalRecordList != null)
-			map['RemedicalRecordList'] = remedicalRecordList;
-		return map;
-	}
-}
-
-class SyncUploadRemedicalDataRequest {
-	String? code;
-	DateTime? createTime;
-	DateTime? updateTime;
-	String? examCode;
-	String? previewFileToken;
-	String? fileToken;
-	int fileSize;
-	String? coverImageToken;
-	String? applicationCategory;
-	String? application;
-	RemedicalFileDataTypeEnum fileDataType;
-	ImageLocationDTO? imageLocation;
-
-	SyncUploadRemedicalDataRequest({
-		this.code,
-		this.createTime,
-		this.updateTime,
-		this.examCode,
-		this.previewFileToken,
-		this.fileToken,
-		this.fileSize = 0,
-		this.coverImageToken,
-		this.applicationCategory,
-		this.application,
-		this.fileDataType = RemedicalFileDataTypeEnum.VinnoVidSingle,
-		this.imageLocation,
-	});
-
-	factory SyncUploadRemedicalDataRequest.fromJson(Map<String, dynamic> map) {
-		return SyncUploadRemedicalDataRequest( 
-			code: map['Code'],
-			createTime: map['CreateTime'] != null ? DateTime.parse(map['CreateTime']) : null,
-			updateTime: map['UpdateTime'] != null ? DateTime.parse(map['UpdateTime']) : null,
-			examCode: map['ExamCode'],
-			previewFileToken: map['PreviewFileToken'],
-			fileToken: map['FileToken'],
-			fileSize: map['FileSize'],
-			coverImageToken: map['CoverImageToken'],
-			applicationCategory: map['ApplicationCategory'],
-			application: map['Application'],
-			fileDataType: RemedicalFileDataTypeEnum.values.firstWhere((e) => e.index == map['FileDataType']),
-			imageLocation: map['ImageLocation'] != null ? ImageLocationDTO.fromJson(map['ImageLocation']) : null,
-		);
-	}
-
-	Map<String, dynamic> toJson() {
-		final map = Map<String, dynamic>();
-		if(code != null)
-			map['Code'] = code;
-		if(createTime != null)
-			map['CreateTime'] = JsonRpcUtils.dateFormat(createTime!);
-		if(updateTime != null)
-			map['UpdateTime'] = JsonRpcUtils.dateFormat(updateTime!);
-		if(examCode != null)
-			map['ExamCode'] = examCode;
-		if(previewFileToken != null)
-			map['PreviewFileToken'] = previewFileToken;
-		if(fileToken != null)
-			map['FileToken'] = fileToken;
-		map['FileSize'] = fileSize;
-		if(coverImageToken != null)
-			map['CoverImageToken'] = coverImageToken;
-		if(applicationCategory != null)
-			map['ApplicationCategory'] = applicationCategory;
-		if(application != null)
-			map['Application'] = application;
-		map['FileDataType'] = fileDataType.index;
-		if(imageLocation != null)
-			map['ImageLocation'] = imageLocation;
-		return map;
-	}
-}
-
-class SyncBatchUploadRemedicalDatasRequest {
-	List<SyncUploadRemedicalDataRequest >? syncUploadRemedicalDataList;
-
-	SyncBatchUploadRemedicalDatasRequest({
-		this.syncUploadRemedicalDataList,
-	});
-
-	factory SyncBatchUploadRemedicalDatasRequest.fromJson(Map<String, dynamic> map) {
-		return SyncBatchUploadRemedicalDatasRequest( 
-			syncUploadRemedicalDataList: map['SyncUploadRemedicalDataList'] != null ? (map['SyncUploadRemedicalDataList'] as List).map((e)=>SyncUploadRemedicalDataRequest.fromJson(e as Map<String,dynamic>)).toList() : null,
-		);
-	}
-
-	Map<String, dynamic> toJson() {
-		final map = Map<String, dynamic>();
-		if(syncUploadRemedicalDataList != null)
-			map['SyncUploadRemedicalDataList'] = syncUploadRemedicalDataList;
-		return map;
-	}
-}
-
-class SyncAIResultRequest {
-	String? remedicalCode;
-	String? diagnosisResult;
-	DateTime? createTime;
-	DateTime? updateTime;
-
-	SyncAIResultRequest({
-		this.remedicalCode,
-		this.diagnosisResult,
-		this.createTime,
-		this.updateTime,
-	});
-
-	factory SyncAIResultRequest.fromJson(Map<String, dynamic> map) {
-		return SyncAIResultRequest( 
-			remedicalCode: map['RemedicalCode'],
-			diagnosisResult: map['DiagnosisResult'],
-			createTime: map['CreateTime'] != null ? DateTime.parse(map['CreateTime']) : null,
-			updateTime: map['UpdateTime'] != null ? DateTime.parse(map['UpdateTime']) : null,
-		);
-	}
-
-	Map<String, dynamic> toJson() {
-		final map = Map<String, dynamic>();
-		if(remedicalCode != null)
-			map['RemedicalCode'] = remedicalCode;
-		if(diagnosisResult != null)
-			map['DiagnosisResult'] = diagnosisResult;
-		if(createTime != null)
-			map['CreateTime'] = JsonRpcUtils.dateFormat(createTime!);
-		if(updateTime != null)
-			map['UpdateTime'] = JsonRpcUtils.dateFormat(updateTime!);
-		return map;
-	}
-}
-
-class SyncBatchAIResultRequest {
-	List<SyncAIResultRequest >? syncAIResultList;
-
-	SyncBatchAIResultRequest({
-		this.syncAIResultList,
-	});
-
-	factory SyncBatchAIResultRequest.fromJson(Map<String, dynamic> map) {
-		return SyncBatchAIResultRequest( 
-			syncAIResultList: map['SyncAIResultList'] != null ? (map['SyncAIResultList'] as List).map((e)=>SyncAIResultRequest.fromJson(e as Map<String,dynamic>)).toList() : null,
-		);
-	}
-
-	Map<String, dynamic> toJson() {
-		final map = Map<String, dynamic>();
-		if(syncAIResultList != null)
-			map['SyncAIResultList'] = syncAIResultList;
-		return map;
-	}
-}
-
-class SyncBatchCarotidResultRequest {
-	List<GetCarotidResultRequest >? syncCarotidResultRequest;
-
-	SyncBatchCarotidResultRequest({
-		this.syncCarotidResultRequest,
-	});
-
-	factory SyncBatchCarotidResultRequest.fromJson(Map<String, dynamic> map) {
-		return SyncBatchCarotidResultRequest( 
-			syncCarotidResultRequest: map['SyncCarotidResultRequest'] != null ? (map['SyncCarotidResultRequest'] as List).map((e)=>GetCarotidResultRequest.fromJson(e as Map<String,dynamic>)).toList() : null,
-		);
-	}
-
-	Map<String, dynamic> toJson() {
-		final map = Map<String, dynamic>();
-		if(syncCarotidResultRequest != null)
-			map['SyncCarotidResultRequest'] = syncCarotidResultRequest;
-		return map;
-	}
-}
-
 

+ 0 - 5
lib/services/report.dart

@@ -295,10 +295,5 @@ class ReportService extends JsonRpcClientBase {
 		return rpcRst;
 	}
 
-	Future<bool> syncBatchReportInfoAsync(SyncBatchReportInfoRequest request) async {
-		var rpcRst = await call("SyncBatchReportInfoAsync", request);
-		return rpcRst;
-	}
-
 }
 

+ 0 - 113
lib/services/report.m.dart

@@ -3,8 +3,6 @@ import 'remedical.m.dart';
 import 'liveConsultation.m.dart';
 import 'notification.m.dart';
 
-import 'package:fis_jsonrpc/utils.dart';
-
 enum ReportTemplateStatusTypeEnum {
 	Unpublished,
 	Published,
@@ -1639,115 +1637,4 @@ class RefreshReportPosterRequest extends TokenRequest{
 	}
 }
 
-class SyncReportInfoRequest {
-	String? reportCode;
-	DateTime? createTime;
-	DateTime? updateTime;
-	String? recordCode;
-	String? reportUserCode;
-	String? patientCode;
-	String? patientName;
-	String? deviceCode;
-	String? reportTemplateJson;
-	String? reportDatasJson;
-	List<String >? reportLabels;
-	List<String >? platformLabels;
-	List<String >? diagnosisLabels;
-	DiagnosisOrganEnum reportOrgan;
-	List<ReportPreviewDTO >? reportPreviewList;
-
-	SyncReportInfoRequest({
-		this.reportCode,
-		this.createTime,
-		this.updateTime,
-		this.recordCode,
-		this.reportUserCode,
-		this.patientCode,
-		this.patientName,
-		this.deviceCode,
-		this.reportTemplateJson,
-		this.reportDatasJson,
-		this.reportLabels,
-		this.platformLabels,
-		this.diagnosisLabels,
-		this.reportOrgan = DiagnosisOrganEnum.Null,
-		this.reportPreviewList,
-	});
-
-	factory SyncReportInfoRequest.fromJson(Map<String, dynamic> map) {
-		return SyncReportInfoRequest( 
-			reportCode: map['ReportCode'],
-			createTime: map['CreateTime'] != null ? DateTime.parse(map['CreateTime']) : null,
-			updateTime: map['UpdateTime'] != null ? DateTime.parse(map['UpdateTime']) : null,
-			recordCode: map['RecordCode'],
-			reportUserCode: map['ReportUserCode'],
-			patientCode: map['PatientCode'],
-			patientName: map['PatientName'],
-			deviceCode: map['DeviceCode'],
-			reportTemplateJson: map['ReportTemplateJson'],
-			reportDatasJson: map['ReportDatasJson'],
-			reportLabels: map['ReportLabels'] != null ? map['ReportLabels'].cast<String>().toList() : null,
-			platformLabels: map['PlatformLabels'] != null ? map['PlatformLabels'].cast<String>().toList() : null,
-			diagnosisLabels: map['DiagnosisLabels'] != null ? map['DiagnosisLabels'].cast<String>().toList() : null,
-			reportOrgan: DiagnosisOrganEnum.values.firstWhere((e) => e.index == map['ReportOrgan']),
-			reportPreviewList: map['ReportPreviewList'] != null ? (map['ReportPreviewList'] as List).map((e)=>ReportPreviewDTO.fromJson(e as Map<String,dynamic>)).toList() : null,
-		);
-	}
-
-	Map<String, dynamic> toJson() {
-		final map = Map<String, dynamic>();
-		if(reportCode != null)
-			map['ReportCode'] = reportCode;
-		if(createTime != null)
-			map['CreateTime'] = JsonRpcUtils.dateFormat(createTime!);
-		if(updateTime != null)
-			map['UpdateTime'] = JsonRpcUtils.dateFormat(updateTime!);
-		if(recordCode != null)
-			map['RecordCode'] = recordCode;
-		if(reportUserCode != null)
-			map['ReportUserCode'] = reportUserCode;
-		if(patientCode != null)
-			map['PatientCode'] = patientCode;
-		if(patientName != null)
-			map['PatientName'] = patientName;
-		if(deviceCode != null)
-			map['DeviceCode'] = deviceCode;
-		if(reportTemplateJson != null)
-			map['ReportTemplateJson'] = reportTemplateJson;
-		if(reportDatasJson != null)
-			map['ReportDatasJson'] = reportDatasJson;
-		if(reportLabels != null)
-			map['ReportLabels'] = reportLabels;
-		if(platformLabels != null)
-			map['PlatformLabels'] = platformLabels;
-		if(diagnosisLabels != null)
-			map['DiagnosisLabels'] = diagnosisLabels;
-		map['ReportOrgan'] = reportOrgan.index;
-		if(reportPreviewList != null)
-			map['ReportPreviewList'] = reportPreviewList;
-		return map;
-	}
-}
-
-class SyncBatchReportInfoRequest {
-	List<SyncReportInfoRequest >? syncReportInfos;
-
-	SyncBatchReportInfoRequest({
-		this.syncReportInfos,
-	});
-
-	factory SyncBatchReportInfoRequest.fromJson(Map<String, dynamic> map) {
-		return SyncBatchReportInfoRequest( 
-			syncReportInfos: map['SyncReportInfos'] != null ? (map['SyncReportInfos'] as List).map((e)=>SyncReportInfoRequest.fromJson(e as Map<String,dynamic>)).toList() : null,
-		);
-	}
-
-	Map<String, dynamic> toJson() {
-		final map = Map<String, dynamic>();
-		if(syncReportInfos != null)
-			map['SyncReportInfos'] = syncReportInfos;
-		return map;
-	}
-}
-
 

+ 0 - 9
lib/services/user.m.dart

@@ -1176,27 +1176,19 @@ class BatchInsertUserRequest extends TokenRequest{
 	}
 }
 
-enum MigrateRecordType {
-	Default,
-	MigrateDataCenter,
-}
-
 class MigrateRecordDTO {
 	DateTime? startTime;
 	DateTime? endTime;
-	MigrateRecordType type;
 
 	MigrateRecordDTO({
 		this.startTime,
 		this.endTime,
-		this.type = MigrateRecordType.Default,
 	});
 
 	factory MigrateRecordDTO.fromJson(Map<String, dynamic> map) {
 		return MigrateRecordDTO( 
 			startTime: map['StartTime'] != null ? DateTime.parse(map['StartTime']) : null,
 			endTime: map['EndTime'] != null ? DateTime.parse(map['EndTime']) : null,
-			type: MigrateRecordType.values.firstWhere((e) => e.index == map['Type']),
 		);
 	}
 
@@ -1206,7 +1198,6 @@ class MigrateRecordDTO {
 			map['StartTime'] = JsonRpcUtils.dateFormat(startTime!);
 		if(endTime != null)
 			map['EndTime'] = JsonRpcUtils.dateFormat(endTime!);
-		map['Type'] = type.index;
 		return map;
 	}
 }

Some files were not shown because too many files changed in this diff