Browse Source

更新接口

loki.wu 1 year ago
parent
commit
5a607ee0e0
5 changed files with 197 additions and 150 deletions
  1. 25 0
      .vscode/launch.json
  2. 133 149
      lib/rpc.dart
  3. 1 1
      lib/services/authentication.m.dart
  4. 10 0
      lib/services/device.m.dart
  5. 28 0
      lib/services/other.m.dart

+ 25 - 0
.vscode/launch.json

@@ -0,0 +1,25 @@
+{
+    // 使用 IntelliSense 了解相关属性。 
+    // 悬停以查看现有属性的描述。
+    // 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
+    "version": "0.2.0",
+    "configurations": [
+        {
+            "name": "fis_lib_jsonrpc",
+            "request": "launch",
+            "type": "dart"
+        },
+        {
+            "name": "fis_lib_jsonrpc (profile mode)",
+            "request": "launch",
+            "type": "dart",
+            "flutterMode": "profile"
+        },
+        {
+            "name": "fis_lib_jsonrpc (release mode)",
+            "request": "launch",
+            "type": "dart",
+            "flutterMode": "release"
+        }
+    ]
+}

+ 133 - 149
lib/rpc.dart

@@ -1,11 +1,9 @@
 library fis_jsonrpc;
 
 import 'dart:collection';
-import 'dart:convert';
 
 import 'package:fis_common/extensions/type.dart';
 import 'package:fis_common/logger/logger.dart';
-import 'package:fis_jsonrpc/encrpyt.dart';
 
 import 'client_base.dart';
 import 'interceptor.dart';
