{"Message":"新增钉钉回调对接","MessageType":2,"Modules":[{"State":1,"Type":7,"Name":"Table/会议记录表"},{"State":1,"Type":1,"Name":"PCPage/项目标题"},{"State":1,"Type":1,"Name":"PCPage/发起钉钉项目会议"},{"State":1,"Type":15,"Name":"ServerCommand/批量同步所有用户UserID"},{"State":1,"Type":15,"Name":"ServerCommand/dingtalkLogin"},{"State":1,"Type":27,"Name":"ServerCommandPrivate/订阅钉钉回调事件"},{"State":1,"Type":15,"Name":"ServerCommand/创建项目视频会议"},{"State":1,"Type":27,"Name":"ServerCommandPrivate/初始化钉钉配置"},{"State":1,"Type":40,"Name":"Plugin"},{"State":3,"Type":22,"Name":"Tables/系统"},{"State":3,"Type":7,"Name":"Table/钉钉事件订阅表"},{"State":3,"Type":1,"Name":"PCPage/项目会议"},{"State":3,"Type":7,"Name":"Table/会议状态"}],"Version":"v1"}

This commit is contained in:
cuckooent
2024-11-16 15:28:09 +08:00
parent ce18b8fcde
commit 518749910d
17 changed files with 1820 additions and 538 deletions

View File

