203 lines
9.1 KiB
JSON
203 lines
9.1 KiB
JSON
{
|
|
"$type": "Forguncy.SaveLoad.ServerCommandSaveData, ServerDesignerCommon",
|
|
"Name": "批量同步所有用户UserID",
|
|
"Enabled": true,
|
|
"Triggers": {
|
|
"$type": "System.Collections.Generic.List`1[[Forguncy.SaveLoad.TriggerSaveDataBase, ServerDesignerCommon]], System.Private.CoreLib",
|
|
"$values": [
|
|
{
|
|
"$type": "Forguncy.SaveLoad.PostRequestTriggerSaveData, ServerDesignerCommon",
|
|
"Permission": {
|
|
"$type": "Forguncy.SaveLoad.ServerCommandPermissionSaveData, ServerDesignerCommon",
|
|
"PermissionData": {
|
|
"$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionData, Forguncy.RbacPermission.Core",
|
|
"permissionResource": {
|
|
"$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionResource, Forguncy.RbacPermission.Core"
|
|
},
|
|
"permissionBindings": {
|
|
"$type": "System.Collections.Generic.List`1[[Forguncy.RbacPermission.Core.Impl.ServerCommand.IServerCommandPermissionBinding, Forguncy.RbacPermission.Core]], System.Private.CoreLib",
|
|
"$values": [
|
|
{
|
|
"$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionBinding, Forguncy.RbacPermission.Core",
|
|
"roleNames": {
|
|
"$type": "System.Collections.Generic.List`1[[System.String, System.Private.CoreLib]], System.Private.CoreLib",
|
|
"$values": [
|
|
"FGC_LoginUser"
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"InvokeTriggerTestData": {
|
|
"$type": "Forguncy.SaveLoad.InvokeTriggerTestDataSaveData, ServerDesignerCommon",
|
|
"UserName": "Administrator"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"Commands": {
|
|
"$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib",
|
|
"$values": [
|
|
{
|
|
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
|
"ParameterName": "用户列表",
|
|
"TableValue": {
|
|
"$type": "Forguncy.Model.Commands.ParameterTableValue, ServerDesignerCommon",
|
|
"TableName": "用户信息视图",
|
|
"BindingInfos": {
|
|
"$type": "System.Collections.Generic.List`1[[Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon]], System.Private.CoreLib",
|
|
"$values": [
|
|
{
|
|
"$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon",
|
|
"GUID": "e3531496-5fd6-4817-a88b-34692d903406",
|
|
"BindingInfo": {
|
|
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
|
|
"TableName": "用户信息视图",
|
|
"ColumnName": "用户名",
|
|
"GUID": "8d823ac0-83b0-4d0e-ab80-c7e9261b4b49"
|
|
},
|
|
"ColumnName": "用户名"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon",
|
|
"GUID": "cbe99b7d-7868-4d8e-a917-2164e99ca391",
|
|
"BindingInfo": {
|
|
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
|
|
"TableName": "用户信息视图",
|
|
"ColumnName": "邮件",
|
|
"GUID": "2fb73d28-4319-434f-851e-c554170418f4"
|
|
},
|
|
"ColumnName": "邮件"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon",
|
|
"GUID": "a0e05e74-0ad1-44f6-bc7b-9dd9edf25581",
|
|
"BindingInfo": {
|
|
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
|
|
"TableName": "用户信息视图",
|
|
"ColumnName": "全名",
|
|
"GUID": "52c1dc14-e0c0-4438-9615-321ec3e8996c"
|
|
},
|
|
"ColumnName": "全名"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon",
|
|
"GUID": "6899fa9c-7c85-4e09-b338-a939aa604c3b",
|
|
"BindingInfo": {
|
|
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
|
|
"TableName": "用户信息视图",
|
|
"ColumnName": "DingTalkUnionID",
|
|
"GUID": "7179d44d-706f-4387-9d5e-816ce029facf"
|
|
},
|
|
"ColumnName": "DingTalkUnionID"
|
|
}
|
|
]
|
|
},
|
|
"SqlCondition": {
|
|
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
|
|
"SubConditions": {
|
|
"$type": "System.Collections.Generic.List`1[[ForguncyDataAccess.ISqlCondition, ForguncyDataAccess]], System.Private.CoreLib",
|
|
"$values": [
|
|
{
|
|
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
|
"CompareType": 1,
|
|
"ColumnBindingInfo": {
|
|
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
|
|
"TableName": "用户信息视图",
|
|
"ColumnName": "DingTalkUnionID",
|
|
"GUID": "d7205a45-e0a7-42c7-8153-55bf43737998"
|
|
},
|
|
"Value": "%Null%"
|
|
},
|
|
{
|
|
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
|
"ColumnBindingInfo": {
|
|
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
|
|
"TableName": "用户信息视图",
|
|
"ColumnName": "DingTalkUserID",
|
|
"GUID": "5a6555f4-7dcf-4eb2-9f35-ed7e19f84334"
|
|
},
|
|
"Value": "%Null%"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"NullFormulaValueQueryPolicy": 2
|
|
},
|
|
"ID": "b78eff73dfcd4de98bcdb10364095287",
|
|
"BreakpointIdentity": "0e35ed51-f2f3-4e33-8bb7-f2039b672626"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.LoopCommand, ServerDesignerCommon",
|
|
"LoopInfo": {
|
|
"$type": "Forguncy.Model.CountLoopInfo, ServerDesignerCommon",
|
|
"LoopCount": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=用户列表"
|
|
},
|
|
"LoopItemParamName": "Item"
|
|
},
|
|
"CommandList": {
|
|
"$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib",
|
|
"$values": [
|
|
{
|
|
"$type": "DingTalkPlugin.Getbyunionid, DingTalkPlugin",
|
|
"UnionId": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=Item.DingTalkUnionID"
|
|
},
|
|
"UserId": "UserId",
|
|
"BreakpointIdentity": "c49713ef-ca23-4343-8b4c-b204ef959ca5"
|
|
},
|
|
{
|
|
"$type": "UserManagementCommandsV2.UserManagementCommand, UserManagementCommandsV2",
|
|
"OperationType": "202",
|
|
"CommandOperator": {
|
|
"$type": "UserManagementCommandsV2.UpdateUserOperator, UserManagementCommandsV2",
|
|
"UserName": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=Item.用户名"
|
|
},
|
|
"FullName": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=Item.全名"
|
|
},
|
|
"Email": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=Item.邮件"
|
|
},
|
|
"ExtendedProperties": {
|
|
"$type": "System.Collections.Generic.List`1[[UserManagementCommandsV2.ExtendedPropertyDto, UserManagementCommandsV2]], System.Private.CoreLib",
|
|
"$values": [
|
|
{
|
|
"$type": "UserManagementCommandsV2.ExtendedPropertyDto, UserManagementCommandsV2",
|
|
"Name": "DingTalkUserID",
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=UserId"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"BreakpointIdentity": "d7993644-2e66-4cb3-b3e7-7c9ddb0d44db"
|
|
}
|
|
]
|
|
},
|
|
"BreakpointIdentity": "0e4ad7c8-e826-4e6a-a7bd-7eb419bcbc97"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
|
"ErrorCode": "0",
|
|
"Message": "执行完毕",
|
|
"BreakpointIdentity": "4e00c4fd-a54f-4da3-ad52-24223857aab4"
|
|
}
|
|
]
|
|
},
|
|
"ReturnProperties": {
|
|
"$type": "System.Collections.Generic.List`1[[Forguncy.SaveLoad.ReturnPropertySaveData, ServerDesignerCommon]], System.Private.CoreLib",
|
|
"$values": []
|
|
}
|
|
} |