461 lines
19 KiB
JSON
461 lines
19 KiB
JSON
{
|
|
"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": {}
|
|
},
|
|
{
|
|
"Name": "邀请三经理",
|
|
"DataValidationInfo": {},
|
|
"TestData": "0"
|
|
},
|
|
{
|
|
"Name": "开启云录制",
|
|
"DataValidationInfo": {}
|
|
},
|
|
{
|
|
"Name": "自动拉会",
|
|
"DataValidationInfo": {}
|
|
}
|
|
],
|
|
"InvokeTriggerTestData": {
|
|
"UserName": "shamus"
|
|
}
|
|
}
|
|
],
|
|
"Commands": [
|
|
{
|
|
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
|
"ParameterName": "项目信息",
|
|
"TableValue": {
|
|
"TableName": "项目表",
|
|
"TableValueType": 1,
|
|
"BindingInfos": [
|
|
{
|
|
"GUID": "274a6bef-0827-4e85-8573-f8ec5e81e5b8",
|
|
"BindingInfo": {
|
|
"TableName": "项目表",
|
|
"ColumnName": "项目名称",
|
|
"GUID": "6cdf5178-317e-4abd-8460-d2a8e91d4069"
|
|
},
|
|
"ColumnName": "项目名称"
|
|
},
|
|
{
|
|
"GUID": "02ec68c4-6136-480c-805b-2d88392649e6",
|
|
"BindingInfo": {
|
|
"TableName": "项目表",
|
|
"ColumnName": "项目经理",
|
|
"GUID": "3da4b8e9-f98b-4d59-b28c-a987fc95d3f9"
|
|
},
|
|
"ColumnName": "项目经理"
|
|
},
|
|
{
|
|
"GUID": "56d7dfe2-3565-4afb-a0a8-a7065cd3a715",
|
|
"BindingInfo": {
|
|
"TableName": "项目表",
|
|
"ColumnName": "商务经理",
|
|
"GUID": "a66149c3-2d31-43ef-a7e2-9c75075a49b7"
|
|
},
|
|
"ColumnName": "商务经理"
|
|
},
|
|
{
|
|
"GUID": "8dbb758f-413c-4a17-a84c-af1e574b079b",
|
|
"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": "bc21b25bd68d4b428743ec4073e8780f"
|
|
},
|
|
{
|
|
"$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": "9c548744-f89e-4ba5-8642-fa1b91bfbb1c"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$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": "690d855d-3c2d-4c32-bb6c-be2cec67a693"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$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": "541717b1a1534329be707bc7de15f593"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
|
"ParameterName": "会议标题",
|
|
"ParameterValue": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=IF(会议标题=\"\",项目信息.项目名称&\"项目沟通会议\",会议标题)"
|
|
},
|
|
"ID": "6a7ad9af2dd04febbf2a455dbca829b5"
|
|
},
|
|
{
|
|
"$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.UpdateDataTableCommand, ServerDesignerCommon",
|
|
"TableName": "会议记录表",
|
|
"UpdateType": "add",
|
|
"ShowConfirm": false,
|
|
"UpdateBindingValues": [
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "会议记录表",
|
|
"ColumnName": "会议业务类型",
|
|
"GUID": "d707b443-16a7-433b-b55e-91eb11553fe0"
|
|
},
|
|
"Value": "0"
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "会议记录表",
|
|
"ColumnName": "钉钉会议ID",
|
|
"GUID": "9754028a-2774-4978-98fa-1db2dbe781f3"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=返回结果.ConferenceId"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "会议记录表",
|
|
"ColumnName": "发起人",
|
|
"GUID": "4160e5a5-d3a5-420c-85c4-862731582323"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=当前用户"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "会议记录表",
|
|
"ColumnName": "参与人",
|
|
"GUID": "2a9efc6b-d0a3-4dc6-a5ca-afba9fb05412"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=参会人"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "会议记录表",
|
|
"ColumnName": "会议标题",
|
|
"GUID": "604b07b2-6d79-44cf-a827-32a5dfcfd2af"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=会议标题"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "会议记录表",
|
|
"ColumnName": "自动拉会",
|
|
"GUID": "cb9281d9-70b3-452b-b68a-12094cc8a0d6"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=自动拉会"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "会议记录表",
|
|
"ColumnName": "会议状态",
|
|
"GUID": "34e93475-8ffb-48aa-8627-0194226aabbb"
|
|
},
|
|
"Value": "1"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$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": "DingTalkPlugin.StartCloudRecordHeaders, DingTalkPlugin",
|
|
"ConferenceId": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=返回结果.ConferenceId"
|
|
},
|
|
"CreatorId": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=当前用户"
|
|
},
|
|
"SmallWindowPosition": "float_bottom",
|
|
"Mode": "full_screen"
|
|
}
|
|
],
|
|
"ID": "98745083-35ae-46f8-a379-d601fb20d914"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
|
"ErrorCode": "0",
|
|
"Message": "发起成功",
|
|
"CustomReturns": [
|
|
{
|
|
"ReturnPropertyName": "会议ID",
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=返回结果.ConferenceId"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"ID": "7ed7e311-1192-4441-be9f-d3df9abc3931"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"ID": "ccb81633-741a-4bf8-8647-52c18ac31c54"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"ReturnProperties": [
|
|
{
|
|
"Name": "会议ID"
|
|
}
|
|
]
|
|
} |