{ "Name": "拉起项目视频会议", "Enabled": true, "Triggers": [ { "$type": "Forguncy.SaveLoad.PostRequestTriggerSaveData, ServerDesignerCommon", "Permission": { "PermissionData": { "$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionData, Forguncy.RbacPermission.Core", "permissionResource": { "$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionResource, Forguncy.RbacPermission.Core" }, "permissionBindings": [ { "$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionBinding, Forguncy.RbacPermission.Core", "roleNames": [ "FGC_LoginUser" ] } ] } }, "Parameters": [ { "Name": "项目ID", "DataValidationInfo": { "IgnoreBlank": false }, "TestData": "1" }, { "Name": "邀请三经理", "DataValidationInfo": {}, "TestData": "0" } ], "InvokeTriggerTestData": { "UserName": "shamus" } } ], "Commands": [ { "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", "ParameterName": "项目信息", "TableValue": { "TableName": "项目表", "TableValueType": 1, "BindingInfos": [ { "GUID": "2c5d1dbf-6aaa-4930-8be5-1cb779650e0a", "BindingInfo": { "TableName": "项目表", "ColumnName": "项目名称", "GUID": "6cdf5178-317e-4abd-8460-d2a8e91d4069" }, "ColumnName": "项目名称" }, { "GUID": "64570a32-67c1-4cc3-bef5-787ce3149232", "BindingInfo": { "TableName": "项目表", "ColumnName": "项目经理", "GUID": "3da4b8e9-f98b-4d59-b28c-a987fc95d3f9" }, "ColumnName": "项目经理" }, { "GUID": "18d01a5b-2efe-4ed6-8ef5-106bc731e480", "BindingInfo": { "TableName": "项目表", "ColumnName": "商务经理", "GUID": "a66149c3-2d31-43ef-a7e2-9c75075a49b7" }, "ColumnName": "商务经理" }, { "GUID": "68228cf5-4734-4da9-857d-56e5727ac8c4", "BindingInfo": { "TableName": "项目表", "ColumnName": "客服经理", "GUID": "80a12bdd-428f-458e-96a6-84b39f66cf42" }, "ColumnName": "客服经理" } ], "SqlCondition": { "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", "ColumnBindingInfo": { "TableName": "项目表", "ColumnName": "ID", "GUID": "1287418a-ac93-42f7-9005-01a8eafdf9e5" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=项目ID" } }, "NullFormulaValueQueryPolicy": 0, "TopCount": "1" }, "ID": "e13a4213cf624db4a0dad6f57781f6b5" }, { "$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": "%Null%", "compareType": 1 }, "CommandList": [ { "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", "ParameterName": "项目成员", "TableValue": { "TableName": "项目成员表", "BindingInfos": [ { "GUID": "c851f59d-3c61-417a-8651-7241ff7e6c4b", "BindingInfo": { "TableName": "项目成员表", "ColumnName": "项目成员", "GUID": "6327b287-d657-407c-8ade-82a8da5c4b6e" }, "ColumnName": "项目成员" } ], "SqlCondition": { "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", "ColumnBindingInfo": { "TableName": "项目成员表", "ColumnName": "项目ID", "GUID": "34bf798b-74dd-4c85-90e8-89aac6f8feef" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=项目ID" } } }, "ID": "20e8f5c7f2f44c8b9646bd55f5e8746f" }, { "$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": "=项目成员.Count" } }, "value": "0", "compareType": 2 }, "CommandList": [ { "$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit", "InParamater": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=项目成员" }, "Operation": 18, "OperationParamaterAName": "项目成员", "OperationParamaterBName": "项目成员", "OutParamaterName": "项目成员数组" } ], "ID": "b551c808-60de-4fb4-8c18-023feaaa2b9a" } ] }, { "$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": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit", "InParamater": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=项目成员数组" }, "Operation": 4, "OperationParamaterAName": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=项目信息.项目经理" }, "OperationParamaterBName": "项目成员", "OutParamaterName": "项目成员数组" }, { "$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit", "InParamater": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=项目成员数组" }, "Operation": 4, "OperationParamaterAName": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=项目信息.商务经理" }, "OperationParamaterBName": "项目成员", "OutParamaterName": "项目成员数组" }, { "$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit", "InParamater": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=项目成员数组" }, "Operation": 4, "OperationParamaterAName": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=项目信息.客服经理" }, "OperationParamaterBName": "项目成员", "OutParamaterName": "项目成员数组" } ], "ID": "4d835e79-35a6-42c3-9309-3535baa9617b" } ] }, { "$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": "=项目成员数组.Count" } }, "value": "0", "compareType": 2 }, "CommandList": [ { "$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit", "InParamater": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=项目成员数组" }, "Operation": 16, "OperationParamaterAName": ",", "OutParamaterName": "参会人" }, { "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", "ParameterName": "当前用户", "ParameterValue": "%CurrentUser%", "ID": "4eabe0a25e8e451bb35f4594434b5ea3" }, { "$type": "DingTalkPlugin.VideoConferences, DingTalkPlugin", "ConfTitle": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=项目信息.项目名称&\"项目沟通会议\"" }, "CreatorId": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=当前用户" }, "InviteUserIds": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=参会人" }, "Result": "返回结果" }, { "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", "ErrorCode": "0", "Message": "发起成功", "CustomReturns": [ { "ReturnPropertyName": "会议ID", "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=返回结果.RoomCode" } } ] } ], "ID": "68140703-58c3-4f4f-a30f-7bfa8effcec0" } ] } ], "ID": "9537ce94-7139-4356-8ad2-f89cfc706fa2" } ] } ], "ReturnProperties": [ { "Name": "会议ID" } ] }