{"Message":"1","MessageType":2,"Modules":[{"State":1,"Type":27,"Name":"ServerCommandPrivate/发送日报消息到钉钉"},{"State":1,"Type":27,"Name":"ServerCommandPrivate/发送钉钉工作日报"},{"State":1,"Type":15,"Name":"ServerCommand/发送钉钉工作日报(页面)"}],"Version":"v1"}

This commit is contained in:
cuckooent
2025-04-08 09:38:07 +08:00
parent b894c39d02
commit efdc0ef009
4 changed files with 230 additions and 199 deletions

View File

@@ -115,38 +115,6 @@
"$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": "=协调工作"
}
}
]
},

View File

@@ -27,34 +27,6 @@
"IgnoreBlank": false
},
"TestData": "测试"
},
{
"$type": "Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon",
"Name": "昨日未完成工作",
"DataValidationInfo": {
"$type": "Forguncy.SaveLoad.DataValidationInfoSaveData, ServerDesignerCommon"
}
},
{
"$type": "Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon",
"Name": "今日计划",
"DataValidationInfo": {
"$type": "Forguncy.SaveLoad.DataValidationInfoSaveData, ServerDesignerCommon"
}
},
{
"$type": "Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon",
"Name": "今日工作量饱和度",
"DataValidationInfo": {
"$type": "Forguncy.SaveLoad.DataValidationInfoSaveData, ServerDesignerCommon"
}
},
{
"$type": "Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon",
"Name": "协调工作",
"DataValidationInfo": {
"$type": "Forguncy.SaveLoad.DataValidationInfoSaveData, ServerDesignerCommon"
}
}
]
},
@@ -73,6 +45,11 @@
"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": "当前用户",
@@ -85,7 +62,7 @@
"$values": [
{
"$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon",
"GUID": "32deebac-f08f-4262-bdbb-59ad1c42108f",
"GUID": "83397ebf-fdcb-4468-8afe-de733827af0e",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "用户信息视图",
@@ -96,7 +73,7 @@
},
{
"$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon",
"GUID": "47ed568a-0219-45a9-af14-e4c35e5023a3",
"GUID": "66e66fd4-cf04-4b7f-9721-2304a0124f1e",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "用户信息视图",
@@ -122,7 +99,7 @@
},
"TopCount": "1"
},
"ID": "c3f28cb482fd4c5492a80c37b8d2d21d",
"ID": "eb74176b39ae4da79277b2d1d9a6f52a",
"BreakpointIdentity": "6aea9f78-fbff-4d67-9442-42e18cc17db8"
},
{
@@ -178,7 +155,7 @@
"$values": [
{
"$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon",
"GUID": "d293d43d-ba8c-4c2e-88fb-7f9482601665",
"GUID": "f4b3a0e9-1689-42bb-8499-d04aee973dd3",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "用户信息视图",
@@ -224,7 +201,7 @@
},
"TopCount": "1"
},
"ID": "df2f301f6e024be38b67c7fd59834e1c",
"ID": "c2b51ecac6254e31b0da06e71e8b3d87",
"BreakpointIdentity": "149a9ea5-1914-4dcb-bb68-d3f1da9c03fa"
},
{
@@ -269,6 +246,195 @@
"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": "8482a694-f3f9-467d-8b5c-bb79b7ed4648"
},
{
"$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": "cece0716-ae62-41a5-941e-8eeefd48eff1"
}
]
},
"BreakpointIdentity": "1f065a5d-1ae4-4293-88bf-7cd0de64526c"
},
{
"$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit",
"InParamater": {
@@ -350,30 +516,29 @@
{
"$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit",
"Name": "sort",
"Value": "6"
"Value": "3"
},
{
"$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit",
"Name": "type",
"Value": "2"
"Value": "1"
},
{
"$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit",
"Name": "content",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=IF(今日计划=\"\",\"\",今日计划)"
"SerializeProperty": "=IF(今日计划=\"\",\"暂无计划\",今日计划)"
}
},
{
"$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit",
"Name": "key",
"Value": "今日工作量饱和度(%"
"Value": "今日计划"
}
]
},
"OutParamaterName": "今日计划",
"Disabled": true,
"BreakpointIdentity": "e504c3c9-1c94-4189-b9c1-3783c78e515f"
},
{
@@ -388,7 +553,6 @@
"SerializeProperty": "=今日计划"
},
"OutParamaterName": "contents",
"Disabled": true,
"BreakpointIdentity": "a1837b0e-7c38-435a-9409-6e05caf7ebdd"
},
{
@@ -404,26 +568,17 @@
{
"$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit",
"Name": "sort",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=6"
}
"Value": "6"
},
{
"$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit",
"Name": "type",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=2"
}
"Value": "2"
},
{
"$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit",
"Name": "content",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=IF(今日工作量饱和度=\"\",\"无\",今日工作量饱和度)"
}
"Value": "100"
},
{
"$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit",
@@ -433,7 +588,6 @@
]
},
"OutParamaterName": "今日工作量饱和度",
"Disabled": true,
"BreakpointIdentity": "d11f6c36-9e46-4879-aca1-63b52e9489d6"
},
{
@@ -448,7 +602,6 @@
"SerializeProperty": "=今日工作量饱和度"
},
"OutParamaterName": "contents",
"Disabled": true,
"BreakpointIdentity": "3f178a5d-a464-4942-8aa1-2bdf614938fc"
},
{
@@ -464,26 +617,17 @@
{
"$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit",
"Name": "sort",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=1"
}
"Value": "1"
},
{
"$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit",
"Name": "type",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=1"
}
"Value": "1"
},
{
"$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit",
"Name": "content",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=IF(昨日未完成工作=\"\",\"无\",昨日未完成工作)"
}
"Value": "无"
},
{
"$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit",
@@ -493,7 +637,6 @@
]
},
"OutParamaterName": "昨日未完成工作",
"Disabled": true,
"BreakpointIdentity": "ada01897-4db2-4a20-8109-f5a90f11e4e9"
},
{
@@ -508,7 +651,6 @@
"SerializeProperty": "=昨日未完成工作"
},
"OutParamaterName": "contents",
"Disabled": true,
"BreakpointIdentity": "a2febd3f-0901-4c3a-88c7-23085264b9e0"
},
{
@@ -524,26 +666,17 @@
{
"$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit",
"Name": "sort",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=2"
}
"Value": "2"
},
{
"$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit",
"Name": "type",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=1"
}
"Value": "1"
},
{
"$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit",
"Name": "content",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=IF(协调工作=\"\",\"无\",协调工作)"
}
"Value": "无"
},
{
"$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit",
@@ -553,7 +686,6 @@
]
},
"OutParamaterName": "需协调工作",
"Disabled": true,
"BreakpointIdentity": "aa2f2311-d499-45da-ac2e-b81670390f2f"
},
{
@@ -568,7 +700,6 @@
"SerializeProperty": "=需协调工作"
},
"OutParamaterName": "contents",
"Disabled": true,
"BreakpointIdentity": "f3af0d63-c800-47fe-858f-d4fc34627d3f"
},
{
@@ -600,10 +731,7 @@
{
"$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit",
"Name": "to_userids",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ToUsers"
}
"Value": "0164692818742998"
},
{
"$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit",
@@ -626,23 +754,6 @@
"OutParamaterName": "create_report_param",
"BreakpointIdentity": "ad53846f-cffa-48d9-ba45-91b6d7df79d6"
},
{
"$type": "ContentEditor.ContentEditor, ContentEditor",
"Content": "{\r\n\"create_report_param\":{\r\n\"template_id\": \"159cfa053a8be099e0494774cfbaf1ad\",\r\n\"userid\": \"[=当前用户.DingTalkUserID]\",\r\n\"to_chat\": true,\r\n\"to_userids\": [\"0164692818742998\"],\r\n\"dd_from\": \"[=NOW()]\",\r\n\"contents\": [\r\n{\r\n\"content_type\": \"markdown\",\r\n\"sort\": \"3\",\r\n\"type\": \"1\",\r\n\"content\": \"无\",\r\n\"key\": \"今日计划\"\r\n},\r\n{\r\n\"content_type\": \"markdown\",\r\n\"sort\": \"6\",\r\n\"type\": \"2\",\r\n\"content\": \"无\",\r\n\"key\": \"今日工作量饱和度(%\"\r\n},\r\n{\r\n\"content_type\": \"markdown\",\r\n\"sort\": \"0\",\r\n\"type\": \"1\",\r\n\"content\": \"[=今日计划]\",\r\n\"key\": \"昨日完成工作\"\r\n},\r\n{\r\n\"content_type\": \"markdown\",\r\n\"sort\": \"1\",\r\n\"type\": \"1\",\r\n\"content\": \"无\",\r\n\"key\": \"昨日未完成工作\"\r\n},\r\n{\r\n\"content_type\": \"markdown\",\r\n\"sort\": \"2\",\r\n\"type\": \"1\",\r\n\"content\": \"无\",\r\n\"key\": \"需协调工作\"\r\n}\r\n]\r\n}}",
"Result": "参数字符串",
"Disabled": true,
"BreakpointIdentity": "269351b3-f0a0-41cd-a39e-f5087e7febf0"
},
{
"$type": "JsonUtilityCommand.JsonDeserializeCommand, JsonUtilityCommand",
"JsonString": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=参数字符串"
},
"ToParameter": "参数JSON",
"Disabled": true,
"BreakpointIdentity": "81b9d002-3b5c-4835-b179-46d141dac289"
},
{
"$type": "PostDataToWebApi.PostDataCommand, PostDataToWebApi",
"PostData": {
@@ -667,7 +778,7 @@
}
}
},
"JsonString": "[=contents]",
"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"
@@ -697,7 +808,7 @@
}
]
},
"ID": "2b2fde9e-346b-4ea6-bef7-5c55919682ec"
"ID": "aa6f1232-8391-48d3-8b68-f1d6312e1db8"
},
{
"$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon",
@@ -712,7 +823,7 @@
}
]
},
"ID": "78ad0182-85c0-4635-bf0c-8b9a64b49111"
"ID": "4f4d55b7-653f-48f2-82cc-d1427e5ffb99"
}
]
},
@@ -720,7 +831,7 @@
}
]
},
"ID": "96cbf58f-be17-4464-a3eb-c9e2cbb4d47c"
"ID": "40cb845e-6194-44eb-b1aa-3ef039c572ca"
},
{
"$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon",
@@ -735,7 +846,7 @@
}
]
},
"ID": "df3e2234-135b-4b3e-a9f3-e3aa5da2e7b1"
"ID": "14b999c2-e22c-4c9c-b8c9-d87a065bbb6b"
}
]
},