@@ -71,7 +71,7 @@
"$values": [
{
"$type": "Forguncy.SaveLoad.ParameterItemSaveData, ServerDesignerCommon",
"Name": "用户名",
"Name": "UnionID",
"DataValidationInfo": {
"$type": "Forguncy.SaveLoad.DataValidationInfoSaveData, ServerDesignerCommon",
"IgnoreBlank": false
@@ -96,48 +96,6 @@
"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": "项目表",
"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": "ae136e45-f8f3-4bc0-a6c0-a984db108d46",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "项目表",
"ColumnName": "项目名称",
"GUID": "6cdf5178-317e-4abd-8460-d2a8e91d4069"
},
"ColumnName": "项目名称"
}
]
},
"SqlCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "项目表",
"ColumnName": "ID",
"GUID": "1287418a-ac93-42f7-9005-01a8eafdf9e5"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目ID"
}
},
"NullFormulaValueQueryPolicy": 0,
"TopCount": "1"
},
"ID": "beeb0b13abc0431e9c9bd8cd0550eb20",
"BreakpointIdentity": "92d6e0fd-72bc-460a-9236-ba42bd42e3fe"
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": {
@@ -151,15 +109,172 @@
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目信息"
"SerializeProperty": "=参会人员.Count"
}
},
"value": "%Null%",
"compareType": 1
"value": "0",
"compareType": 2
},
"CommandList": {
"$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib",
"$values": [
{
"$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit",
"InParamater": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=参会人员"
},
"Operation": 16,
"OperationParamaterAName": ",",
"OperationParamaterBName": "UnionID",
"OutParamaterName": "UnionID拼接",
"BreakpointIdentity": "481f11f1-a708-43a2-98ab-1608290c4fb3"
},
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "当前用户",
"ParameterValue": "%CurrentUser.DingTalkUnionID%",
"ID": "987f56a732774eaa9513d7c96fed6b54",
"BreakpointIdentity": "fedb9d66-b60e-4f89-bf8f-f5b60abd91fe"
},
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "会议标题",
"ParameterValue": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=会议标题"
},
"ID": "c711fb8f58d34e0f9c0f4e258f4174cf",
"BreakpointIdentity": "3fb2ff75-5fae-406e-b580-088d675924a3"
},
{
"$type": "DingTalkPlugin.VideoConferences, DingTalkPlugin",
"ConfTitle": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=会议标题"
},
"UserType": "UnionId",
"CreatorId": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=当前用户"
},
"InviteUserIds": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=UnionID拼接"
},
"Result": "返回结果",
"BreakpointIdentity": "0f4ce002-6665-4b27-bbb4-41b08c0c2c44"
},
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "会议记录表",
"UpdateType": "add",
"ShowConfirm": false,
"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": "2fe7847c-2ffa-4dd7-b247-3c8228bda784"
},
"Value": "0"
},
{
"$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "会议记录表",
"ColumnName": "钉钉会议ID",
"GUID": "e2c4fadf-e2c3-4e1a-a470-18418ec37675"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=返回结果.ConferenceId"
}
},
{
"$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "会议记录表",
"ColumnName": "发起人",
"GUID": "0fdb4021-ff0b-42f3-8b8b-cf5fdc24bf4b"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=当前用户"
}
},
{
"$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "会议记录表",
"ColumnName": "参与人",
"GUID": "c3143ba3-f99c-43d2-901b-8397d88be91d"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=UnionID拼接"
}
},
{
"$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "会议记录表",
"ColumnName": "会议标题",
"GUID": "4794dbc9-3afb-4581-89e4-f67354fa9b59"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=会议标题"
}
},
{
"$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "会议记录表",
"ColumnName": "自动拉会",
"GUID": "d2492af0-6e15-4449-872e-87a320bbd4c3"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=自动拉会"
}
},
{
"$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "会议记录表",
"ColumnName": "会议状态",
"GUID": "e6a6731f-c13a-4fbf-a8c4-a634c0aaf5fe"
},
"Value": "2"
},
{
"$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "会议记录表",
"ColumnName": "项目ID",
"GUID": "6d6d3b4a-c58b-4d87-a480-f56454243b9f"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目ID"
}
}
]
},
"BreakpointIdentity": "4a20ad8e-b454-4fad-99b8-6bbe1a7b7b54"
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": {
@@ -168,263 +283,91 @@
{
"$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon",
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=参会人员.Count"
}
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
"SubConditions": {
"$type": "System.Collections.Generic.List`1[[ForguncyDataAccess.ISqlCondition, ForguncyDataAccess]], System.Private.CoreLib",
"$values": [
{
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=开启云录制"
}
},
"value": "1"
},
{
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=开启云录制"
}
},
"value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=TRUE()"
}
}
]
},
"value": "0",
"compareType": 2
"RelationType": 1
},
"CommandList": {
"$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib",
"$values": [
{
"$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit",
"InParamater": {
"$type": "DingTalkPlugin.StartCloudRecordHeaders, DingTalkPlugin",
"ConferenceId": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=参会人员"
},
"Operation": 16,
"OperationParamaterAName": ",",
"OperationParamaterBName": "用户名",
"OutParamaterName": "参会人",
"BreakpointIdentity": "481f11f1-a708-43a2-98ab-1608290c4fb3"
},
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "当前用户",
"ParameterValue": "%CurrentUser%",
"ID": "55a553cc142043369c51b0f75f201911",
"BreakpointIdentity": "fedb9d66-b60e-4f89-bf8f-f5b60abd91fe"
},
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "会议标题",
"ParameterValue": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=IF(会议标题=\"\",项目信息.项目名称&\"项目沟通会议\",会议标题)"
},
"ID": "e6ce2438ce8645e4a9b560530765020d",
"BreakpointIdentity": "3fb2ff75-5fae-406e-b580-088d675924a3"
},
{
"$type": "DingTalkPlugin.VideoConferences, DingTalkPlugin",
"ConfTitle": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=会议标题"
"SerializeProperty": "=返回结果.ConferenceId"
},
"UserType": "UnionId",
"CreatorId": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=当前用户"
},
"InviteUserIds": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=参会人"
},
"Result": "返回结果",
"BreakpointIdentity": "0f4ce002-6665-4b27-bbb4-41b08c0c2c44"
},
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "会议记录表",
"UpdateType": "add",
"ShowConfirm": false,
"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": "62f54880-cb00-432e-80fb-ad7f35049baf"
},
"Value": "0"
},
{
"$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "会议记录表",
"ColumnName": "钉钉会议ID",
"GUID": "e7647db4-a0df-4682-a48b-90a32a42fe3f"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=返回结果.ConferenceId"
}
},
{
"$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "会议记录表",
"ColumnName": "发起人",
"GUID": "17e71522-e06a-4ca3-8a02-17aab9f5cbc5"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=当前用户"
}
},
{
"$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "会议记录表",
"ColumnName": "参与人",
"GUID": "bbdcd346-1e1e-4f8e-8515-3b2261ede380"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=参会人"
}
},
{
"$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "会议记录表",
"ColumnName": "会议标题",
"GUID": "a9c9feb1-31a1-4380-81f7-ea5e5d79334f"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=会议标题"
}
},
{
"$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "会议记录表",
"ColumnName": "自动拉会",
"GUID": "793de123-8715-4270-b2bc-7bbba760fbbc"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=自动拉会"
}
},
{
"$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "会议记录表",
"ColumnName": "会议状态",
"GUID": "741b92e2-b9fe-4118-9491-0cc2bc9ce40b"
},
"Value": "1"
}
]
},
"BreakpointIdentity": "4a20ad8e-b454-4fad-99b8-6bbe1a7b7b54"
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": {
"$type": "System.Collections.Generic.List`1[[Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon]], System.Private.CoreLib",
"$values": [
{
"$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon",
"Condition": {
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
"SubConditions": {
"$type": "System.Collections.Generic.List`1[[ForguncyDataAccess.ISqlCondition, ForguncyDataAccess]], System.Private.CoreLib",
"$values": [
{
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=开启云录制"
}
},
"value": "1"
},
{
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=开启云录制"
}
},
"value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=TRUE()"
}
}
]
},
"RelationType": 1
},
"CommandList": {
"$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib",
"$values": [
{
"$type": "DingTalkPlugin.StartCloudRecordHeaders, DingTalkPlugin",
"ConferenceId": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=返回结果.ConferenceId"
},
"CreatorId": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=当前用户"
},
"SmallWindowPosition": "float_bottom",
"Mode": "full_screen",
"BreakpointIdentity": "3e338c06-8a11-473e-9038-585bba40a40e"
}
]
},
"ID": "079322e1-6a96-44f0-85f7-e9f3653bb39b"
}
]
},
"BreakpointIdentity": "894bb60f-e90c-440a-bd83-c0897166076b"
},
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": "发起成功",
"CustomReturns": {
"$type": "System.Collections.Generic.List`1[[Forguncy.Model.CustomReturns, ServerDesignerCommon]], System.Private.CoreLib",
"$values": [
{
"$type": "Forguncy.Model.CustomReturns, ServerDesignerCommon",
"ReturnPropertyName": "会议ID",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=返回结果.ConferenceId"
}
}
]
},
"BreakpointIdentity": "783291b8-4913-4562-b2d0-da812f4a2a64"
"SmallWindowPosition": "float_bottom",
"Mode": "full_screen",
"BreakpointIdentity": "3e338c06-8a11-473e-9038-585bba40a40e"
}
]
},
"ID": "8c6efedc-056f-4c6b-8967-93250e5375fe"
"ID": "a392f35d-ff07-4be3-b482-ea1ebcaade21"
}
]
},
"BreakpointIdentity": "a618d238-74cd-47c1-91bd-c5cad1d22cb6"
"BreakpointIdentity": "894bb60f-e90c-440a-bd83-c0897166076b"
},
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": "发起成功",
"CustomReturns": {
"$type": "System.Collections.Generic.List`1[[Forguncy.Model.CustomReturns, ServerDesignerCommon]], System.Private.CoreLib",
"$values": [
{
"$type": "Forguncy.Model.CustomReturns, ServerDesignerCommon",
"ReturnPropertyName": "会议ID",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=返回结果.ConferenceId"
}
}
]
},
"BreakpointIdentity": "783291b8-4913-4562-b2d0-da812f4a2a64"
}
]
},
"ID": "d3fddcda-623a-41f8-aa50-41633a67a100"
"ID": "545b5f66-1705-464a-b43f-5b871db6b47f"
}
]
},
"BreakpointIdentity": "3ed17605-dda1-49f5-a64a-ab7ac5341411"
"BreakpointIdentity": "a618d238-74cd-47c1-91bd-c5cad1d22cb6"
}
]
},