{"Message":"优化发起会议命令","MessageType":2,"Modules":[{"State":1,"Type":1,"Name":"PCPage/新增报工"},{"State":1,"Type":27,"Name":"ServerCommandPrivate/订阅钉钉回调事件"},{"State":1,"Type":7,"Name":"Table/会议记录表"},{"State":1,"Type":1,"Name":"PCPage/发起钉钉项目会议"},{"State":1,"Type":15,"Name":"ServerCommand/创建项目视频会议"}],"Version":"v1"}

This commit is contained in:
cuckooent
2024-09-29 16:57:52 +08:00
parent fb2808cdca
commit d740fa0144
6 changed files with 436 additions and 242 deletions

View File

@@ -39,7 +39,7 @@
"BindingInfo": {
"TableName": "日志表",
"ColumnName": "标题",
"GUID": "b6be6f1d-2125-45b1-90d8-81a2a3bc4f9c"
"GUID": "eea12101-9ee4-4654-a171-f7f3ca4bc4f4"
},
"Value": "钉钉回调事件"
},
@@ -47,7 +47,7 @@
"BindingInfo": {
"TableName": "日志表",
"ColumnName": "内容",
"GUID": "1c9b0efb-e26d-4ccf-8100-a926c9a1cb08"
"GUID": "193c1f85-8586-44fb-a962-bd714a56785d"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -58,7 +58,7 @@
"BindingInfo": {
"TableName": "日志表",
"ColumnName": "类型",
"GUID": "39d7c9da-07d9-4b66-bf39-4928ef7bdad9"
"GUID": "5b49edec-1bf8-4890-a685-76d4c0215b08"
},
"Value": "Info"
}
@@ -80,6 +80,85 @@
"value": "meeting_status_change"
},
"CommandList": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "会议信息",
"TableValue": {
"TableName": "会议记录表",
"TableValueType": 1,
"BindingInfos": [
{
"GUID": "1bc93d72-a847-4519-b43c-0cd749afa635",
"BindingInfo": {
"TableName": "会议记录表",
"ColumnName": "ID",
"GUID": "c394d36d-947d-4577-bc9f-fa1daeaa46b6"
},
"ColumnName": "ID"
},
{
"GUID": "b444411f-47e9-4398-afbc-663c187657ff",
"BindingInfo": {
"TableName": "会议记录表",
"ColumnName": "自动拉会",
"GUID": "86536872-fe31-4010-95b9-954772022c94"
},
"ColumnName": "自动拉会"
},
{
"GUID": "46df0d8d-b41f-466c-8281-d2fc8eabea89",
"BindingInfo": {
"TableName": "会议记录表",
"ColumnName": "项目ID",
"GUID": "574d7686-411a-4305-8085-a8f04e34062c"
},
"ColumnName": "项目ID"
},
{
"GUID": "c388a90a-2b0b-47df-9a96-96d67cdaf314",
"BindingInfo": {
"TableName": "会议记录表",
"ColumnName": "邀请三经理",
"GUID": "8e610369-e881-4db9-be3c-26b39a07676a"
},
"ColumnName": "邀请三经理"
},
{
"GUID": "56d9b1ae-b2f0-43f2-ab6e-2d5a001ec13e",
"BindingInfo": {
"TableName": "会议记录表",
"ColumnName": "开启云录制",
"GUID": "12ec40f2-2490-4c52-af93-e0fedf5940d1"
},
"ColumnName": "开启云录制"
},
{
"GUID": "308fc235-15dd-4d33-a2cc-f9e726781776",
"BindingInfo": {
"TableName": "会议记录表",
"ColumnName": "会议标题",
"GUID": "d6a5235b-f313-4be6-bfb8-83b62de95768"
},
"ColumnName": "会议标题"
}
],
"SqlCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "会议记录表",
"ColumnName": "钉钉会议ID",
"GUID": "9699aa04-9439-4c6d-8558-1e0b6214e5bc"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=事件体.openConfModel.conferenceId"
}
},
"NullFormulaValueQueryPolicy": 0,
"TopCount": "1"
},
"ID": "00e5b220d2c04d6fa33f10cd9600a8bb"
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
@@ -90,175 +169,279 @@
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=事件体.changeScene"
"SerializeProperty": "=会议信息"
}
},
"value": "conference_created"
"value": "%Null%",
"compareType": 1
},
"CommandList": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "会议开始时间",
"ParameterValue": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=(事件体.openConfModel.startTime/1000/60/60/24)+DATE(1970,1,1)"
},
"ID": "67a6eacbe87440258255fdae83fc3844"
},
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "会议记录表",
"ShowConfirm": false,
"RowsToUpdate": 1,
"RowsToUpdateCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "会议记录表",
"ColumnName": "钉钉会议ID",
"GUID": "8bad996d-33a8-4d83-9871-eb5fc4bc5d0d"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=事件体.openConfModel.conferenceId"
}
},
"UpdateBindingValues": [
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"BindingInfo": {
"TableName": "会议记录表",
"ColumnName": "会议业务类型",
"GUID": "cb2afa4c-d30d-44dc-acc7-8c6abcf7f755"
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=事件体.changeScene"
}
},
"value": "conference_created"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=事件体.openConfModel.bizType"
}
"CommandList": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "会议开始时间",
"ParameterValue": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=(事件体.openConfModel.startTime/1000/60/60/24)+DATE(1970,1,1)"
},
"ID": "eb09e5c66ae84e4ea3b9dbf8ea873632"
},
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "会议记录表",
"ShowConfirm": false,
"RowsToUpdate": 1,
"RowsToUpdateCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "会议记录表",
"ColumnName": "ID",
"GUID": "b8ab3059-5568-459f-859d-836e8220526e"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=会议信息.ID"
}
},
"UpdateBindingValues": [
{
"BindingInfo": {
"TableName": "会议记录表",
"ColumnName": "会议业务类型",
"GUID": "aebc6caa-4186-42be-bf66-4b4933b7764f"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=事件体.openConfModel.bizType"
}
},
{
"BindingInfo": {
"TableName": "会议记录表",
"ColumnName": "会议开始时间",
"GUID": "9eaf9a31-bbb3-4e87-9296-d208246c61dc"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=会议开始时间"
}
},
{
"BindingInfo": {
"TableName": "会议记录表",
"ColumnName": "会议持续时间",
"GUID": "95c2a67a-6774-450a-8400-2281cc80692d"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=事件体.openConfModel.confDuration"
}
},
{
"BindingInfo": {
"TableName": "会议记录表",
"ColumnName": "会议状态",
"GUID": "97444c11-8f74-430f-a52c-f751dc89f219"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=事件体.openConfModel.status"
}
}
]
}
],
"Comments": "会议创建事件",
"ID": "65e0184c-a8dd-40a1-b25a-6aab44fba513"
},
{
"BindingInfo": {
"TableName": "会议记录表",
"ColumnName": "会议开始时间",
"GUID": "93cd84fe-01a3-489d-a8a5-ee031662c735"
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=事件体.changeScene"
}
},
"value": "conference_closed"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=会议开始时间"
}
},
{
"BindingInfo": {
"TableName": "会议记录表",
"ColumnName": "会议持续时间",
"GUID": "2b73f3ad-1641-4205-98ce-e94a6cbd2df9"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=事件体.openConfModel.confDuration"
}
},
{
"BindingInfo": {
"TableName": "会议记录表",
"ColumnName": "会议状态",
"GUID": "650e211a-47d5-4b6f-90c0-f6873fc4a2f2"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=事件体.openConfModel.status"
}
"CommandList": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "会议结束时间",
"ParameterValue": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=(事件体.openConfModel.startTime/1000/60/60/24)+DATE(1970,1,1)"
},
"ID": "c17a68dc25b24a7895fb049f55c76745"
},
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "会议记录表",
"ShowConfirm": false,
"RowsToUpdate": 1,
"RowsToUpdateCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "会议记录表",
"ColumnName": "ID",
"GUID": "5432f0fa-d012-49ba-808e-cf9df1a73b6f"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=会议信息.ID"
}
},
"UpdateBindingValues": [
{
"BindingInfo": {
"TableName": "会议记录表",
"ColumnName": "会议结束时间",
"GUID": "c61ecd30-1567-4ec1-8486-942b6abb470b"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=会议结束时间"
}
},
{
"BindingInfo": {
"TableName": "会议记录表",
"ColumnName": "会议持续时间",
"GUID": "da510f75-dbfd-4550-9d3f-3a3ead6a510e"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=事件体.openConfModel.confDuration"
}
},
{
"BindingInfo": {
"TableName": "会议记录表",
"ColumnName": "会议状态",
"GUID": "d06ef35f-7f6f-4cf5-b96a-b37de70d8b96"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=事件体.openConfModel.status"
}
}
]
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=会议信息.自动拉会"
}
},
"value": "1"
},
"CommandList": [
{
"$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon",
"ServerCommandName": "创建项目视频会议",
"Parameters": [
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "项目ID",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=会议信息.自动拉会"
}
},
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "会议标题",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=会议信息.会议标题"
}
},
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "邀请三经理",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=会议信息.邀请三经理"
}
},
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "开启云录制",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=会议信息.开启云录制"
}
},
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "自动拉会",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=会议信息.自动拉会"
}
}
],
"ResultErrorCodeTo": {
"SerializeProperty": "code"
},
"ResultMessageTo": {
"SerializeProperty": "msg"
},
"ReturnPropertiesTo": [
{
"ResultPropertyName": "会议ID",
"ResultTo": {
"SerializeProperty": "创建会议ID"
}
}
],
"RefreshAfterFinish": true,
"CheckDataValidation": true
}
],
"ID": "f61db545-e3fc-48ec-9f93-e02a5b707c37"
}
]
}
],
"ID": "110bb39b-c482-4c26-9177-bcba893ff6df"
}
]
}
],
"Comments": "会议创建事件",
"ID": "f981a0a3-2650-4d2c-bb20-3beceb2d9e6c"
},
{
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=事件体.changeScene"
}
},
"value": "conference_closed"
},
"CommandList": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "会议结束时间",
"ParameterValue": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=(事件体.openConfModel.startTime/1000/60/60/24)+DATE(1970,1,1)"
},
"ID": "722da488cdd348e9abe70615143cee68"
},
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "会议记录表",
"ShowConfirm": false,
"RowsToUpdate": 1,
"RowsToUpdateCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "会议记录表",
"ColumnName": "钉钉会议ID",
"GUID": "8bad996d-33a8-4d83-9871-eb5fc4bc5d0d"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=事件体.openConfModel.conferenceId"
}
},
"UpdateBindingValues": [
{
"BindingInfo": {
"TableName": "会议记录表",
"ColumnName": "会议结束时间",
"GUID": "51660e50-7bfc-4e48-ad1b-904b32075cc4"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=会议结束时间"
}
},
{
"BindingInfo": {
"TableName": "会议记录表",
"ColumnName": "会议持续时间",
"GUID": "f37e42e7-b744-414b-851f-78e95df8e518"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=事件体.openConfModel.confDuration"
}
},
{
"BindingInfo": {
"TableName": "会议记录表",
"ColumnName": "会议状态",
"GUID": "54c167de-8b3f-49b4-9f09-a1af7c5af723"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=事件体.openConfModel.status"
}
}
]
}
],
"ID": "4a3dbf32-ff5b-41ff-9c9b-a62e6b7050d0"
"ID": "555d1fe3-daee-443c-b0d2-5b6370e8af68"
}
]
}
],
"Comments": "会议状态变更",
"ID": "a4967d4b-4c3f-4069-93d6-38d6562a74d1"
"ID": "21aee59a-d960-489b-935a-6f342a96e084"
}
],
"Disabled": true
]
},
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",