{ "$type": "Forguncy.SaveLoad.ServerCommandSaveData, ServerDesignerCommon", "Name": "发送钉钉工作日报", "Enabled": true, "Triggers": { "$type": "System.Collections.Generic.List`1[[Forguncy.SaveLoad.TriggerSaveDataBase, ServerDesignerCommon]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.SaveLoad.InvokeTriggerSaveData, ServerDesignerCommon", "Parameters": { "$type": "System.Collections.Generic.List`1[[Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon", "Name": "发送人", "DataValidationInfo": { "$type": "Forguncy.SaveLoad.DataValidationInfoSaveData, ServerDesignerCommon", "IgnoreBlank": false }, "TestData": "shamus" }, { "$type": "Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon", "Name": "昨日完成工作", "DataValidationInfo": { "$type": "Forguncy.SaveLoad.DataValidationInfoSaveData, ServerDesignerCommon", "IgnoreBlank": false }, "TestData": "测试" } ] }, "InvokeTriggerTestData": { "$type": "Forguncy.SaveLoad.InvokeTriggerTestDataSaveData, ServerDesignerCommon", "UserName": "shamus" } } ] }, "Commands": { "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", "$values": [ { "$type": "DingTalkPlugin.GetAccessToken, DingTalkPlugin", "AccessToken": "AccessToken", "BreakpointIdentity": "dac7cf0c-ec91-4269-9422-6872f43cd8c1" }, { "$type": "ApplicationServerOperationCommand.GetAppBaseUrlCommand, ApplicationServerOperationCommand", "ParamName": "baseUrl", "BreakpointIdentity": "58816ff7-0a7b-46a8-a621-4fb97eb46557" }, { "$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": "83397ebf-fdcb-4468-8afe-de733827af0e", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "用户信息视图", "ColumnName": "组织上级", "GUID": "ebfd7b38-e98b-498d-a564-4f70b3d27d76" }, "ColumnName": "组织上级" }, { "$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon", "GUID": "66e66fd4-cf04-4b7f-9721-2304a0124f1e", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "用户信息视图", "ColumnName": "DingTalkUserID", "GUID": "2cc87715-dca7-4d37-8025-0066bdc8e238" }, "ColumnName": "DingTalkUserID" } ] }, "SqlCondition": { "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", "ColumnBindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "用户信息视图", "ColumnName": "用户名", "GUID": "e9347f59-5017-4343-88bc-5153115723e3" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=发送人" } }, "TopCount": "1" }, "ID": "eb74176b39ae4da79277b2d1d9a6f52a", "BreakpointIdentity": "6aea9f78-fbff-4d67-9442-42e18cc17db8" }, { "$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": "%Null%", "compareType": 1 }, { "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", "param": { "$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon", "ParamObject": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=当前用户.DingTalkUserID" } }, "value": "%Null%", "compareType": 1 } ] } }, "CommandList": { "$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": "用户信息视图", "BindingInfos": { "$type": "System.Collections.Generic.List`1[[Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon", "GUID": "f4b3a0e9-1689-42bb-8499-d04aee973dd3", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "用户信息视图", "ColumnName": "DingTalkUserID", "GUID": "31ca7de2-cebf-4a63-98de-34025369ae7e" }, "ColumnName": "DingTalkUserID" } ] }, "SqlCondition": { "$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess", "SubConditions": { "$type": "System.Collections.Generic.List`1[[ForguncyDataAccess.ISqlCondition, ForguncyDataAccess]], System.Private.CoreLib", "$values": [ { "$type": "ForguncyDataAccess.TextCESqlCondition, ForguncyDataAccess", "CompareType": 8, "ColumnBindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "用户信息视图", "ColumnName": "用户名", "GUID": "d81bb151-a959-47fa-9cf5-3bdb45ff431c" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=SUBSTITUTE(当前用户.组织上级,\"|\",\",\")" } }, { "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", "CompareType": 1, "ColumnBindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "用户信息视图", "ColumnName": "DingTalkUserID", "GUID": "3f01d6d2-6633-42e5-a580-d480f26a1902" }, "Value": "%Null%" } ] } }, "TopCount": "1" }, "ID": "c2b51ecac6254e31b0da06e71e8b3d87", "BreakpointIdentity": "149a9ea5-1914-4dcb-bb68-d3f1da9c03fa" }, { "$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": "%Null%", "compareType": 1 }, { "$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": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", "ParameterName": "TODO列表", "TableValue": { "$type": "Forguncy.Model.Commands.ParameterTableValue, ServerDesignerCommon", "TableName": "TODO", "BindingInfos": { "$type": "System.Collections.Generic.List`1[[Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon", "GUID": "edbde9a4-5513-48aa-bdd5-40d16170f1f6", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "TODO", "ColumnName": "内容", "GUID": "8bd1e51c-618f-4760-b9b7-22dc63bfba47" }, "ColumnName": "内容" } ] }, "SqlCondition": { "$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess", "SubConditions": { "$type": "System.Collections.Generic.List`1[[ForguncyDataAccess.ISqlCondition, ForguncyDataAccess]], System.Private.CoreLib", "$values": [ { "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", "ColumnBindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "TODO", "ColumnName": "用户", "GUID": "97f5ba6c-2882-42d8-88cb-ab8e74bc4342" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=发送人" } }, { "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", "CompareType": 1, "ColumnBindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "TODO", "ColumnName": "完成", "GUID": "44879d85-0c64-4ef6-827f-570231103e24" }, "Value": "1" }, { "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", "CompareType": 1, "ColumnBindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "TODO", "ColumnName": "分类", "GUID": "c6fe586f-67aa-4b59-aa9c-1ef4a2de3b3d", "RelationBinding": { "$type": "ForguncyDataAccess.RelationBinding, ForguncyDataAccess", "RelatedTable": "TODO_分类", "RelatedColumn": "ID", "DisplayColumn": "分类名称" } }, "Value": "系统通知" }, { "$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess", "SubConditions": { "$type": "System.Collections.Generic.List`1[[ForguncyDataAccess.ISqlCondition, ForguncyDataAccess]], System.Private.CoreLib", "$values": [ { "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", "ColumnBindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "TODO", "ColumnName": "提醒日期", "GUID": "a5fe391e-a2c4-41f5-a109-44f4a5684abe" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=TODAY()" }, "LeftBracket": 1 }, { "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", "ColumnBindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "TODO", "ColumnName": "提醒日期", "GUID": "44c8934b-4dde-4655-bc5c-48d97101e388" }, "Value": "%Null%", "RightBracket": 1 } ] }, "RelationType": 1 } ] } }, "NullFormulaValueQueryPolicy": 0, "OrderBySqlCondition": { "$type": "ForguncyDataAccess.OrderBySqlCondition, ForguncyDataAccess", "OrderByColumns": { "$type": "System.Collections.Generic.List`1[[ForguncyDataAccess.OrderBySqlConditionItem, ForguncyDataAccess]], System.Private.CoreLib", "$values": [ { "$type": "ForguncyDataAccess.OrderBySqlConditionItem, ForguncyDataAccess", "ColumnBindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "TODO", "ColumnName": "提醒日期", "GUID": "25fe2031-132b-4311-8eb8-5bc2c54003dc" }, "Order": 0 } ] } } }, "ID": "b96157c0a58745579fa2b881aa1bfca2", "BreakpointIdentity": "edf03008-bee6-446b-93da-70012c63bd43" }, { "$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": "Forguncy.Model.IfCondition, ServerDesignerCommon", "param": { "$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon", "ParamObject": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=TODO列表.Count" } }, "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": "=TODO列表" }, "Operation": 16, "OperationParamaterAName": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=CHAR(10)" }, "OperationParamaterBName": "内容", "OutParamaterName": "今日计划", "BreakpointIdentity": "da12e07d-933c-4e32-9cbe-ace36a8c3f8e" } ] }, "ID": "0b271339-0c2f-4a6c-b4a1-b882fa86ccc4" }, { "$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon", "CommandList": { "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", "ParameterName": "今日计划", "ParameterValue": "无", "ID": "f1e156ced40345fa9d6aafce87027ccc", "BreakpointIdentity": "d0507806-0632-4ceb-9c26-ce62d64fa369" } ] }, "ID": "80ab3cd6-6f63-46a4-94d6-f3899878e7cb" } ] }, "BreakpointIdentity": "1f065a5d-1ae4-4293-88bf-7cd0de64526c" }, { "$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit", "InParamater": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=组织上级信息" }, "Operation": 18, "OperationParamaterAName": "DingTalkUserID", "OutParamaterName": "ToUsers", "BreakpointIdentity": "3c9300ce-7a67-43a7-b742-634825882e30" }, { "$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit", "OutParamaterName": "contents", "BreakpointIdentity": "5367c24f-2f20-463f-baeb-9e66eb3ab02a" }, { "$type": "CollectionOperationKit.ServerSideObjectOp, CollectionOperationKit", "OperationParamaterPairs": { "$type": "System.Collections.Generic.List`1[[CollectionOperationKit.PropertyValueObject, CollectionOperationKit]], System.Private.CoreLib", "$values": [ { "$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit", "Name": "content_type", "Value": "markdown" }, { "$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit", "Name": "sort", "Value": "0" }, { "$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit", "Name": "type", "Value": "1" }, { "$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit", "Name": "content", "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=IF(昨日完成工作=\"\",\"无\",昨日完成工作)" } }, { "$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit", "Name": "key", "Value": "昨日完成工作" } ] }, "OutParamaterName": "昨日完成工作", "BreakpointIdentity": "84ffe1ea-5843-44d2-a25a-5160511122f9" }, { "$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit", "InParamater": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=contents" }, "Operation": 4, "OperationParamaterAName": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=昨日完成工作" }, "OutParamaterName": "contents", "BreakpointIdentity": "b47dc318-de3c-4470-aeb7-8a1be1b783bd" }, { "$type": "CollectionOperationKit.ServerSideObjectOp, CollectionOperationKit", "OperationParamaterPairs": { "$type": "System.Collections.Generic.List`1[[CollectionOperationKit.PropertyValueObject, CollectionOperationKit]], System.Private.CoreLib", "$values": [ { "$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit", "Name": "content_type", "Value": "markdown" }, { "$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit", "Name": "sort", "Value": "3" }, { "$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit", "Name": "type", "Value": "1" }, { "$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit", "Name": "content", "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=IF(今日计划=\"\",\"暂无计划\",今日计划)" } }, { "$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit", "Name": "key", "Value": "今日计划" } ] }, "OutParamaterName": "今日计划", "BreakpointIdentity": "e504c3c9-1c94-4189-b9c1-3783c78e515f" }, { "$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit", "InParamater": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=contents" }, "Operation": 4, "OperationParamaterAName": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=今日计划" }, "OutParamaterName": "contents", "BreakpointIdentity": "a1837b0e-7c38-435a-9409-6e05caf7ebdd" }, { "$type": "CollectionOperationKit.ServerSideObjectOp, CollectionOperationKit", "OperationParamaterPairs": { "$type": "System.Collections.Generic.List`1[[CollectionOperationKit.PropertyValueObject, CollectionOperationKit]], System.Private.CoreLib", "$values": [ { "$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit", "Name": "content_type", "Value": "markdown" }, { "$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit", "Name": "sort", "Value": "6" }, { "$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit", "Name": "type", "Value": "2" }, { "$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit", "Name": "content", "Value": "100" }, { "$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit", "Name": "key", "Value": "今日工作量饱和度(%)" } ] }, "OutParamaterName": "今日工作量饱和度", "BreakpointIdentity": "d11f6c36-9e46-4879-aca1-63b52e9489d6" }, { "$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit", "InParamater": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=contents" }, "Operation": 4, "OperationParamaterAName": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=今日工作量饱和度" }, "OutParamaterName": "contents", "BreakpointIdentity": "3f178a5d-a464-4942-8aa1-2bdf614938fc" }, { "$type": "CollectionOperationKit.ServerSideObjectOp, CollectionOperationKit", "OperationParamaterPairs": { "$type": "System.Collections.Generic.List`1[[CollectionOperationKit.PropertyValueObject, CollectionOperationKit]], System.Private.CoreLib", "$values": [ { "$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit", "Name": "content_type", "Value": "markdown" }, { "$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit", "Name": "sort", "Value": "1" }, { "$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit", "Name": "type", "Value": "1" }, { "$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit", "Name": "content", "Value": "无" }, { "$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit", "Name": "key", "Value": "昨日未完成工作" } ] }, "OutParamaterName": "昨日未完成工作", "BreakpointIdentity": "ada01897-4db2-4a20-8109-f5a90f11e4e9" }, { "$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit", "InParamater": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=contents" }, "Operation": 4, "OperationParamaterAName": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=昨日未完成工作" }, "OutParamaterName": "contents", "BreakpointIdentity": "a2febd3f-0901-4c3a-88c7-23085264b9e0" }, { "$type": "CollectionOperationKit.ServerSideObjectOp, CollectionOperationKit", "OperationParamaterPairs": { "$type": "System.Collections.Generic.List`1[[CollectionOperationKit.PropertyValueObject, CollectionOperationKit]], System.Private.CoreLib", "$values": [ { "$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit", "Name": "content_type", "Value": "markdown" }, { "$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit", "Name": "sort", "Value": "2" }, { "$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit", "Name": "type", "Value": "1" }, { "$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit", "Name": "content", "Value": "无" }, { "$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit", "Name": "key", "Value": "需协调工作" } ] }, "OutParamaterName": "需协调工作", "BreakpointIdentity": "aa2f2311-d499-45da-ac2e-b81670390f2f" }, { "$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit", "InParamater": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=contents" }, "Operation": 4, "OperationParamaterAName": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=需协调工作" }, "OutParamaterName": "contents", "BreakpointIdentity": "f3af0d63-c800-47fe-858f-d4fc34627d3f" }, { "$type": "CollectionOperationKit.ServerSideObjectOp, CollectionOperationKit", "OperationParamaterPairs": { "$type": "System.Collections.Generic.List`1[[CollectionOperationKit.PropertyValueObject, CollectionOperationKit]], System.Private.CoreLib", "$values": [ { "$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit", "Name": "template_id", "Value": "159cfa053a8be099e0494774cfbaf1ad" }, { "$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit", "Name": "userid", "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=当前用户.DingTalkUserID" } }, { "$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit", "Name": "to_chat", "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=FALSE()" } }, { "$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit", "Name": "to_userids", "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=ToUsers" } }, { "$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit", "Name": "dd_from", "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=TEXT(NOW(),\"yyyymmddhhmmss\")" } }, { "$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit", "Name": "contents", "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=contents" } } ] }, "OutParamaterName": "create_report_param", "BreakpointIdentity": "ad53846f-cffa-48d9-ba45-91b6d7df79d6" }, { "$type": "PostDataToWebApi.PostDataCommand, PostDataToWebApi", "PostData": { "$type": "PostDataToWebApi.DataItem, PostDataToWebApi", "DataItemType": 1, "Data": { "$type": "PostDataToWebApi.ObjectData, PostDataToWebApi", "IsStringify": true, "Data": { "$type": "System.Collections.Generic.List`1[[PostDataToWebApi.DataItem, PostDataToWebApi]], System.Private.CoreLib", "$values": [ { "$type": "PostDataToWebApi.DataItem, PostDataToWebApi", "Name": "create_report_param", "DataItemType": 0, "Data": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=create_report_param" } } ] } } }, "JsonString": "{\r\n \"create_report_param\":[=create_report_param_string]\r\n}", "WebUrl": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=\"https://oapi.dingtalk.com/topapi/report/create?access_token=\"&AccessToken" }, "Method": "POST", "SuccessCallback": "// 请求成功返回的数据存储在“result”变量中\r\n// 请使用“result”变量来完成请求成功的回调 \r\n//console.log(result);", "ErrorCallback": "// 请求中发生的错误存储在“error”变量中\r\n// 请使用“error”变量来处理异常情况 \r\nconsole.error(error);", "NewParameter": "res", "Header": { "$type": "System.Collections.Generic.List`1[[PostDataToWebApi.RequestHeaderSaveAndLoad, PostDataToWebApi]], System.Private.CoreLib", "$values": [] }, "Timeout": 100.0, "BreakpointIdentity": "40a70864-4abc-41be-852f-93b526c2764e" }, { "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", "ErrorCode": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=res.errcode" }, "Message": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=res.result" }, "BreakpointIdentity": "9a340008-be7f-440f-83ab-9c8d99391967" } ] }, "ID": "2c6ec27a-06a1-4000-ad16-06bc4f9da7fc" }, { "$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon", "CommandList": { "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", "ErrorCode": "400", "Message": "无组织上级信息", "BreakpointIdentity": "57d3cefe-a900-4837-9a3f-41f23bc71350" } ] }, "ID": "df86ddc1-bd78-42fc-8781-a80fb7e580d2" } ] }, "BreakpointIdentity": "6c2d878a-9935-45db-886e-11c930e426fc" } ] }, "ID": "406f3615-49a2-4c12-87df-13b1839dfa92" }, { "$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon", "CommandList": { "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", "ErrorCode": "400", "Message": "发送人未绑定钉钉", "BreakpointIdentity": "23b1c6a2-c748-4d80-9ccf-13c3e34b3647" } ] }, "ID": "66c1908c-f7d3-4f47-8e25-3c2449f97c78" } ] }, "BreakpointIdentity": "1f5df43e-9acf-43be-92b2-552384dee8b1" } ] }, "ReturnProperties": { "$type": "System.Collections.Generic.List`1[[Forguncy.SaveLoad.ReturnPropertySaveData, ServerDesignerCommon]], System.Private.CoreLib", "$values": [] } }