{"Message":"1","MessageType":2,"Modules":[{"State":1,"Type":27,"Name":"ServerCommandPrivate/钉钉事件处理"},{"State":3,"Type":16,"Name":"TaskScheduler/定时更新会议信息"},{"State":3,"Type":27,"Name":"ServerCommandPrivate/更新钉钉会议信息"}],"Version":"v1"}

This commit is contained in:
cuckooent
2024-11-29 19:06:53 +08:00
parent b0f9fa5b5c
commit 1214027435
4 changed files with 703 additions and 55 deletions

View File

@@ -0,0 +1,375 @@
{
"$type": "Forguncy.SaveLoad.ServerCommandSaveData, ServerDesignerCommon",
"Name": "更新钉钉会议信息",
"Enabled": true,
"Triggers": {
"$type": "System.Collections.Generic.List`1[[Forguncy.SaveLoad.TriggerSaveDataBase, ServerDesignerCommon]], System.Private.CoreLib",
"$values": [
{
"$type": "Forguncy.SaveLoad.InvokeTriggerSaveData, ServerDesignerCommon",
"Parameters": {
"$type": "System.Collections.Generic.List`1[[Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon]], System.Private.CoreLib",
"$values": [
{
"$type": "Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon",
"Name": "钉钉会议ID",
"DataValidationInfo": {
"$type": "Forguncy.SaveLoad.DataValidationInfoSaveData, ServerDesignerCommon",
"IgnoreBlank": false
}
}
]
}
}
]
},
"Commands": {
"$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib",
"$values": [
{
"$type": "Forguncy.Model.CatchExceptionCommand, ServerDesignerCommon",
"TryCommandPart": {
"$type": "Forguncy.Model.ExceptionCommandBaseNode, ServerDesignerCommon",
"CommandList": {
"$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib",
"$values": [
{
"$type": "DingTalkPlugin.QueryConferenceInfoHeaders, DingTalkPlugin",
"ConferenceId": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=钉钉会议ID"
},
"Result": "返回结果",
"BreakpointIdentity": "0d91615b-0272-4e84-a5d7-130a1dbaec19"
},
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "发起人信息",
"TableValue": {
"$type": "Forguncy.Model.Commands.ParameterTableValue, ServerDesignerCommon",
"TableName": "用户信息视图",
"TableValueType": 1,
"BindingInfos": {
"$type": "System.Collections.Generic.List`1[[Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon]], System.Private.CoreLib",
"$values": [
{
"$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon",
"GUID": "036dcc72-5d78-4d10-afb4-8ccfcad7382f",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "用户信息视图",
"ColumnName": "用户名",
"GUID": "d2e28f49-d8a2-4b55-820f-609e0982debb"
},
"ColumnName": "用户名"
}
]
},
"SqlCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "用户信息视图",
"ColumnName": "DingTalkUnionID",
"GUID": "4a1d8018-0d53-416a-bbeb-562fdfdf2161"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=返回结果.CreatorId"
}
},
"NullFormulaValueQueryPolicy": 0,
"TopCount": "1"
},
"ID": "9d751a1ab1a94f889e7304f5f639bb4b",
"BreakpointIdentity": "f9c942eb-06a2-4f55-a0cc-427666bd0140"
},
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "会议结束时间",
"ParameterValue": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=(返回结果.EndTime/1000/60/60/24)+DATE(1970,1,1)"
},
"ID": "4b5b819246064fecba977e6ca4a5e074",
"BreakpointIdentity": "1c7ce154-fc62-4ce5-a460-caa581ea6597"
},
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "会议持续秒",
"ParameterValue": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=返回结果.ConfDuration/1000"
},
"ID": "961bc398dd8c4722a897eb9fdaca7567",
"BreakpointIdentity": "b21e43c1-c32d-4cc1-bc09-cbdb0974ba19"
},
{
"$type": "DingTalkPlugin.QueryConferenceMembersWithOptions, DingTalkPlugin",
"ConferenceId": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=钉钉会议ID"
},
"Result": "会议成员",
"BreakpointIdentity": "2db61cdc-394d-4398-a790-5e2557dd3b31"
},
{
"$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit",
"InParamater": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=会议成员"
},
"Operation": 16,
"OperationParamaterAName": ",",
"OperationParamaterBName": "UnionId",
"OutParamaterName": "参会人员UnionId",
"BreakpointIdentity": "d2c9332c-cd74-4286-8dca-012ca344edf7"
},
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "参与人列表",
"TableValue": {
"$type": "Forguncy.Model.Commands.ParameterTableValue, ServerDesignerCommon",
"TableName": "用户信息视图",
"TableValueType": 1,
"BindingInfos": {
"$type": "System.Collections.Generic.List`1[[Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon]], System.Private.CoreLib",
"$values": [
{
"$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon",
"GUID": "378b32e0-46c3-498a-a944-4837ffe408e3",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "用户信息视图",
"ColumnName": "用户名",
"GUID": "ac63d0f5-e1dd-4d93-8116-5b4312c0341d"
},
"ColumnName": "用户名"
}
]
},
"SqlCondition": {
"$type": "ForguncyDataAccess.TextCESqlCondition, ForguncyDataAccess",
"CompareType": 8,
"ColumnBindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "用户信息视图",
"ColumnName": "DingTalkUnionID",
"GUID": "1260996c-47a3-4a64-8a47-9f53363bf29b"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=参会人员UnionId"
}
},
"NullFormulaValueQueryPolicy": 0,
"TopCount": "1"
},
"ID": "92ac27ff5ba241e192539fd8f4725f91",
"BreakpointIdentity": "b61f2233-aa94-4f47-98d7-6df691073ed4"
},
{
"$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit",
"InParamater": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=参与人列表"
},
"Operation": 16,
"OperationParamaterAName": ",",
"OperationParamaterBName": "用户名",
"OutParamaterName": "参与人用户名",
"BreakpointIdentity": "eacc9352-e55f-4d15-8c0b-b9e3cb5cf53a"
},
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "会议记录表",
"ShowConfirm": false,
"RowsToUpdate": 1,
"RowsToUpdateCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "会议记录表",
"ColumnName": "钉钉会议ID",
"GUID": "528e796a-efdf-4fdd-917c-76ce39415549"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=返回结果.ConferenceId"
}
},
"UpdateBindingValues": {
"$type": "System.Collections.Generic.List`1[[Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon]], System.Private.CoreLib",
"$values": [
{
"$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "会议记录表",
"ColumnName": "会议结束时间",
"GUID": "3ecc902b-e723-47e5-b392-5239e9a5bfd0"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=会议结束时间"
}
},
{
"$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "会议记录表",
"ColumnName": "会议持续时间",
"GUID": "c4ad8674-1f1b-4cd4-85ea-a287fb203b09"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=会议持续秒"
}
},
{
"$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "会议记录表",
"ColumnName": "会议标题",
"GUID": "99b8ab28-be28-4a9b-a830-f8dd564b2bb8"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=返回结果.Title"
}
},
{
"$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "会议记录表",
"ColumnName": "会议状态",
"GUID": "da717b68-8e4a-4794-b98f-7d5d6eae2fde"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=返回结果.Status"
}
},
{
"$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "会议记录表",
"ColumnName": "会议开始时间",
"GUID": "8581eb51-8d72-4a6b-9a4a-21f2d49eb37b"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=返回结果.StartTime"
}
},
{
"$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "会议记录表",
"ColumnName": "开启云录制",
"GUID": "4f418298-2621-49e6-9bcd-6eb7d217ce99"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=返回结果.CloudRecordStatus"
}
},
{
"$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "会议记录表",
"ColumnName": "发起人",
"GUID": "09ce02cb-5c39-4d1f-a6ff-09ca1f6231aa"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=返回结果.CreatorId"
}
},
{
"$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "会议记录表",
"ColumnName": "发起人用户名",
"GUID": "0f1dc98d-d3e6-4103-a20c-2c3bff0ce65e"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=发起人信息.用户名"
}
},
{
"$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "会议记录表",
"ColumnName": "参与人",
"GUID": "091a31c6-ac06-4ac6-a76d-71099c06d7ce"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=参会人员UnionId"
}
},
{
"$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "会议记录表",
"ColumnName": "参与人用户名",
"GUID": "fafb0471-54ae-4cf1-be1d-e425e35c9294"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=参与人用户名"
}
}
]
},
"BreakpointIdentity": "77532fe9-d9e6-4e74-b21b-2e100a357537"
},
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": "更新完成",
"BreakpointIdentity": "51ab8385-2f04-4827-b147-963dd87ebad3"
}
]
}
},
"CatchCommandPart": {
"$type": "Forguncy.Model.CatchCommandNode, ServerDesignerCommon",
"CommandList": {
"$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib",
"$values": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ExceptionCode"
},
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ExceptionMessage"
},
"BreakpointIdentity": "1b81fb81-3b9a-436c-b82f-0dd2f6033d9d"
}
]
}
},
"BreakpointIdentity": "85638133-6b5b-4a49-a6c1-f9062f35ff64"
}
]
},
"ReturnProperties": {
"$type": "System.Collections.Generic.List`1[[Forguncy.SaveLoad.ReturnPropertySaveData, ServerDesignerCommon]], System.Private.CoreLib",
"$values": []
}
}