diff --git a/.collaboration b/.collaboration index 2863551b..31d6df12 100644 --- a/.collaboration +++ b/.collaboration @@ -2534,16 +2534,7 @@ }, { "ModuleName": "ServerCommandPrivate/钉钉事件处理", - "State": 1, - "LockedBy": { - "UserName": "cuckooent", - "Email": "phoben@qq.com" - }, - "LockDateTime": "2024-11-29T19:01:26.7590673+08:00", - "ModuleType": 27, - "ToRemoveFiles": [ - "ServerCommands\\钉钉\\钉钉事件处理.json" - ] + "ModuleType": 27 }, { "ModuleName": "Image/默认头像.png", @@ -2699,22 +2690,10 @@ }, { "ModuleName": "TaskScheduler/定时更新会议信息", - "State": 3, - "LockedBy": { - "UserName": "cuckooent", - "Email": "phoben@qq.com" - }, - "LockDateTime": "2024-11-29T19:06:33.6739854+08:00", "ModuleType": 16 }, { "ModuleName": "ServerCommandPrivate/更新钉钉会议信息", - "State": 3, - "LockedBy": { - "UserName": "cuckooent", - "Email": "phoben@qq.com" - }, - "LockDateTime": "2024-11-29T18:56:55.58774+08:00", "ModuleType": 27 } ] \ No newline at end of file diff --git a/SchedulerTasks/定时任务/定时更新会议信息.json b/SchedulerTasks/定时任务/定时更新会议信息.json new file mode 100644 index 00000000..4c6d1aee --- /dev/null +++ b/SchedulerTasks/定时任务/定时更新会议信息.json @@ -0,0 +1,93 @@ +{ + "Name": "定时更新会议信息", + "Enabled": true, + "Triggers": [ + { + "$type": "Forguncy.SaveLoad.ScheduleTriggerSaveData, ServerDesignerCommon", + "StartDateTime": 45625.0, + "ScheduleRunInDebugServer": false + } + ], + "Commands": [ + { + "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", + "ParameterName": "未结束会议", + "TableValue": { + "TableName": "会议记录表", + "BindingInfos": [ + { + "GUID": "fc384ba2-bbcf-4e47-a8ff-1a36be53552c", + "BindingInfo": { + "TableName": "会议记录表", + "ColumnName": "钉钉会议ID", + "GUID": "59b994f1-1b15-4606-940d-d9c222f34468" + }, + "ColumnName": "钉钉会议ID" + } + ], + "SqlCondition": { + "$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess", + "SubConditions": [ + { + "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", + "ColumnBindingInfo": { + "TableName": "会议记录表", + "ColumnName": "会议结束时间", + "GUID": "e4eb9b01-31a5-41e1-a760-1a80bef3076a" + }, + "Value": "%Null%" + }, + { + "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", + "CompareType": 5, + "ColumnBindingInfo": { + "TableName": "会议记录表", + "ColumnName": "会议开始时间", + "GUID": "117bec0b-6642-4a66-ae7e-5fab726a6023" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=NOW()-(1/24)" + } + } + ] + } + }, + "ID": "b877c1de4b2742d6bd7a892c8fb96781", + "Comments": "寻找已经开始1小时且未结束的", + "BreakpointIdentity": "c0a2f5d0-83ba-4c88-a177-4c872d68ff66" + }, + { + "$type": "Forguncy.Model.LoopCommand, ServerDesignerCommon", + "LoopInfo": { + "$type": "Forguncy.Model.CountLoopInfo, ServerDesignerCommon", + "LoopCount": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=未结束会议" + }, + "LoopItemParamName": "Item" + }, + "CommandList": [ + { + "$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon", + "ServerCommandName": "更新钉钉会议信息", + "Parameters": [ + { + "$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon", + "ParamName": "钉钉会议ID", + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=Item.钉钉会议ID" + } + } + ], + "RefreshAfterFinish": true, + "CheckDataValidation": true, + "BreakpointIdentity": "4280c79c-e600-4e6c-a929-d3f09e348339" + } + ], + "BreakpointIdentity": "c046347a-045c-4464-9114-ffbb79720235" + } + ], + "ReturnProperties": [] +} \ No newline at end of file diff --git a/ServerCommands/钉钉/钉钉事件处理.json b/ServerCommands/钉钉/钉钉事件处理.json index 36775a5f..81f40152 100644 --- a/ServerCommands/钉钉/钉钉事件处理.json +++ b/ServerCommands/钉钉/钉钉事件处理.json @@ -488,7 +488,7 @@ } ] }, - "ID": "4e8dfd9b-aacf-47e2-bf3a-e3826041df5c" + "ID": "a9f880df-dc2d-4164-9c44-dfa57c7d0548" }, { "$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon", @@ -626,7 +626,7 @@ } ] }, - "ID": "1045d3c8-868e-43d0-a757-eea18b28c323" + "ID": "e2683c51-e9dc-4fb8-b14c-e37315590cb3" } ] }, @@ -635,7 +635,7 @@ ] }, "Comments": "会议创建事件", - "ID": "fe331700-3e54-405d-a975-1cb0eb75a81e" + "ID": "a0438521-7248-455f-9505-be63eaf401ee" }, { "$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon", @@ -694,6 +694,103 @@ "OutParamaterName": "参会人员UnionId", "BreakpointIdentity": "03a57a76-76c7-43ee-9c64-b2036f54f4b3" }, + { + "$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": "ce514d99-8395-443b-b096-a3c7e8a5be45", + "BindingInfo": { + "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", + "TableName": "用户信息视图", + "ColumnName": "用户名", + "GUID": "f8246baa-4c33-48e7-83de-15f012747a59" + }, + "ColumnName": "用户名" + } + ] + }, + "SqlCondition": { + "$type": "ForguncyDataAccess.TextCESqlCondition, ForguncyDataAccess", + "CompareType": 8, + "ColumnBindingInfo": { + "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", + "TableName": "用户信息视图", + "ColumnName": "DingTalkUnionID", + "GUID": "1dbcf48a-4424-49d7-a4c7-605c07fa77e3" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=参会人员UnionId" + } + }, + "NullFormulaValueQueryPolicy": 0, + "TopCount": "1" + }, + "ID": "0d2c460538184dc39b59332c051bb2b1", + "BreakpointIdentity": "6e06b305-59b2-42a7-a8f1-0559bfd8acc8" + }, + { + "$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit", + "InParamater": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=参与人列表" + }, + "Operation": 16, + "OperationParamaterAName": ",", + "OperationParamaterBName": "用户名", + "OutParamaterName": "参与人用户名", + "BreakpointIdentity": "1abdd57b-360f-45b5-b5cd-649c9d2dba0d" + }, + { + "$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": "602e903f-5936-43c8-b512-948f37471373", + "BindingInfo": { + "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", + "TableName": "用户信息视图", + "ColumnName": "用户名", + "GUID": "ad0eec1b-6154-4cee-ba4d-ef36b6f8bc91" + }, + "ColumnName": "用户名" + } + ] + }, + "SqlCondition": { + "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", + "ColumnBindingInfo": { + "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", + "TableName": "用户信息视图", + "ColumnName": "DingTalkUnionID", + "GUID": "d924381c-e7f5-47e8-9a4c-dd871b436c27" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=事件体.openConfModel.creatorId" + } + }, + "NullFormulaValueQueryPolicy": 0, + "TopCount": "1" + }, + "ID": "630241309c3541f68fbb07e13ada98ce", + "BreakpointIdentity": "fa8c9c90-3418-4f91-8ea3-8d5b3baa341a" + }, { "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", "ConditionAndCommandPairList": { @@ -867,12 +964,12 @@ "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=创建会议ID" }, - "ID": "1f6b56037de448848f6bfe4b8cf1157b", + "ID": "c4dd6b2af69547a8814f22025ca17370", "BreakpointIdentity": "63e9670c-c713-404f-b0cf-9e6197ddc66e" } ] }, - "ID": "31455ef9-8750-4a39-bc19-ac7778ccaa8e" + "ID": "c141e4fb-5766-47e9-a331-5397b640d3bd" }, { "$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon", @@ -882,12 +979,12 @@ { "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", "ParameterName": "新会议ID", - "ID": "bfe6b8836273419ba882d0050092e600", + "ID": "bcc3054d181749a8a89d2b85cdf0ac04", "BreakpointIdentity": "63e9670c-c713-404f-b0cf-9e6197ddc66e" } ] }, - "ID": "5046a579-e324-474e-9333-1d1169c972b5" + "ID": "87b40ebd-8b35-41ff-ad38-f689ffb640cf" } ] }, @@ -942,7 +1039,7 @@ "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "会议记录表", "ColumnName": "会议结束时间", - "GUID": "e170c713-3429-4131-9441-678e7fc1d9d8" + "GUID": "2d405f1e-e2ed-4b54-8c39-acc8f0f3e860" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", @@ -955,7 +1052,7 @@ "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "会议记录表", "ColumnName": "会议持续时间", - "GUID": "ee32ae42-be3d-4b6c-a96e-5f58e0978564" + "GUID": "d3b9a997-90b6-41d8-8662-67cd66c7f1dd" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", @@ -968,7 +1065,7 @@ "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "会议记录表", "ColumnName": "会议状态", - "GUID": "589ae5fb-b115-4cb5-af79-990727593ed4" + "GUID": "8ba130b7-5fb6-473c-808d-c56cf61cd5c7" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", @@ -981,20 +1078,59 @@ "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "会议记录表", "ColumnName": "参与人", - "GUID": "6a17ae7e-bcbb-4e76-a686-be4018f9ebde" + "GUID": "e3bd4f78-c15a-450c-90bc-f60d4a0adebb" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=参会人员UnionId" } }, + { + "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", + "BindingInfo": { + "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", + "TableName": "会议记录表", + "ColumnName": "参与人用户名", + "GUID": "54956c04-f6b7-45b5-918c-3d507c639725" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=参与人用户名" + } + }, + { + "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", + "BindingInfo": { + "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", + "TableName": "会议记录表", + "ColumnName": "发起人", + "GUID": "fc9de4c5-c8b1-46f5-97b5-d78442cc4b7e" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=事件体.openConfModel.creatorId" + } + }, + { + "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", + "BindingInfo": { + "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", + "TableName": "会议记录表", + "ColumnName": "发起人用户名", + "GUID": "db4f3c7d-6ba6-4e29-840d-25435950c3ce" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=发起人信息.用户名" + } + }, { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "会议记录表", "ColumnName": "关联钉钉会议ID", - "GUID": "bf33c619-fe23-446b-91a0-1515b70c2250" + "GUID": "90b49ae0-7444-4b3c-a815-596fb20ce16d" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", @@ -1007,7 +1143,7 @@ } ] }, - "ID": "8d14ead8-fdcb-41f0-88e4-31bff19c6d5a" + "ID": "e6b6d917-b437-4499-8539-700865c2d6c1" }, { "$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon", @@ -1028,7 +1164,7 @@ "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "会议记录表", "ColumnName": "钉钉会议ID", - "GUID": "3d92bc5d-69cc-4f40-af44-ab94ab2a53ad" + "GUID": "f8e29d0d-1ade-457e-b811-42ac3c853867" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", @@ -1041,7 +1177,7 @@ "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "会议记录表", "ColumnName": "会议业务类型", - "GUID": "182e3aa2-d3e8-400a-ab1d-6522c7ebd232" + "GUID": "ed81b1ac-653f-4c79-b3f7-c998967b2b0d" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", @@ -1054,7 +1190,7 @@ "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "会议记录表", "ColumnName": "会议持续时间", - "GUID": "aa508be5-f7db-4e4b-8147-0c0ae1bdae92" + "GUID": "1aa62a7f-01db-43a4-aecf-f1ecf942d795" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", @@ -1067,7 +1203,7 @@ "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "会议记录表", "ColumnName": "会议状态", - "GUID": "5610e593-e319-4de3-81e2-6b3d2e0cbc6b" + "GUID": "861b06fa-fc9d-4c78-a63c-47c5fa393208" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", @@ -1080,7 +1216,7 @@ "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "会议记录表", "ColumnName": "发起人", - "GUID": "1bae6298-0f9c-477d-bb1f-7ee3f0b474a7" + "GUID": "9c472d72-f19a-4d0a-aa49-aa3ba5ff5839" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", @@ -1093,7 +1229,7 @@ "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "会议记录表", "ColumnName": "参与人", - "GUID": "05ff0902-ebee-45ae-b34b-a9c4f6d977b2" + "GUID": "b68d45e6-5fff-497b-83a8-d18ea7ff1778" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", @@ -1106,7 +1242,7 @@ "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "会议记录表", "ColumnName": "会议标题", - "GUID": "930481ab-bb82-457a-b9ba-da95c8d05ba1" + "GUID": "b8e9fd99-0d75-4198-b5fb-f98e906e637e" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", @@ -1119,7 +1255,7 @@ "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "会议记录表", "ColumnName": "自动拉会", - "GUID": "0d46b535-c34e-4449-8f93-8823bd6eee0a" + "GUID": "9e59bd4b-4f52-444b-aab0-04b9946fcca4" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", @@ -1132,12 +1268,38 @@ "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "会议记录表", "ColumnName": "开启云录制", - "GUID": "d130fb0c-6a25-4b03-9958-0f6bfd8402b9" + "GUID": "229f1a80-7cca-4489-9caa-6ef2fdc7ff7a" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=事件体.openConfModel.cloudRecordStatus" } + }, + { + "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", + "BindingInfo": { + "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", + "TableName": "会议记录表", + "ColumnName": "发起人用户名", + "GUID": "9ca82dac-5c09-4e92-be6e-c822b0c48cec" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=发起人信息.用户名" + } + }, + { + "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", + "BindingInfo": { + "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", + "TableName": "会议记录表", + "ColumnName": "参与人用户名", + "GUID": "6d1428a6-862f-4294-b8ed-5a5dd0c7c617" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=参与人用户名" + } } ] }, @@ -1145,7 +1307,7 @@ } ] }, - "ID": "76e6cf51-e842-4870-b5d8-f4bf83d13ace" + "ID": "cf55e3f5-4893-46b5-ae21-80c958e0948f" } ] }, @@ -1153,7 +1315,7 @@ } ] }, - "ID": "d18cfb4e-a9f9-4d5c-841d-2eafa151f16b" + "ID": "8e03d3d3-25d5-4f18-9e61-53728077843a" }, { "$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon", @@ -1187,7 +1349,7 @@ "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "会议记录表", "ColumnName": "会议结束时间", - "GUID": "7eff63e5-cf38-4df5-9cd2-c19b76bca7b5" + "GUID": "d5ce6b53-231b-4811-8fff-5e89e21930d5" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", @@ -1200,7 +1362,7 @@ "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "会议记录表", "ColumnName": "会议持续时间", - "GUID": "e49631fa-d0ba-48af-a3e6-18ddc2429b01" + "GUID": "f6cba933-ea8b-4cf9-82fe-a3006f9c5e4e" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", @@ -1213,25 +1375,64 @@ "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "会议记录表", "ColumnName": "会议状态", - "GUID": "edd7866f-0ec6-42f5-a628-bf82c7ee1489" + "GUID": "4c17b9d3-490e-413d-85d8-e46af0b2c1d6" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=事件体.openConfModel.status" } }, + { + "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", + "BindingInfo": { + "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", + "TableName": "会议记录表", + "ColumnName": "发起人", + "GUID": "163f4bf1-7e0c-4c53-a6d7-ce47ad9b9a4c" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=事件体.openConfModel.creatorId" + } + }, { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "会议记录表", "ColumnName": "参与人", - "GUID": "8130cb8b-7d07-4194-959e-5c2e497c2fa4" + "GUID": "604851b4-0a5b-466d-88a7-de347d6fd102" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=参会人员UnionId" } + }, + { + "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", + "BindingInfo": { + "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", + "TableName": "会议记录表", + "ColumnName": "发起人用户名", + "GUID": "e5b58a7c-f00f-4d86-ba7b-56b1cf6e5aaf" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=发起人信息.用户名" + } + }, + { + "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", + "BindingInfo": { + "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", + "TableName": "会议记录表", + "ColumnName": "参与人用户名", + "GUID": "df4ee441-52fd-4a2d-b996-132f7af56d94" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=参与人用户名" + } } ] }, @@ -1239,7 +1440,7 @@ } ] }, - "ID": "be63b26b-34cf-4d87-9964-d159394c0d87" + "ID": "6f8a092f-894c-44c1-bd51-cea123553f62" } ] }, @@ -1253,7 +1454,7 @@ } ] }, - "ID": "239a9654-76b5-4d25-bd9c-3e4965612d9b" + "ID": "15f9c242-75df-4cb7-94d3-8d2a4c51486c" } ] }, @@ -1262,7 +1463,7 @@ ] }, "Comments": "会议状态变更", - "ID": "0461d534-8d8a-443b-93bc-b6775a8dc7da" + "ID": "d2fb7892-fd08-4fee-9f95-a001baebceb6" }, { "$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon", @@ -1381,7 +1582,7 @@ } ] }, - "ID": "96ddd03b-1597-472c-9bd3-038e611fdf53" + "ID": "1c22ebd6-f496-4913-9c77-157a26637983" } ] }, @@ -1393,7 +1594,7 @@ } ] }, - "ID": "22c17d8f-c8a8-4475-a383-f070ffd700dc" + "ID": "c8d02e6a-c55d-4909-98fb-5ebc97c48c23" } ] }, diff --git a/ServerCommands/项目/更新钉钉会议信息.json b/ServerCommands/项目/更新钉钉会议信息.json new file mode 100644 index 00000000..c894aba3 --- /dev/null +++ b/ServerCommands/项目/更新钉钉会议信息.json @@ -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": [] + } +} \ No newline at end of file