@@ -46,225 +44,210 @@ class JsonRpcProxy {
 
   static PlatformService? _platformService;
 
-  /// 请求加密配置
-  JsonRpcEncryptConfig get requestEncryptConfig =>
-      JsonRpcClientBase.requestEncryptConfig;
-  set requestEncryptConfig(JsonRpcEncryptConfig config) {
-    JsonRpcClientBase.requestEncryptConfig = config;
-    final cfgJson = jsonEncode(config.toJson());
-    logger.i("JsonRpcProxy - set RequestEncryptConfig: $cfgJson.");
-  }
-
-  /// 响应加密配置
-  JsonRpcEncryptConfig get responseEncryptConfig =>
-      JsonRpcClientBase.responseEncryptConfig;
-  set responseEncryptConfig(JsonRpcEncryptConfig config) {
-    JsonRpcClientBase.responseEncryptConfig = config;
-    final cfgJson = jsonEncode(config.toJson());
-    logger.i("JsonRpcProxy - set ResponseEncryptConfig: $cfgJson.");
-  }
-
   /* 服务代理设置 Start */
 
   /// 平台服务
   PlatformService get platform {
     if (_platformService == null)
-      _platformService =
-          PlatformService("http://$platformHost", timeout: 15000);
+      _platformService = PlatformService("http://$platformHost", timeout: 15000);
     return _platformService!;
   }
 
-  LiveConsultationService get liveConsultation =>
-      findService(() => new LiveConsultationService(currentHostAddress));
+	LiveConsultationService get liveConsultation =>
+	findService(() => new LiveConsultationService(currentHostAddress));
+
+	AIDiagnosisService get aIDiagnosis =>
+	findService(() => new AIDiagnosisService(currentHostAddress));
 
-  AIDiagnosisService get aIDiagnosis =>
-      findService(() => new AIDiagnosisService(currentHostAddress));
+	AppletAPIService get appletAPI =>
+	findService(() => new AppletAPIService(currentHostAddress));
 
-  AppletAPIService get appletAPI =>
-      findService(() => new AppletAPIService(currentHostAddress));
+	ASRService get aSR =>
+	findService(() => new ASRService(currentHostAddress));
 
-  ASRService get aSR => findService(() => new ASRService(currentHostAddress));
+	AuthenticationService get authentication =>
+	findService(() => new AuthenticationService(currentHostAddress));
 
-  AuthenticationService get authentication =>
-      findService(() => new AuthenticationService(currentHostAddress));
+	ChatMessageService get chatMessage =>
+	findService(() => new ChatMessageService(currentHostAddress));
 
-  ChatMessageService get chatMessage =>
-      findService(() => new ChatMessageService(currentHostAddress));
+	ConnectService get connect =>
+	findService(() => new ConnectService(currentHostAddress));
 
-  ConnectService get connect =>
-      findService(() => new ConnectService(currentHostAddress));
+	DeployPlatformService get deployPlatform =>
+	findService(() => new DeployPlatformService(currentHostAddress));
 
-  DeployPlatformService get deployPlatform =>
-      findService(() => new DeployPlatformService(currentHostAddress));
+	DeviceService get device =>
+	findService(() => new DeviceService(currentHostAddress));
 
-  DeviceService get device =>
-      findService(() => new DeviceService(currentHostAddress));
+	EducationService get education =>
+	findService(() => new EducationService(currentHostAddress));
 
-  EducationService get education =>
-      findService(() => new EducationService(currentHostAddress));
+	EmailService get email =>
+	findService(() => new EmailService(currentHostAddress));
 
-  EmailService get email =>
-      findService(() => new EmailService(currentHostAddress));
+	IdentityApplyService get identityApply =>
+	findService(() => new IdentityApplyService(currentHostAddress));
 
-  IdentityApplyService get identityApply =>
-      findService(() => new IdentityApplyService(currentHostAddress));
+	LabService get lab =>
+	findService(() => new LabService(currentHostAddress));
 
-  LabService get lab => findService(() => new LabService(currentHostAddress));
+	LoginService get login =>
+	findService(() => new LoginService(currentHostAddress));
 
-  LoginService get login =>
-      findService(() => new LoginService(currentHostAddress));
+	OrganizationService get organization =>
+	findService(() => new OrganizationService(currentHostAddress));
 
-  OrganizationService get organization =>
-      findService(() => new OrganizationService(currentHostAddress));
+	PatientService get patient =>
+	findService(() => new PatientService(currentHostAddress));
 
-  PatientService get patient =>
-      findService(() => new PatientService(currentHostAddress));
+	PaymentService get payment =>
+	findService(() => new PaymentService(currentHostAddress));
 
-  PaymentService get payment =>
-      findService(() => new PaymentService(currentHostAddress));
+	PositionService get position =>
+	findService(() => new PositionService(currentHostAddress));
 
-  PositionService get position =>
-      findService(() => new PositionService(currentHostAddress));
+	RankService get rank =>
+	findService(() => new RankService(currentHostAddress));
 
-  RankService get rank =>
-      findService(() => new RankService(currentHostAddress));
+	RecognitionService get recognition =>
+	findService(() => new RecognitionService(currentHostAddress));
 
-  RecognitionService get recognition =>
-      findService(() => new RecognitionService(currentHostAddress));
+	RecordInfoService get recordInfo =>
+	findService(() => new RecordInfoService(currentHostAddress));
 
-  RecordInfoService get recordInfo =>
-      findService(() => new RecordInfoService(currentHostAddress));
+	RegionService get region =>
+	findService(() => new RegionService(currentHostAddress));
 
-  RegionService get region =>
-      findService(() => new RegionService(currentHostAddress));
+	RegisterService get register =>
+	findService(() => new RegisterService(currentHostAddress));
 
-  RegisterService get register =>
-      findService(() => new RegisterService(currentHostAddress));
+	RemedicalService get remedical =>
+	findService(() => new RemedicalService(currentHostAddress));
 
-  RemedicalService get remedical =>
-      findService(() => new RemedicalService(currentHostAddress));
+	ReportService get report =>
+	findService(() => new ReportService(currentHostAddress));
 
-  ReportService get report =>
-      findService(() => new ReportService(currentHostAddress));
+	RoleService get role =>
+	findService(() => new RoleService(currentHostAddress));
 
-  RoleService get role =>
-      findService(() => new RoleService(currentHostAddress));
+	SMSService get sMS =>
+	findService(() => new SMSService(currentHostAddress));
 
-  SMSService get sMS => findService(() => new SMSService(currentHostAddress));
+	StorageService get storage =>
+	findService(() => new StorageService(currentHostAddress));
 
-  StorageService get storage =>
-      findService(() => new StorageService(currentHostAddress));
+	UpgradeService get upgrade =>
+	findService(() => new UpgradeService(currentHostAddress));
 
-  UpgradeService get upgrade =>
-      findService(() => new UpgradeService(currentHostAddress));
+	UserService get user =>
+	findService(() => new UserService(currentHostAddress));
 
-  UserService get user =>
-      findService(() => new UserService(currentHostAddress));
+	VinnoIOTService get vinnoIOT =>
+	findService(() => new VinnoIOTService(currentHostAddress));
 
-  VinnoIOTService get vinnoIOT =>
-      findService(() => new VinnoIOTService(currentHostAddress));
+	VinnoServerService get vinnoServer =>
+	findService(() => new VinnoServerService(currentHostAddress));
 
-  VinnoServerService get vinnoServer =>
-      findService(() => new VinnoServerService(currentHostAddress));
+	VitalHealthExamBookingService get vitalHealthExamBooking =>
+	findService(() => new VitalHealthExamBookingService(currentHostAddress));
 
-  VitalHealthExamBookingService get vitalHealthExamBooking =>
-      findService(() => new VitalHealthExamBookingService(currentHostAddress));
+	VitalAnalyzeConfigService get vitalAnalyzeConfig =>
+	findService(() => new VitalAnalyzeConfigService(currentHostAddress));
 
-  VitalAnalyzeConfigService get vitalAnalyzeConfig =>
-      findService(() => new VitalAnalyzeConfigService(currentHostAddress));
+	VitalCompletionRecordService get vitalCompletionRecord =>
+	findService(() => new VitalCompletionRecordService(currentHostAddress));
 
-  VitalCompletionRecordService get vitalCompletionRecord =>
-      findService(() => new VitalCompletionRecordService(currentHostAddress));
+	VitalContractRecordService get vitalContractRecord =>
+	findService(() => new VitalContractRecordService(currentHostAddress));
 
-  VitalContractRecordService get vitalContractRecord =>
-      findService(() => new VitalContractRecordService(currentHostAddress));
+	VitalContractTemplateService get vitalContractTemplate =>
+	findService(() => new VitalContractTemplateService(currentHostAddress));
 
-  VitalContractTemplateService get vitalContractTemplate =>
-      findService(() => new VitalContractTemplateService(currentHostAddress));
+	VitalDeviceService get vitalDevice =>
+	findService(() => new VitalDeviceService(currentHostAddress));
 
-  VitalDeviceService get vitalDevice =>
-      findService(() => new VitalDeviceService(currentHostAddress));
+	VitalDiagnosisService get vitalDiagnosis =>
+	findService(() => new VitalDiagnosisService(currentHostAddress));
 
-  VitalDiagnosisService get vitalDiagnosis =>
-      findService(() => new VitalDiagnosisService(currentHostAddress));
+	VitalDictionaryService get vitalDictionary =>
+	findService(() => new VitalDictionaryService(currentHostAddress));
 
-  VitalDictionaryService get vitalDictionary =>
-      findService(() => new VitalDictionaryService(currentHostAddress));
+	VitalDynamicTypeService get vitalDynamicType =>
+	findService(() => new VitalDynamicTypeService(currentHostAddress));
 
-  VitalDynamicTypeService get vitalDynamicType =>
-      findService(() => new VitalDynamicTypeService(currentHostAddress));
+	VitalExamService get vitalExam =>
+	findService(() => new VitalExamService(currentHostAddress));
 
-  VitalExamService get vitalExam =>
-      findService(() => new VitalExamService(currentHostAddress));
+	VitalFollowUpService get vitalFollowUp =>
+	findService(() => new VitalFollowUpService(currentHostAddress));
 
-  VitalFollowUpService get vitalFollowUp =>
-      findService(() => new VitalFollowUpService(currentHostAddress));
+	VitalLabelService get vitalLabel =>
+	findService(() => new VitalLabelService(currentHostAddress));
 
-  VitalLabelService get vitalLabel =>
-      findService(() => new VitalLabelService(currentHostAddress));
+	VitalLoginService get vitalLogin =>
+	findService(() => new VitalLoginService(currentHostAddress));
 
-  VitalLoginService get vitalLogin =>
-      findService(() => new VitalLoginService(currentHostAddress));
+	VitalOperationLogService get vitalOperationLog =>
+	findService(() => new VitalOperationLogService(currentHostAddress));
 
-  VitalOperationLogService get vitalOperationLog =>
-      findService(() => new VitalOperationLogService(currentHostAddress));
+	VitalOrganizationService get vitalOrganization =>
+	findService(() => new VitalOrganizationService(currentHostAddress));
 
-  VitalOrganizationService get vitalOrganization =>
-      findService(() => new VitalOrganizationService(currentHostAddress));
+	VitalPatientExtensionService get vitalPatientExtension =>
+	findService(() => new VitalPatientExtensionService(currentHostAddress));
 
-  VitalPatientExtensionService get vitalPatientExtension =>
-      findService(() => new VitalPatientExtensionService(currentHostAddress));
+	VitalPatientService get vitalPatient =>
+	findService(() => new VitalPatientService(currentHostAddress));
 
-  VitalPatientService get vitalPatient =>
-      findService(() => new VitalPatientService(currentHostAddress));
+	VitalRegionService get vitalRegion =>
+	findService(() => new VitalRegionService(currentHostAddress));
 
-  VitalRegionService get vitalRegion =>
-      findService(() => new VitalRegionService(currentHostAddress));
+	VitalReportService get vitalReport =>
+	findService(() => new VitalReportService(currentHostAddress));
 
-  VitalReportService get vitalReport =>
-      findService(() => new VitalReportService(currentHostAddress));
+	VitalResidenceService get vitalResidence =>
+	findService(() => new VitalResidenceService(currentHostAddress));
 
-  VitalResidenceService get vitalResidence =>
-      findService(() => new VitalResidenceService(currentHostAddress));
+	VitalRoleService get vitalRole =>
+	findService(() => new VitalRoleService(currentHostAddress));
 
-  VitalRoleService get vitalRole =>
-      findService(() => new VitalRoleService(currentHostAddress));
+	VitalScheduleService get vitalSchedule =>
+	findService(() => new VitalScheduleService(currentHostAddress));
 
-  VitalScheduleService get vitalSchedule =>
-      findService(() => new VitalScheduleService(currentHostAddress));
+	VitalServicePackService get vitalServicePack =>
+	findService(() => new VitalServicePackService(currentHostAddress));
 
-  VitalServicePackService get vitalServicePack =>
-      findService(() => new VitalServicePackService(currentHostAddress));
+	VitalStatisticService get vitalStatistic =>
+	findService(() => new VitalStatisticService(currentHostAddress));
 
-  VitalStatisticService get vitalStatistic =>
-      findService(() => new VitalStatisticService(currentHostAddress));
+	VitalSystemSettingService get vitalSystemSetting =>
+	findService(() => new VitalSystemSettingService(currentHostAddress));
 
-  VitalSystemSettingService get vitalSystemSetting =>
-      findService(() => new VitalSystemSettingService(currentHostAddress));
+	VitalTeamRegionService get vitalTeamRegion =>
+	findService(() => new VitalTeamRegionService(currentHostAddress));
 
-  VitalTeamRegionService get vitalTeamRegion =>
-      findService(() => new VitalTeamRegionService(currentHostAddress));
+	VitalTeamService get vitalTeam =>
+	findService(() => new VitalTeamService(currentHostAddress));
 
-  VitalTeamService get vitalTeam =>
-      findService(() => new VitalTeamService(currentHostAddress));
+	VitalTemplateService get vitalTemplate =>
+	findService(() => new VitalTemplateService(currentHostAddress));
 
-  VitalTemplateService get vitalTemplate =>
-      findService(() => new VitalTemplateService(currentHostAddress));
+	VitalTownService get vitalTown =>
+	findService(() => new VitalTownService(currentHostAddress));
 
-  VitalTownService get vitalTown =>
-      findService(() => new VitalTownService(currentHostAddress));
+	VitalUpgradeService get vitalUpgrade =>
+	findService(() => new VitalUpgradeService(currentHostAddress));
 
-  VitalUpgradeService get vitalUpgrade =>
-      findService(() => new VitalUpgradeService(currentHostAddress));
+	VitalUserFeatureService get vitalUserFeature =>
+	findService(() => new VitalUserFeatureService(currentHostAddress));
 
-  VitalUserFeatureService get vitalUserFeature =>
-      findService(() => new VitalUserFeatureService(currentHostAddress));
+	VitalUserPasswordService get vitalUserPassword =>
+	findService(() => new VitalUserPasswordService(currentHostAddress));
 
-  VitalUserPasswordService get vitalUserPassword =>
-      findService(() => new VitalUserPasswordService(currentHostAddress));
+	VitalUserService get vitalUser =>
+	findService(() => new VitalUserService(currentHostAddress));
 
-  VitalUserService get vitalUser =>
-      findService(() => new VitalUserService(currentHostAddress));
 
   /* 服务代理设置 End */
 
@@ -291,3 +274,4 @@ class JsonRpcProxy {
     return _serviceCache[serviceType] as T;
   }
 }
