484 lines
21 KiB
JSON
484 lines
21 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": "d6d8059a-6bb0-406d-9f9e-e6a6e914e613",
|
|
"BindingInfo": {
|
|
"TableName": "项目表",
|
|
"ColumnName": "项目名称",
|
|
"GUID": "6cdf5178-317e-4abd-8460-d2a8e91d4069"
|
|
},
|
|
"ColumnName": "项目名称"
|
|
},
|
|
{
|
|
"GUID": "00884853-c2b8-4434-84bb-b62dec34770e",
|
|
"BindingInfo": {
|
|
"TableName": "项目表",
|
|
"ColumnName": "项目经理",
|
|
"GUID": "3da4b8e9-f98b-4d59-b28c-a987fc95d3f9"
|
|
},
|
|
"ColumnName": "项目经理"
|
|
},
|
|
{
|
|
"GUID": "874fecc1-51d5-4cc1-b15d-0c85db7c2d1f",
|
|
"BindingInfo": {
|
|
"TableName": "项目表",
|
|
"ColumnName": "商务经理",
|
|
"GUID": "a66149c3-2d31-43ef-a7e2-9c75075a49b7"
|
|
},
|
|
"ColumnName": "商务经理"
|
|
},
|
|
{
|
|
"GUID": "f76467c1-0a55-4ed5-84a8-c60d5ffc9890",
|
|
"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": "b9a63039c2c74068bbafa81cde6e0a71"
|
|
},
|
|
{
|
|
"$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": "b103b742-7377-4b38-98e4-f55568095a70",
|
|
"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": "929f95b206954614b2f1a598b2b41aee"
|
|
},
|
|
{
|
|
"$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": "9e9d55ce-7a77-4d77-90a3-e694f18495df"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$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": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=TRUE()"
|
|
}
|
|
},
|
|
"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": "a406d771-61fc-45df-aa53-3f4280b9adcf"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$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": "72ee523b-3f0d-41cb-96a1-5374e2fbe9dc"
|
|
},
|
|
"Value": "0"
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "会议记录表",
|
|
"ColumnName": "钉钉会议ID",
|
|
"GUID": "7cb7480a-1a2b-46c9-9307-3e8712c5e09d"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=返回结果.ConferenceId"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "会议记录表",
|
|
"ColumnName": "发起人",
|
|
"GUID": "b4f5b725-cb33-4845-9a47-97c3363d8c5d"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=当前用户"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "会议记录表",
|
|
"ColumnName": "参与人",
|
|
"GUID": "d18221e5-f4b7-4fcd-b853-e7cbf12b5faa"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=参会人"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "会议记录表",
|
|
"ColumnName": "会议标题",
|
|
"GUID": "ba9ef815-e51c-4872-9596-049b3d72c252"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=会议标题"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "会议记录表",
|
|
"ColumnName": "自动拉会",
|
|
"GUID": "af18afcb-bbcc-49c0-95a0-984b0a320592"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=自动拉会"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "会议记录表",
|
|
"ColumnName": "会议状态",
|
|
"GUID": "9252fa7c-274e-4390-8372-d7b74a9a459f"
|
|
},
|
|
"Value": "1"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
|
|
"ConditionAndCommandPairList": [
|
|
{
|
|
"Condition": {
|
|
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
|
|
"SubConditions": [
|
|
{
|
|
"$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": "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": "d48ca5f2-eb44-4fa8-b4c5-d16ea51bd51d"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
|
"ErrorCode": "0",
|
|
"Message": "发起成功",
|
|
"CustomReturns": [
|
|
{
|
|
"ReturnPropertyName": "会议ID",
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=返回结果.ConferenceId"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"ID": "9497524c-b33c-4279-a791-2b0ba143f467"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"ID": "2d4cf60f-d92a-46b7-9142-f5e578022db6"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"ReturnProperties": [
|
|
{
|
|
"Name": "会议ID"
|
|
}
|
|
]
|
|
} |