+

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

@@ -2267,7 +2267,7 @@ enum CustomerRpcCode {
 	DeviceDescriptionEmpty,
 	DeviceCannotRestart,
 	DeviceCannotSettingVideo,
-	placeHolder_2040,
+	DeviceDescriptionNotModify,
 	placeHolder_2041,
 	placeHolder_2042,
 	placeHolder_2043,

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

@@ -2875,9 +2875,13 @@ class RemoteLogResponseRequest extends TokenRequest{
 
 class ScanBindDeviceRequest extends TokenRequest{
 	String? shortCode;
+	String? headPicUrl;
+	String? description;
 
 	ScanBindDeviceRequest({
 		this.shortCode,
+		this.headPicUrl,
+		this.description,
 		String? token,
 	}) : super(
 			token: token,
@@ -2886,6 +2890,8 @@ class ScanBindDeviceRequest extends TokenRequest{
 	factory ScanBindDeviceRequest.fromJson(Map<String, dynamic> map) {
 		return ScanBindDeviceRequest( 
 			shortCode: map['ShortCode'],
+			headPicUrl: map['HeadPicUrl'],
+			description: map['Description'],
 			token: map['Token'],
 		);
 	}
@@ -2894,6 +2900,10 @@ class ScanBindDeviceRequest extends TokenRequest{
 		final map = super.toJson();
 		if (shortCode != null)
 			map['ShortCode'] = shortCode;
+		if (headPicUrl != null)
+			map['HeadPicUrl'] = headPicUrl;
+		if (description != null)
+			map['Description'] = description;
 		return map;
 	}
 }

+ 28 - 0
lib/services/other.m.dart

@@ -3944,6 +3944,8 @@ class AdminInfoDTO extends BaseDTO{
 	List<String>? passwordRecords;
 	List<ClearLogOperateDTO>? clearLogOperateList;
 	List<String>? assignedOrganizations;
+	String? bindUserCode;
+	String? bindUserName;
 
 	AdminInfoDTO({
 		this.adminCode,
@@ -3962,6 +3964,8 @@ class AdminInfoDTO extends BaseDTO{
 		this.passwordRecords,
 		this.clearLogOperateList,
 		this.assignedOrganizations,
+		this.bindUserCode,
+		this.bindUserName,
 		DateTime? createTime,
 		DateTime? updateTime,
 	}) : super(
@@ -3987,6 +3991,8 @@ class AdminInfoDTO extends BaseDTO{
 			passwordRecords: map['PasswordRecords']?.cast<String>().toList(),
 			clearLogOperateList: map['ClearLogOperateList'] != null ? (map['ClearLogOperateList'] as List).map((e)=>ClearLogOperateDTO.fromJson(e as Map<String,dynamic>)).toList() : null,
 			assignedOrganizations: map['AssignedOrganizations']?.cast<String>().toList(),
+			bindUserCode: map['BindUserCode'],
+			bindUserName: map['BindUserName'],
 			createTime: map['CreateTime'] != null ? DateTime.parse(map['CreateTime']) : null,
 			updateTime: map['UpdateTime'] != null ? DateTime.parse(map['UpdateTime']) : null,
 		);
@@ -4026,6 +4032,10 @@ class AdminInfoDTO extends BaseDTO{
 			map['ClearLogOperateList'] = clearLogOperateList;
 		if (assignedOrganizations != null)
 			map['AssignedOrganizations'] = assignedOrganizations;
+		if (bindUserCode != null)
+			map['BindUserCode'] = bindUserCode;
+		if (bindUserName != null)
+			map['BindUserName'] = bindUserName;
 		return map;
 	}
 }
@@ -4058,6 +4068,8 @@ class AdminMigratoryInfo extends AdminInfoDTO{
 		List<String>? passwordRecords,
 		List<ClearLogOperateDTO>? clearLogOperateList,
 		List<String>? assignedOrganizations,
+		String? bindUserCode,
+		String? bindUserName,
 		DateTime? createTime,
 		DateTime? updateTime,
 	}) : super(
@@ -4077,6 +4089,8 @@ class AdminMigratoryInfo extends AdminInfoDTO{
 			passwordRecords: passwordRecords,
 			clearLogOperateList: clearLogOperateList,
 			assignedOrganizations: assignedOrganizations,
+			bindUserCode: bindUserCode,
+			bindUserName: bindUserName,
 			createTime: createTime,
 			updateTime: updateTime,
 		);
@@ -4101,6 +4115,8 @@ class AdminMigratoryInfo extends AdminInfoDTO{
 			passwordRecords: map['PasswordRecords']?.cast<String>().toList(),
 			clearLogOperateList: map['ClearLogOperateList'] != null ? (map['ClearLogOperateList'] as List).map((e)=>ClearLogOperateDTO.fromJson(e as Map<String,dynamic>)).toList() : null,
 			assignedOrganizations: map['AssignedOrganizations']?.cast<String>().toList(),
+			bindUserCode: map['BindUserCode'],
+			bindUserName: map['BindUserName'],
 			createTime: map['CreateTime'] != null ? DateTime.parse(map['CreateTime']) : null,
 			updateTime: map['UpdateTime'] != null ? DateTime.parse(map['UpdateTime']) : null,
 		);
@@ -8898,6 +8914,8 @@ class ModifyAdminRequest extends AdminInfoDTO{
 		List<String>? passwordRecords,
 		List<ClearLogOperateDTO>? clearLogOperateList,
 		List<String>? assignedOrganizations,
+		String? bindUserCode,
+		String? bindUserName,
 		DateTime? createTime,
 		DateTime? updateTime,
 	}) : super(
@@ -8917,6 +8935,8 @@ class ModifyAdminRequest extends AdminInfoDTO{
 			passwordRecords: passwordRecords,
 			clearLogOperateList: clearLogOperateList,
 			assignedOrganizations: assignedOrganizations,
+			bindUserCode: bindUserCode,
+			bindUserName: bindUserName,
 			createTime: createTime,
 			updateTime: updateTime,
 		);
@@ -8940,6 +8960,8 @@ class ModifyAdminRequest extends AdminInfoDTO{
 			passwordRecords: map['PasswordRecords']?.cast<String>().toList(),
 			clearLogOperateList: map['ClearLogOperateList'] != null ? (map['ClearLogOperateList'] as List).map((e)=>ClearLogOperateDTO.fromJson(e as Map<String,dynamic>)).toList() : null,
 			assignedOrganizations: map['AssignedOrganizations']?.cast<String>().toList(),
+			bindUserCode: map['BindUserCode'],
+			bindUserName: map['BindUserName'],
 			createTime: map['CreateTime'] != null ? DateTime.parse(map['CreateTime']) : null,
 			updateTime: map['UpdateTime'] != null ? DateTime.parse(map['UpdateTime']) : null,
 		);
@@ -20294,6 +20316,8 @@ class AdminExtendInfoDTO extends AdminInfoDTO{
 		List<String>? passwordRecords,
 		List<ClearLogOperateDTO>? clearLogOperateList,
 		List<String>? assignedOrganizations,
+		String? bindUserCode,
+		String? bindUserName,
 		DateTime? createTime,
 		DateTime? updateTime,
 	}) : super(
@@ -20313,6 +20337,8 @@ class AdminExtendInfoDTO extends AdminInfoDTO{
 			passwordRecords: passwordRecords,
 			clearLogOperateList: clearLogOperateList,
 			assignedOrganizations: assignedOrganizations,
+			bindUserCode: bindUserCode,
+			bindUserName: bindUserName,
 			createTime: createTime,
 			updateTime: updateTime,
 		);
@@ -20339,6 +20365,8 @@ class AdminExtendInfoDTO extends AdminInfoDTO{
 			passwordRecords: map['PasswordRecords']?.cast<String>().toList(),
 			clearLogOperateList: map['ClearLogOperateList'] != null ? (map['ClearLogOperateList'] as List).map((e)=>ClearLogOperateDTO.fromJson(e as Map<String,dynamic>)).toList() : null,
 			assignedOrganizations: map['AssignedOrganizations']?.cast<String>().toList(),
+			bindUserCode: map['BindUserCode'],
+			bindUserName: map['BindUserName'],
 			createTime: map['CreateTime'] != null ? DateTime.parse(map['CreateTime']) : null,
 			updateTime: map['UpdateTime'] != null ? DateTime.parse(map['UpdateTime']) : null,
 		);