diff --git a/.collaboration b/.collaboration index f4879b30..d9b786b3 100644 --- a/.collaboration +++ b/.collaboration @@ -754,47 +754,15 @@ }, { "ModuleName": "PCPage/汇报详情", - "State": 4, - "LockedBy": { - "UserName": "cuckooent", - "Email": "phoben@qq.com" - }, - "LockDateTime": "2024-11-20T21:54:47.7435595+08:00", - "ModuleType": 1, - "ToRemoveFiles": [ - "Pages\\汇报\\个人日报\\汇报详情.json", - "Pages\\汇报\\个人日报\\汇报详情.rd" - ] + "ModuleType": 1 }, { "ModuleName": "PCPage/汇报详情预览", - "State": 4, - "LockedBy": { - "UserName": "cuckooent", - "Email": "phoben@qq.com" - }, - "LockDateTime": "2024-11-20T21:41:59.7262912+08:00", - "ModuleType": 1, - "ToRemoveFiles": [ - "Pages\\汇报\\个人日报\\汇报详情预览.json", - "Pages\\汇报\\个人日报\\汇报详情预览.rd" - ] + "ModuleType": 1 }, { "ModuleName": "PCPage/汇报列表", - "State": 4, - "LockedBy": { - "UserName": "cuckooent", - "Email": "phoben@qq.com" - }, - "LockDateTime": "2024-11-20T21:42:13.032929+08:00", - "ModuleType": 1, - "ToRemoveFiles": [ - "Pages\\汇报\\个人日报\\汇报列表.json", - "Pages\\汇报\\个人日报\\汇报列表.rd", - "Pages\\3609617039444daea57da1978344c4f.json", - "Pages\\3609617039444daea57da1978344c4f.rd" - ] + "ModuleType": 1 }, { "ModuleName": "Pages/汇报/汇报模板", @@ -1786,16 +1754,7 @@ }, { "ModuleName": "ServerCommandPrivate/发送日报消息到钉钉", - "State": 1, - "LockedBy": { - "UserName": "cuckooent", - "Email": "phoben@qq.com" - }, - "LockDateTime": "2024-11-20T21:59:12.2506603+08:00", - "ModuleType": 27, - "ToRemoveFiles": [ - "ServerCommands\\钉钉\\发送日报消息到钉钉.json" - ] + "ModuleType": 27 }, { "ModuleName": "ServerCommand/钉钉授权登录", @@ -1873,19 +1832,6 @@ "ModuleName": "SchedulerTasks/定时任务", "ModuleType": 21 }, - { - "ModuleName": "TaskScheduler/每日根据报工自动生成工作日报", - "State": 2, - "LockedBy": { - "UserName": "cuckooent", - "Email": "phoben@qq.com" - }, - "LockDateTime": "2024-11-20T22:04:09.8510698+08:00", - "ModuleType": 16, - "ToRemoveFiles": [ - "SchedulerTasks\\定时任务\\每日根据报工自动生成工作日报.json" - ] - }, { "ModuleName": "SchedulerTasks/事件任务", "ModuleType": 21 @@ -2504,18 +2450,7 @@ }, { "ModuleName": "UserService", - "State": 1, - "LockedBy": { - "UserName": "cuckooent", - "Email": "phoben@qq.com" - }, - "LockDateTime": "2024-11-20T21:38:04.8771815+08:00", - "ModuleType": 11, - "ToRemoveFiles": [ - "UserServiceDB.sqlite3", - "CloudStorageProvider\\data.json", - "SecurityProviderV2\\data.json" - ] + "ModuleType": 11 }, { "ModuleName": "CustomLibrary", @@ -2631,42 +2566,18 @@ }, { "ModuleName": "ServerCommandPrivate/AI生成项目汇报", - "State": 3, - "LockedBy": { - "UserName": "cuckooent", - "Email": "phoben@qq.com" - }, - "LockDateTime": "2024-11-20T22:06:26.6455689+08:00", "ModuleType": 27 }, { "ModuleName": "TaskScheduler/每周生成周报", - "State": 3, - "LockedBy": { - "UserName": "cuckooent", - "Email": "phoben@qq.com" - }, - "LockDateTime": "2024-11-20T22:07:11.0126565+08:00", "ModuleType": 16 }, { "ModuleName": "TaskScheduler/每日生成日报", - "State": 3, - "LockedBy": { - "UserName": "cuckooent", - "Email": "phoben@qq.com" - }, - "LockDateTime": "2024-11-20T22:04:09.8510737+08:00", "ModuleType": 16 }, { "ModuleName": "ServerCommand/页面_生成项目汇报", - "State": 3, - "LockedBy": { - "UserName": "cuckooent", - "Email": "phoben@qq.com" - }, - "LockDateTime": "2024-11-20T22:05:19.1618573+08:00", "ModuleType": 15 } ] \ No newline at end of file diff --git a/Pages/汇报/个人日报/汇报列表.json b/Pages/汇报/汇报列表.json similarity index 100% rename from Pages/汇报/个人日报/汇报列表.json rename to Pages/汇报/汇报列表.json diff --git a/Pages/汇报/个人日报/汇报列表.rd b/Pages/汇报/汇报列表.rd similarity index 100% rename from Pages/汇报/个人日报/汇报列表.rd rename to Pages/汇报/汇报列表.rd diff --git a/Pages/汇报/个人日报/汇报详情.json b/Pages/汇报/汇报详情.json similarity index 87% rename from Pages/汇报/个人日报/汇报详情.json rename to Pages/汇报/汇报详情.json index b18c94e5..12133a15 100644 --- a/Pages/汇报/个人日报/汇报详情.json +++ b/Pages/汇报/汇报详情.json @@ -267,7 +267,7 @@ "BreakpointIdentity": "8167542e-2af4-4615-a2bb-340840600120" } ], - "ID": "cf426130-c5f5-46ad-a83d-f62126672f53" + "ID": "232903d0-69ed-4dbb-a2e9-8018bdf06e6b" }, { "Condition": { @@ -304,7 +304,7 @@ "BreakpointIdentity": "69737bd2-7e78-4e62-8e4a-00b5d0db7d5b" } ], - "ID": "d98ac732-22d4-4899-b4a3-22a9324d6917" + "ID": "f9e399ee-79d1-4dcf-a8c0-fbf001d3655e" }, { "Condition": { @@ -341,7 +341,7 @@ "BreakpointIdentity": "aa0a94db-db7f-4ba0-8acb-b42af72400f4" } ], - "ID": "d298424c-7a34-4532-a253-6e50ba4fa9c6" + "ID": "50a1728d-2830-4db5-8ff0-358a74ac3ac3" } ], "BreakpointIdentity": "ead212ae-198c-4d75-895e-a006e28702e7" @@ -510,7 +510,6 @@ "DefaultValue": "0", "type": "text", "placeholder": "请输入", - "AppendText": "小时", "resize": "none" }, "DataValidationInfo": { @@ -642,7 +641,7 @@ "BreakpointIdentity": "ed16f1a8-8987-43d8-84fc-5afa009c2d25" } ], - "ID": "d79ef0a0-e244-47f9-91f5-f5f534c85154" + "ID": "7916cbaf-0fa3-4eff-b632-8046073be482" }, { "CommandList": [ @@ -653,7 +652,7 @@ "BreakpointIdentity": "1c43d097-9222-463f-bee9-202c545bcf64" } ], - "ID": "f07b1e33-d082-4ef2-a793-276ac7562d61" + "ID": "70a7140a-0720-46cb-b5d2-5c348161c9c2" } ], "BreakpointIdentity": "33c73d7d-8935-4b20-9184-6fd9e6147d7d" @@ -1040,7 +1039,7 @@ "BreakpointIdentity": "f495c16c-da05-4352-b452-addefd4cf952" } ], - "ID": "185c1254-9c35-40c7-863e-dff015cd544f" + "ID": "c80ec770-ec81-466e-8c2c-4455d663d420" }, { "CommandList": [ @@ -1051,7 +1050,7 @@ "BreakpointIdentity": "872ae3bf-19ac-4250-b1fc-928c312ea04b" } ], - "ID": "382a0bc7-4b26-4784-80ba-6c5923cf41c5" + "ID": "52ea2ffc-87b8-4856-82ee-aa3515fcec4f" } ], "BreakpointIdentity": "cba1093c-44db-41ea-8da3-f59508cd1eb5" @@ -1184,7 +1183,7 @@ "BreakpointIdentity": "7824419c-f986-4a0e-8180-d126e1cec98e" } ], - "ID": "19922a8b-4fdd-4949-a718-9ae04ec611e7" + "ID": "a2558c4d-acae-46c1-b001-2a518a2b5dce" }, { "CommandList": [ @@ -1195,7 +1194,7 @@ "BreakpointIdentity": "3684c83b-0d4c-4286-807c-d0d9f60da354" } ], - "ID": "eeb2e757-4e4e-41a9-a11e-8865c0c5546e" + "ID": "3b95c84a-8e15-4ba4-9b67-a7a0f8ac64bc" } ], "BreakpointIdentity": "0e735ee1-26ce-46d3-bc2a-0fc695259bd3" @@ -1346,13 +1345,13 @@ "BreakpointIdentity": "0ecdbd0e-04c0-4631-93e4-6012c3701dfd" } ], - "ID": "db2fbd61-0b57-43f4-bb7a-83f44e50d14a" + "ID": "567dd782-6d3b-4a5e-8bf2-33de956a447e" } ], "BreakpointIdentity": "150dbaac-a064-446b-b2a8-0d14507f00a7" } ], - "ID": "20e5a397-9ea3-4a20-89dd-305b21209a9a" + "ID": "5ae02c3e-84bf-4918-b542-1506c32c493a" } ], "BreakpointIdentity": "be174a27-f92d-4a09-9ffe-5e624b776c8c" @@ -1508,7 +1507,7 @@ "BreakpointIdentity": "bc726692-e2ea-46db-a4b0-7356b00c3bce" } ], - "ID": "55ab2848-bcdc-4068-b502-72436230bed3" + "ID": "fb8bd64b-553f-40ac-b068-8468a438b491" }, { "CommandList": [ @@ -1523,13 +1522,208 @@ "BreakpointIdentity": "f46e0326-37f5-4d74-8b06-10920e4400bf" } ], - "ID": "a5399fe5-4329-40e1-a8b6-b4c6674246bf" + "ID": "d72e03dd-3ef7-4cbc-be8d-16ecb933880b" } ], "BreakpointIdentity": "cb2517ef-72f3-488b-935f-310b16253a1f" } ], - "ID": "3235f9e3-ac2c-4ff7-9e85-933e831b5f7d" + "ID": "d1480335-0deb-4a99-bbfb-b659b6770dbc" + }, + { + "Condition": { + "$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess", + "SubConditions": [ + { + "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", + "param": { + "$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon", + "cellLocations": [ + { + "SerializeProperty": "=汇报详情!汇报对象" + } + ] + }, + "value": "项目" + }, + { + "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", + "param": { + "$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon", + "cellLocations": [ + { + "SerializeProperty": "=汇报详情!汇报类型" + } + ] + }, + "value": "周报" + } + ] + }, + "CommandList": [ + { + "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", + "ConditionAndCommandPairList": [ + { + "Condition": { + "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", + "param": { + "$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon", + "cellLocations": [ + { + "SerializeProperty": "=汇报详情!项目ID" + } + ] + }, + "value": "%Null%", + "compareType": 1 + }, + "CommandList": [ + { + "$type": "Notiflix_Forguncy.Block_Command, Notiflix_Forguncy", + "Cell": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=汇报详情!内容" + }, + "Title": "加载中", + "VBalidate": true, + "BreakpointIdentity": "ab523c4e-c75e-4eb4-9183-2a523494d57d" + }, + { + "$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon", + "ServerCommandName": "页面_生成项目汇报", + "Parameters": [ + { + "$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": "=汇报详情!B7" + } + }, + { + "$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon", + "ParamName": "项目ID", + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=汇报详情!项目ID" + } + } + ], + "ResultErrorCodeTo": { + "SerializeProperty": "code" + }, + "ResultMessageTo": { + "SerializeProperty": "msg" + }, + "ReturnPropertiesTo": [ + { + "ResultPropertyName": "生成日报", + "ResultTo": { + "SerializeProperty": "生成日报" + } + } + ], + "RefreshAfterFinish": true, + "CheckDataValidation": true, + "BreakpointIdentity": "c44a2303-402a-4b3c-a28c-e9d688ce6f35" + }, + { + "$type": "Notiflix_Forguncy.Block_Command, Notiflix_Forguncy", + "FunctionName": "remove", + "Cell": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=汇报详情!内容" + }, + "Title": "加载中", + "BreakpointIdentity": "8b1f8e36-1435-436b-9344-4a8161f7c142" + }, + { + "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", + "ConditionAndCommandPairList": [ + { + "Condition": { + "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", + "param": { + "$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon", + "cellLocations": [ + { + "SerializeProperty": "=汇报详情!code" + } + ] + }, + "value": "0" + }, + "CommandList": [ + { + "$type": "Forguncy.Model.SetCellPropertyCommand, ServerDesignerCommon", + "PropertyItemsList": [ + { + "TargetCells": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=汇报详情!内容" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=汇报详情!生成日报" + } + } + ], + "BreakpointIdentity": "01989655-2731-4eba-9998-0d53fd5efd80" + } + ], + "ID": "955d0635-2f00-4d75-ab4f-ae5a06c3caf8" + }, + { + "CommandList": [ + { + "$type": "ElementUI.Commands.ShowMessage, ElementUI", + "Message": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=汇报详情!msg" + }, + "Type": "info", + "Duration": 3000, + "BreakpointIdentity": "404a5f1a-c783-42cb-91e4-7993bb513f08" + } + ], + "ID": "38fc6a21-a9cf-41e3-b5fc-c936592739f6" + } + ], + "BreakpointIdentity": "dbd01ff4-c038-41a6-a6f9-8080aa35b8a5" + } + ], + "ID": "9c736195-20c2-41b0-b67a-ed99788d1cfe" + }, + { + "CommandList": [ + { + "$type": "ElementUI.Commands.ShowMessageBox, ElementUI", + "Title": "提示", + "Message": "请选择要汇报的项目", + "Type": "warning", + "ConfirmButtonText": "确定", + "CancelButtonText": "取消", + "ShowClose": false, + "AdvancedSettings": {}, + "BreakpointIdentity": "7dcd0cc6-05ea-4cba-a309-7f561dff7f88" + } + ], + "ID": "7402aee3-e8c4-450e-9043-08bba1524a4c" + } + ], + "BreakpointIdentity": "ba39010e-7c3e-428b-9c66-3159b778119a" + } + ], + "ID": "aacfa665-c986-49a9-a72c-64c0e5a1692d" }, { "CommandList": [ @@ -1548,10 +1742,10 @@ "BreakpointIdentity": "7dcd0cc6-05ea-4cba-a309-7f561dff7f88" } ], - "ID": "b64f14cd-2bd5-40de-825a-1f75bf3955d1" + "ID": "463a7c0b-6f0b-4b2e-94fb-65368fe5bf30" } ], - "BreakpointIdentity": "d35fe0a0-4f21-4bf7-91d7-39855c5c8df8" + "BreakpointIdentity": "fa2f02ca-4b8f-4b43-9666-738961bec93c" } ], "Text": "自动生成", @@ -1765,7 +1959,7 @@ "BreakpointIdentity": "834eed75-7dc4-444b-b636-a953a7c025d0" } ], - "ID": "26853aa9-e0bd-4282-aa6b-5fb0d046736a" + "ID": "a1c1d9dc-f990-4e05-8b4d-81eb3366837c" }, { "CommandList": [ @@ -1926,7 +2120,7 @@ "BreakpointIdentity": "88387dbf-5d84-4f8c-86e8-bd1a77a6182b" } ], - "ID": "9a708f42-a427-4eb9-8556-e27ad2665b22" + "ID": "a9c8af07-1d93-4de8-a227-8fbde36e4ea0" }, { "CommandList": [ @@ -1935,13 +2129,13 @@ "BreakpointIdentity": "9968f197-62ca-46db-9adf-0de5adb5339e" } ], - "ID": "d3600c00-ce28-4e28-85fd-3a442849731e" + "ID": "2e8cf6ab-f7d6-451b-86b8-1fbb33f21ed8" } ], "BreakpointIdentity": "bb5ee034-6ebe-420a-8d71-441ef7d4eb45" } ], - "ID": "278854f6-36bc-4a56-8be3-9560ffc27372" + "ID": "bd715aab-18a7-4714-9450-9dd5ba1a83c0" }, { "CommandList": [ @@ -1952,13 +2146,13 @@ "BreakpointIdentity": "c2885230-b01c-4c41-8842-90ef9241d490" } ], - "ID": "14904a24-cbb4-48b3-8f0e-13ac4d20f0b9" + "ID": "eb8193a4-9062-4ea2-9f1a-34ca6b1eb14c" } ], "BreakpointIdentity": "d7ef6cc5-04c2-4531-9609-718169c3fb3b" } ], - "ID": "141a01fd-e42e-43ae-8f54-e6e1b91c5ff7" + "ID": "efaefe00-ed2d-49fb-8436-6e2a30e44a92" } ], "BreakpointIdentity": "a9e4af49-8203-4f00-91bb-f5f0e5f53cb8" @@ -1978,7 +2172,7 @@ "BreakpointIdentity": "26c32013-f929-4c1d-a15e-d74c3e95c2df" } ], - "ID": "424a90a5-3668-4cf5-b68c-fc333ffe1d04" + "ID": "48a39f7e-456c-4cce-befb-c1aa09ff6a8d" }, { "CommandList": [ @@ -1994,13 +2188,13 @@ "BreakpointIdentity": "da6934c4-f141-47d0-96b1-bf826b38e67e" } ], - "ID": "d43cf0c7-9037-4972-9a29-c4edd19bae41" + "ID": "93b5b0c8-081e-413d-ae96-95e67a443485" } ], "BreakpointIdentity": "a00a3d93-7bb4-4511-ba6a-024497e618e6" } ], - "ID": "d61194c5-2ae9-479f-a6f1-16e73dc8d9e3" + "ID": "aa36523c-0d35-4aa5-845d-23faf36c38f4" }, { "CommandList": [ @@ -2016,7 +2210,7 @@ "BreakpointIdentity": "608dc433-636a-43b2-a48f-da759c294880" } ], - "ID": "9eb237dc-fab9-4bd0-80c1-d73794da9db1" + "ID": "28f6e899-820d-43ab-a72d-1171b2430b88" } ], "BreakpointIdentity": "51a81760-a97f-415b-88fd-e43ba18c8c10" @@ -2092,7 +2286,7 @@ "BreakpointIdentity": "a6205caa-a069-4ca5-8d7c-0eb519024e61" } ], - "ID": "dfbab33b-ea41-418e-9387-32a223a0ab9a" + "ID": "51e80bb4-0907-4707-87ed-f9fe092f6afd" } ], "BreakpointIdentity": "4eb021a2-5310-40dc-b013-b66e8be0229e" @@ -2547,4 +2741,4 @@ "Formula": "汇报详情!$B$11" } ] -}//0O5vtmqtaQ3pMuOwheJhPhXN3BNY6glLKyyCQ8L8UuRcD8HYFvVgymESdBzt+QdUb4EHa3+kI5vom9iVcmYLOcszwQOSHv3WI6j7Vk621Y70bYj/hF5GI9v5yAxDsqncIKstBT9cra1TQBxlkTkDeiOHZViCiSy/lO8CougnPaA9fOMJ60rKBHDq/BlOFYyeqa1lAEBU/6PFdLKt0MORRuIAAygQUcaGtN/Rw36meT1Iw8c3FbBYGzCHr6gaWVczpntQLfIgTWyjo3bWfuqhWnnZRnAJ1QGiEddHXKq/HPCdtullGDirP6lAfKrx+d/weo1M+Z1k/nOCESjQFHayFCpjN3xADyIgTM81//bwQUV05PuoixutFS3Cq7/DC3T8VBUbAMz16cIm+U4J6dP4zLI/Ho7T2lBBHplJzL2vauDIx6qVguhpnNogIEBGrS5jKSf6HfVO8RtnZQxwGeF091jz8LE9vqm+mEsPegdD6KJKSs4OKMgxABPdE8wTL6rTL8eZBQ2A5tHcLYsmiH3hsc14xhQ8EGd8xtNSKrusDipCcyztrrMBSKBwTU21QxsxKt9t9YnyZpQAWXpNAIv/p1Myo3rZAKoGZbYA7LmSuu0EnfLpoSkqiaP6451KXMOd/fVmkQ7cMBtjWn9zs1xkAgF7mRg53o8NgC+dy0zlLpcu86jZTAj5ZMZzo2kmfx+CkLqdDXZ+H2QevOtIjhydyRliiM6BIKKgqXxcL3u2icLpe5DzSwGE26ccgnc0Jv7Pdab8f6FQvl6hoq3xGKUo+ZfntTaJLnb4B735j+noSJwKRAipXgj7AC8rOUMdKhrVrQ8XFzWgeP2m2Wop42ky1vHGPD0iG+MKO4MzBKenG8aQ+GKgkmAPX1ZgKNdrF012MhDaWG9wLVBHwwRsK/sC+w==|920 \ No newline at end of file +}//gat3wpLs+95hFxQJzn7pifz5bD1cj+tdODFd0cmv9qPaCyx88apmOVXwT7uQgRFE6C83IdCAsL0m9xcSawTl3uWFl13jCotbS5hZ1cEMR0p3khXSOtCqpJiDeUjWy3djSsLAjJyHQsUDRwJjoy9DqsGTRouA/tmpyCeHjupUa71xdv9tlDKAvOmB5PTf19j0aekQK7u+1gW6rQLRjV6FJ+xzSMXc9jKf26a25aLMXMYgZEN1cU3usONLvzRpbnHJtB7QN9NypRY2lnF5dOHD0Y2Z8OLlyTPd/wSOwrAx+LKGDRDRuptqhCD+1e0lFaIWzVoRYk5gVs1IGGfgLqQFoQYeZX2fg8mzhtXwnCkHOfaVOTd4En2peGC9mkshCS1LXsYzykbELiFhcsMm4qdWn2K4EjW4d2iBqqcPVHtPnLVyZc3rIoYXwJLo4U8zJzgUdKLN5eDl77qlpLFjegsT3MODzDai5Ldbchar4p+NJNKXEmBfePAJXdmstxKQKWTNJxmTh39x1M7IZite9CtrcmWDlukxrS0Ce+fLtIQFVYnl+APdvJ7YIdAfTthgqi2mC3jrI3DPcjl0xpxt2OAhlUHDZStlZzVqlrnYnRkGIjXax4x7/9e0A78UncvVULY7nBhysrPrxxW0cb8IDcR9Ew7eW0vekaWcVUxrKBDmWo4UcHzWHxpcQUNHfc3r5kjcKCAzS2Kdhx1zUsuCdA3jkdf5tjP11IeaLMlpWa9/uoDYXFSPRcN1dnzj3aK+NpKtY4UY2+K/KGMgXkxZBGqwMZRaYI5FiRq6Ff9xSSbvXUxaIl8zSqwq678KhYquFwl7oIgb0P8N9EQwzPz80XJx46JrGz3UTQWXHEscbkfxXMS+YcB3wbcysAREKXj+p7Fa5inxusAa3Me3mKMwyszj6A==|920 \ No newline at end of file diff --git a/Pages/汇报/个人日报/汇报详情.rd b/Pages/汇报/汇报详情.rd similarity index 100% rename from Pages/汇报/个人日报/汇报详情.rd rename to Pages/汇报/汇报详情.rd diff --git a/Pages/汇报/个人日报/汇报详情预览.json b/Pages/汇报/汇报详情预览.json similarity index 100% rename from Pages/汇报/个人日报/汇报详情预览.json rename to Pages/汇报/汇报详情预览.json diff --git a/Pages/汇报/个人日报/汇报详情预览.rd b/Pages/汇报/汇报详情预览.rd similarity index 100% rename from Pages/汇报/个人日报/汇报详情预览.rd rename to Pages/汇报/汇报详情预览.rd diff --git a/SchedulerTasks/定时任务/每周生成周报.json b/SchedulerTasks/定时任务/每周生成周报.json new file mode 100644 index 00000000..b391b1cb --- /dev/null +++ b/SchedulerTasks/定时任务/每周生成周报.json @@ -0,0 +1,116 @@ +{ + "Name": "每周生成周报", + "Enabled": true, + "Triggers": [ + { + "$type": "Forguncy.SaveLoad.WeeklyScheduleTriggerSaveData, ServerDesignerCommon", + "DaysOfWeek": [ + 1 + ], + "StartDateTime": 45616.416666666664, + "ScheduleRunInDebugServer": false + } + ], + "Commands": [ + { + "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", + "ParameterName": "项目列表", + "TableValue": { + "TableName": "项目表", + "BindingInfos": [ + { + "GUID": "7a922b8f-51d7-4242-a337-b30dcd1b621f", + "BindingInfo": { + "TableName": "项目表", + "ColumnName": "ID", + "GUID": "f206c3ad-8efa-40ef-a1aa-a2f003c8ee92" + }, + "ColumnName": "ID" + } + ], + "SqlCondition": { + "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", + "ColumnBindingInfo": { + "TableName": "项目表", + "ColumnName": "项目状态", + "GUID": "4deb203f-fef2-47d1-82e3-30a8af65d643" + }, + "Value": "2" + }, + "OrderBySqlCondition": { + "OrderByColumns": [ + { + "ColumnBindingInfo": { + "TableName": "项目表", + "ColumnName": "FGC_LastModifyDate", + "GUID": "d93a6df8-d657-4f3a-b9f5-88e4819ee4b5" + }, + "Order": 1 + } + ] + } + }, + "ID": "9c4ff7b9e2344049a21ed099f99129cc", + "BreakpointIdentity": "157d2bda-68dd-4fcb-9d6d-fd9b3bf643f0" + }, + { + "$type": "Forguncy.Model.LoopCommand, ServerDesignerCommon", + "LoopInfo": { + "$type": "Forguncy.Model.CountLoopInfo, ServerDesignerCommon", + "LoopCount": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=项目列表" + }, + "LoopItemParamName": "Item" + }, + "CommandList": [ + { + "$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon", + "ServerCommandName": "AI生成项目汇报", + "Parameters": [ + { + "$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon", + "ParamName": "项目ID", + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=Item.ID" + } + }, + { + "$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon", + "ParamName": "汇报类型", + "Value": "周报" + }, + { + "$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon", + "ParamName": "日期", + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=TODAY()-WEEKDAY(TODAY(),3)-7" + } + } + ], + "ResultErrorCodeTo": { + "SerializeProperty": "code" + }, + "ResultMessageTo": { + "SerializeProperty": "msg" + }, + "ReturnPropertiesTo": [ + { + "ResultPropertyName": "生成日报", + "ResultTo": { + "SerializeProperty": "生成日报" + } + } + ], + "RefreshAfterFinish": true, + "CheckDataValidation": true, + "BreakpointIdentity": "1cfede2f-912d-48a9-9f20-e39d6ebfecdd" + } + ], + "BreakpointIdentity": "535518a1-b9b7-4753-bfc6-636e32777dd7" + } + ], + "ReturnProperties": [] +} \ No newline at end of file diff --git a/SchedulerTasks/定时任务/每日根据报工自动生成工作日报.json b/SchedulerTasks/定时任务/每日生成日报.json similarity index 95% rename from SchedulerTasks/定时任务/每日根据报工自动生成工作日报.json rename to SchedulerTasks/定时任务/每日生成日报.json index 8e7ca79e..bfc1afdb 100644 --- a/SchedulerTasks/定时任务/每日根据报工自动生成工作日报.json +++ b/SchedulerTasks/定时任务/每日生成日报.json @@ -1,5 +1,5 @@ { - "Name": "每日根据报工自动生成工作日报", + "Name": "每日生成日报", "Description": "每日自动运行,生成昨日日报数据", "Enabled": true, "Triggers": [ @@ -39,5 +39,6 @@ "Message": "已成功生成工作日报!", "BreakpointIdentity": "6c866cf1-2e0c-44f2-a4f2-ae2b3e4d3b88" } - ] + ], + "ReturnProperties": [] } \ No newline at end of file diff --git a/ServerCommands/汇报/AI生成项目汇报.json b/ServerCommands/汇报/AI生成项目汇报.json new file mode 100644 index 00000000..7d7e8dec --- /dev/null +++ b/ServerCommands/汇报/AI生成项目汇报.json @@ -0,0 +1,913 @@ +{ + "$type": "Forguncy.SaveLoad.ServerCommandSaveData, ServerDesignerCommon", + "Name": "AI生成项目汇报", + "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": "项目ID", + "DataValidationInfo": { + "$type": "Forguncy.SaveLoad.DataValidationInfoSaveData, ServerDesignerCommon", + "IgnoreBlank": false + }, + "TestData": "8" + }, + { + "$type": "Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon", + "Name": "汇报类型", + "DataValidationInfo": { + "$type": "Forguncy.SaveLoad.DataValidationInfoSaveData, ServerDesignerCommon", + "IgnoreBlank": false + } + }, + { + "$type": "Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon", + "Name": "日期", + "DataValidationInfo": { + "$type": "Forguncy.SaveLoad.DataValidationInfoSaveData, ServerDesignerCommon", + "IgnoreBlank": false + }, + "TestData": "2024-11-11" + } + ] + }, + "InvokeTriggerTestData": { + "$type": "Forguncy.SaveLoad.InvokeTriggerTestDataSaveData, ServerDesignerCommon", + "UserName": "Administrator" + } + } + ] + }, + "Commands": { + "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", + "$values": [ + { + "$type": "Forguncy.Model.CatchExceptionCommand, ServerDesignerCommon", + "TryCommandPart": { + "$type": "Forguncy.Model.ExceptionCommandBaseNode, 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": "项目信息", + "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": "d2594234-f106-45b2-bb14-c3495114d985", + "BindingInfo": { + "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", + "TableName": "项目表", + "ColumnName": "项目名称", + "GUID": "1029b500-6dce-4af0-9434-2f63ec0db58c" + }, + "ColumnName": "项目名称" + }, + { + "$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon", + "GUID": "62984990-40c9-432d-859b-1cc9b049bc22", + "BindingInfo": { + "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", + "TableName": "项目表", + "ColumnName": "项目经理", + "GUID": "28045a72-5438-44a3-a295-287a46320b15", + "AttachType": { + "$type": "ForguncyDataAccess.UserColumnAttachObj, ForguncyDataAccess", + "UserColumnAttachType": 1 + } + }, + "ColumnName": "项目经理_全名" + }, + { + "$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon", + "GUID": "f8e06570-2c01-4563-b07a-0db9ee9bfd33", + "BindingInfo": { + "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", + "TableName": "项目表", + "ColumnName": "项目经理", + "GUID": "98e010ee-d419-4645-acb6-df3d45a5f464", + "AttachType": { + "$type": "ForguncyDataAccess.UserColumnAttachObj, ForguncyDataAccess", + "UserColumnAttachType": 2 + } + }, + "ColumnName": "项目经理_邮件" + } + ] + }, + "SqlCondition": { + "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", + "ColumnBindingInfo": { + "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", + "TableName": "项目表", + "ColumnName": "ID", + "GUID": "69cafd1f-51aa-4be1-8e98-3c1973367b0d" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=项目ID" + } + }, + "TopCount": "1" + }, + "ID": "366d3c7f89084456afb92b4e8e200822", + "BreakpointIdentity": "b79b7d2e-7b26-40e4-8b8e-00444e6ea719" + }, + { + "$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": "=项目信息" + } + }, + "value": "%Null%", + "compareType": 1 + }, + "CommandList": { + "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", + "$values": [ + { + "$type": "UserManagementCommandsV2.GetAdminPortalUrlCommand, UserManagementCommandsV2", + "ResultProperty": "baseUrl", + "BreakpointIdentity": "81b8e934-8d81-42e1-bfaf-1e1fb97093ad" + }, + { + "$type": "ApplicationServerOperationCommand.GetAppBaseUrlCommand, ApplicationServerOperationCommand", + "ParamName": "appName", + "BreakpointIdentity": "c5668f56-b635-436e-b081-b98dbe133d9d" + }, + { + "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", + "ParameterName": "反馈网址", + "ParameterValue": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=baseUrl&appName&\"?ID=\"&项目ID" + }, + "ID": "93e831d388714f2f8930cdfe36bb92ca", + "BreakpointIdentity": "cfb3fe18-fe8a-4ef4-b55b-104cf0070412" + }, + { + "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", + "ParameterName": "开始日期", + "ParameterValue": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=日期-WEEKDAY(日期,3)" + }, + "ID": "53bacb13fa2943248b3074c3c7f63de5", + "BreakpointIdentity": "9483c6ff-0d2e-4ac0-9726-43b6dcca805c" + }, + { + "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", + "ParameterName": "结束日期", + "ParameterValue": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=开始日期-WEEKDAY(开始日期,3)+6" + }, + "ID": "30b04256e0224b0786286d2b1e1524e7", + "BreakpointIdentity": "33a41b86-1c45-4c0b-9ab4-0c192bf86ae8" + }, + { + "$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": "6ab67c7e-2a3a-4db4-8f69-260df73423d1", + "BindingInfo": { + "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", + "TableName": "任务工时表", + "ColumnName": "执行内容", + "GUID": "3e35e126-2600-4c30-9852-553c2bee0df2" + }, + "ColumnName": "执行内容" + }, + { + "$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon", + "GUID": "931bcf03-15f0-4869-a9b8-e14ed68f62e0", + "BindingInfo": { + "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", + "TableName": "任务工时表", + "ColumnName": "任务ID", + "GUID": "72f6c272-c4a2-4376-934c-77eb8e8625bc", + "RelationBinding": { + "$type": "ForguncyDataAccess.RelationBinding, ForguncyDataAccess", + "RelatedTable": "任务平行视图", + "RelatedColumn": "ID", + "DisplayColumn": "任务名称" + } + }, + "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": "任务工时表", + "ColumnName": "工时类型", + "GUID": "eed50915-ab22-4162-952e-4daf570713a8" + }, + "Value": "实际" + }, + { + "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", + "ColumnBindingInfo": { + "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", + "TableName": "任务工时表", + "ColumnName": "项目ID", + "GUID": "d7671894-00a2-4c5d-be8d-de1e54db40e2" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=项目ID" + } + }, + { + "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", + "CompareType": 3, + "ColumnBindingInfo": { + "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", + "TableName": "任务工时表", + "ColumnName": "工时日期", + "GUID": "b420682a-84ea-4670-ae75-4a6f9336c2e1" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=开始日期" + } + }, + { + "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", + "CompareType": 5, + "ColumnBindingInfo": { + "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", + "TableName": "任务工时表", + "ColumnName": "工时日期", + "GUID": "20fdb599-b6af-4438-b703-c2ea123010da" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=结束日期" + } + }, + { + "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", + "CompareType": 1, + "ColumnBindingInfo": { + "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", + "TableName": "任务工时表", + "ColumnName": "执行内容", + "GUID": "bda84571-d9e9-4f8d-bd99-7da86433f74d" + }, + "Value": "%Null%" + } + ] + } + }, + "NullFormulaValueQueryPolicy": 2 + }, + "ID": "45d4c4d9eb00402cafd563ca2d0d7207", + "BreakpointIdentity": "852dcb83-2877-4a02-b1d5-70071e8d7534" + }, + { + "$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": "6c304078-340a-45ed-a38d-1220c1e04e68", + "BindingInfo": { + "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", + "TableName": "汇报记录表", + "ColumnName": "纯文本内容", + "GUID": "b3d93cb8-22c9-4880-a3e8-63ae5fe3910b" + }, + "ColumnName": "纯文本内容" + } + ] + }, + "SqlCondition": { + "$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess", + "SubConditions": { + "$type": "System.Collections.Generic.List`1[[ForguncyDataAccess.ISqlCondition, ForguncyDataAccess]], System.Private.CoreLib", + "$values": [ + { + "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", + "CompareType": 3, + "ColumnBindingInfo": { + "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", + "TableName": "汇报记录表", + "ColumnName": "开始日期", + "GUID": "54373317-41c7-41f3-8ec7-a2482a1d6745" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=开始日期" + } + }, + { + "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", + "CompareType": 5, + "ColumnBindingInfo": { + "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", + "TableName": "汇报记录表", + "ColumnName": "开始日期", + "GUID": "a8a80791-bc4e-476f-aaba-c9e56d9566c0" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=结束日期" + } + }, + { + "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", + "ColumnBindingInfo": { + "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", + "TableName": "汇报记录表", + "ColumnName": "汇报类型", + "GUID": "200f3c03-7ac4-48a2-8701-e3665b4bec62" + }, + "Value": "日报" + }, + { + "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", + "ColumnBindingInfo": { + "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", + "TableName": "汇报记录表", + "ColumnName": "汇报对象", + "GUID": "a5a9c060-2dcf-4795-9bdf-0fcf1cc99233" + }, + "Value": "个人" + } + ] + } + } + }, + "ID": "ed48af9eadb3450d9bc15ef5d33c519d", + "BreakpointIdentity": "c0f60bcd-40d3-433a-9932-c54416129de3" + }, + { + "$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": "07ab2ec5-76ef-4c51-bc87-38db10b2a9c4", + "BindingInfo": { + "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", + "TableName": "项目发布记录", + "ColumnName": "版本ID", + "GUID": "10363489-f307-45f0-b346-55f23290ff0d", + "RelationBinding": { + "$type": "ForguncyDataAccess.RelationBinding, ForguncyDataAccess", + "RelatedTable": "项目版本", + "RelatedColumn": "ID", + "DisplayColumn": "版本名称" + } + }, + "ColumnName": "版本名称" + }, + { + "$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon", + "GUID": "a6df17c1-3532-4d77-b486-7ecc7586a367", + "BindingInfo": { + "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", + "TableName": "项目发布记录", + "ColumnName": "发布内容", + "GUID": "b199cc18-89f7-4be3-8cfa-b3c00e74fbaa" + }, + "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": "项目发布记录", + "ColumnName": "项目ID", + "GUID": "2bff65f7-7cd1-4b1d-afff-06f3df00e5f0" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=项目ID" + } + }, + { + "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", + "CompareType": 3, + "ColumnBindingInfo": { + "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", + "TableName": "项目发布记录", + "ColumnName": "发布时间", + "GUID": "c68b3e9e-496c-440a-9519-8a8fb340a25d" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=开始日期" + } + }, + { + "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", + "CompareType": 5, + "ColumnBindingInfo": { + "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", + "TableName": "项目发布记录", + "ColumnName": "发布时间", + "GUID": "7cea4b7d-28cb-4b7b-8777-52d47f8a4e6a" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=结束日期" + } + } + ] + } + } + }, + "ID": "4dec5f8ddd6b4319bc12b3ec85565e01", + "BreakpointIdentity": "4f6e6838-2384-4912-b031-07f676092857" + }, + { + "$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": "4dfaa31e-6d1f-4607-bf75-21d5f924d9d8", + "BindingInfo": { + "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", + "TableName": "需求反馈登记表", + "ColumnName": "关联任务", + "GUID": "47de547e-dba9-4c1c-9aa3-aa10f8dc2fd0", + "RelationBinding": { + "$type": "ForguncyDataAccess.RelationBinding, ForguncyDataAccess", + "RelatedTable": "任务平行视图", + "RelatedColumn": "ID", + "DisplayColumn": "任务名称" + } + }, + "ColumnName": "任务名称" + }, + { + "$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon", + "GUID": "3d9a5f0e-c8c1-43a7-ae10-dd0d4357737d", + "BindingInfo": { + "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", + "TableName": "需求反馈登记表", + "ColumnName": "标题", + "GUID": "0d1958ed-743d-45c5-8465-279ffa55cf36" + }, + "ColumnName": "标题" + }, + { + "$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon", + "GUID": "f14fb46d-d222-4cf2-b8f4-97cbeb121aef", + "BindingInfo": { + "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", + "TableName": "需求反馈登记表", + "ColumnName": "内容", + "GUID": "0243d501-1f61-412c-aa5a-77004303e7ed" + }, + "ColumnName": "内容" + }, + { + "$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon", + "GUID": "8b4f317a-78e7-4de0-8f80-cf04ee30c45b", + "BindingInfo": { + "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", + "TableName": "需求反馈登记表", + "ColumnName": "状态", + "GUID": "2ccc5b2f-ebaf-40cc-afce-39b7da308c7f", + "RelationBinding": { + "$type": "ForguncyDataAccess.RelationBinding, ForguncyDataAccess", + "RelatedTable": "反馈状态表", + "RelatedColumn": "状态码", + "DisplayColumn": "状态" + } + }, + "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": "需求反馈登记表", + "ColumnName": "项目ID", + "GUID": "e93b7198-0124-4470-a2a6-917a425d82d3" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=项目ID" + } + }, + { + "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", + "CompareType": 3, + "ColumnBindingInfo": { + "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", + "TableName": "需求反馈登记表", + "ColumnName": "开始处理时间", + "GUID": "931da135-311f-45ca-8029-e220fc07d938" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=开始日期" + } + }, + { + "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", + "CompareType": 5, + "ColumnBindingInfo": { + "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", + "TableName": "需求反馈登记表", + "ColumnName": "结束处理时间", + "GUID": "1cf0dfec-6f19-41b3-a975-bc8a48810870" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=结束日期" + } + } + ] + } + } + }, + "ID": "cb08c492552142e1bed41713894931f2", + "BreakpointIdentity": "37f73ea5-76fd-434e-8570-3d9652785419" + }, + { + "$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": "=工时记录.Count" + } + }, + "value": "0" + }, + { + "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", + "param": { + "$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon", + "ParamObject": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=日报列表.Count" + } + }, + "value": "0" + }, + { + "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", + "param": { + "$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon", + "ParamObject": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=发布日志.Count" + } + }, + "value": "0" + }, + { + "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", + "param": { + "$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon", + "ParamObject": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=反馈记录.Count" + } + }, + "value": "0" + } + ] + } + }, + "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": "当前项目尚未任何记录,无需生成", + "CustomReturns": { + "$type": "System.Collections.Generic.List`1[[Forguncy.Model.CustomReturns, ServerDesignerCommon]], System.Private.CoreLib", + "$values": [ + { + "$type": "Forguncy.Model.CustomReturns, ServerDesignerCommon", + "ReturnPropertyName": "生成日报" + } + ] + }, + "BreakpointIdentity": "03902aea-b038-450b-aa4f-4ebcc240c554" + } + ] + }, + "ID": "55871cba-29ed-4784-b01e-f1ead5bebc75" + } + ] + }, + "BreakpointIdentity": "5b733604-b08a-4ee1-a657-9db2a224b5c6" + }, + { + "$type": "CollectionOperationKit.ServerSideObjectOp, CollectionOperationKit", + "OperationParamaterPairs": { + "$type": "System.Collections.Generic.List`1[[CollectionOperationKit.PropertyValueObject, CollectionOperationKit]], System.Private.CoreLib", + "$values": [ + { + "$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit", + "Name": "工时记录", + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=工时记录" + } + }, + { + "$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit", + "Name": "日报列表", + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=日报列表" + } + }, + { + "$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit", + "Name": "发布日志", + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=发布日志" + } + }, + { + "$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit", + "Name": "反馈记录", + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=反馈记录" + } + } + ] + }, + "OutParamaterName": "参考记录", + "BreakpointIdentity": "a2b00c9a-d1a0-4dc5-8f82-43200e693478" + }, + { + "$type": "JsonUtilityCommand.JsonSerializeCommand, JsonUtilityCommand", + "SourceObject": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=参考记录" + }, + "ToParameter": "参考记录字符串", + "BreakpointIdentity": "9c98e86f-046b-43b2-b007-31c444716bc9" + }, + { + "$type": "ContentEditor.ContentEditor, ContentEditor", + "Content": "你是一名优秀的项目经理,你需要定期给客户进行一次项目汇报,你需要根据过去一周的工作数据,对本次项目撰写“项目[=汇报类型]”,一份专业、易读的项目[=汇报类型],能给你客户很好的感受,也能让你获得高额的奖金,请认真对待。", + "Result": "前置提示语", + "BreakpointIdentity": "56791a69-c889-45af-b900-66946fe11b5f" + }, + { + "$type": "ContentEditor.ContentEditor, ContentEditor", + "Content": "```项目信息\r\n项目名称:[=项目信息.项目名称]\r\n项目经理:[=项目信息.项目经理_全名]\r\n项目经理邮箱:[=项目信息.项目经理_邮件]\r\n开始日期:[=TEXT(开始日期,\"YYYY-MM-DD\")]\r\n结束时间:[=TEXT(结束日期,\"YYYY-MM-DD\")]\r\n项目反馈地址:[=反馈网址]\r\n```\r\n```引用数据\r\n[=参考记录字符串]\r\n```\r\n### 背景介绍\r\n上面我分别提供了项目信息和引用数据两组数据,其中`引用数据`为一个JSON对象,是来自于项目的过程中产生的工作数据。\r\n### 我的需求\r\n1. 你需要根据`引用数据`,进行理解、分析、整理、总结,最终生成一份“项目[=汇报类型]”;\r\n2. `引用数据`中需要注意,`日报列表`中包含了一些其他项目的记录,需要忽略,不要总结到本次[=汇报类型]中;\r\n3. 除了`日报列表`以外,其他属性中的数据,都是该项目相关数据,无其他项目数据,你都需要总结;\r\n4. 请根据所属的任务、工作内容特性,正确的进行归类总结,不需要对工时、工作量的个内容进行汇报;\r\n5. 下周计划内容,请从引用数据中总结,如果无法从中总结出有用信息,可以写一些通用的文案,表达按计划正常推进工作即可;\r\n6. 如果\"发布日志\"里存在版本更新,请在本次汇报中强调;\r\n7. 请在汇报的末尾增加一个\"-\"组成的分割线,然后在分割线后,将项目经理的信息放在后面,再加上一个欢迎用户在`项目反馈地址`积极反馈的结束语。\r\n### 回复格式\r\n1. 请不要使用MarkDown语法进行排版,我需要纯文本格式, 但可以合理使用一些符号来区分标题和内容;\r\n2. 请不要回复与周报内容无关的任何内容,包括引导词、解释语、客套语等;\r\n3. 回答风格需要专业、严谨、简洁,不要过于啰嗦和冗长;\r\n\r\n", + "Result": "聊天内容", + "BreakpointIdentity": "a82a0c68-1ddd-4c1c-8c42-cad37e127965" + }, + { + "$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit", + "OutParamaterName": "封装聊天记录", + "BreakpointIdentity": "76254b3b-537e-43cf-9ee4-7e8d63bba0dc" + }, + { + "$type": "CollectionOperationKit.ServerSideObjectOp, CollectionOperationKit", + "OperationParamaterPairs": { + "$type": "System.Collections.Generic.List`1[[CollectionOperationKit.PropertyValueObject, CollectionOperationKit]], System.Private.CoreLib", + "$values": [ + { + "$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit", + "Name": "role", + "Value": "user" + }, + { + "$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit", + "Name": "content", + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=聊天内容" + } + } + ] + }, + "OutParamaterName": "单条聊天记录", + "BreakpointIdentity": "20a2b848-812c-4e2e-8af3-16c013f917a7" + }, + { + "$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit", + "InParamater": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=封装聊天记录" + }, + "Operation": 4, + "OperationParamaterAName": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=单条聊天记录" + }, + "OutParamaterName": "封装聊天记录", + "BreakpointIdentity": "76254b3b-537e-43cf-9ee4-7e8d63bba0dc" + }, + { + "$type": "OPENAIFORGUNCY.Completions, OPENAIFORGUNCY", + "URL": "https://openai.api2d.net", + "APIKEY": "fk211858-C6yKrsealBkvHao04yT9Ypg6GR0NVPyh", + "IsDataSource": "json", + "MessageJSON": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=封装聊天记录" + }, + "Parameter": { + "$type": "OPENAIFORGUNCY.ParameterObject, OPENAIFORGUNCY", + "Model": 59, + "Temperature": 1.0, + "TopP": 1.0, + "MaxTokens": 3000, + "Response_format": "text" + }, + "Tools": { + "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Plugin.INamedObject, GrapeCity.Forguncy.Plugin]], System.Private.CoreLib", + "$values": [] + }, + "ResultTo": "result", + "CommandList": { + "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", + "$values": [] + }, + "BreakpointIdentity": "7f05594c-d797-4b9a-a07c-0ef5f9be3cdd" + }, + { + "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", + "ErrorCode": "0", + "Message": "生成完毕", + "CustomReturns": { + "$type": "System.Collections.Generic.List`1[[Forguncy.Model.CustomReturns, ServerDesignerCommon]], System.Private.CoreLib", + "$values": [ + { + "$type": "Forguncy.Model.CustomReturns, ServerDesignerCommon", + "ReturnPropertyName": "生成日报", + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=result.Content" + } + } + ] + }, + "BreakpointIdentity": "a426a76a-11a1-4302-9ed3-6fdc381190ef" + } + ] + }, + "ID": "bac95d15-c44e-41bf-8b31-b9bc5f13c35e" + }, + { + "$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": "项目不存在", + "CustomReturns": { + "$type": "System.Collections.Generic.List`1[[Forguncy.Model.CustomReturns, ServerDesignerCommon]], System.Private.CoreLib", + "$values": [ + { + "$type": "Forguncy.Model.CustomReturns, ServerDesignerCommon", + "ReturnPropertyName": "生成日报" + } + ] + }, + "BreakpointIdentity": "3a467242-3084-4eaa-ac8d-0642cde30d03" + } + ] + }, + "ID": "68139950-6221-463b-be26-557818cd7073" + } + ] + }, + "BreakpointIdentity": "caba2bb7-fb56-4125-8093-0fed209a2629" + } + ] + } + }, + "CatchCommandPart": { + "$type": "Forguncy.Model.CatchCommandNode, ServerDesignerCommon", + "CommandList": { + "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", + "$values": [ + { + "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", + "ErrorCode": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=ExceptionCode" + }, + "Message": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=ExceptionMessage" + }, + "CustomReturns": { + "$type": "System.Collections.Generic.List`1[[Forguncy.Model.CustomReturns, ServerDesignerCommon]], System.Private.CoreLib", + "$values": [ + { + "$type": "Forguncy.Model.CustomReturns, ServerDesignerCommon", + "ReturnPropertyName": "生成日报" + } + ] + }, + "BreakpointIdentity": "3a467242-3084-4eaa-ac8d-0642cde30d03" + } + ] + } + }, + "BreakpointIdentity": "77a7a3bd-9773-4ddc-9ca9-475068562b4a" + } + ] + }, + "ReturnProperties": { + "$type": "System.Collections.Generic.List`1[[Forguncy.SaveLoad.ReturnPropertySaveData, ServerDesignerCommon]], System.Private.CoreLib", + "$values": [ + { + "$type": "Forguncy.SaveLoad.ReturnPropertySaveData, ServerDesignerCommon", + "Name": "生成日报" + } + ] + } +} \ No newline at end of file diff --git a/ServerCommands/汇报/页面_生成项目汇报.json b/ServerCommands/汇报/页面_生成项目汇报.json new file mode 100644 index 00000000..78df83d3 --- /dev/null +++ b/ServerCommands/汇报/页面_生成项目汇报.json @@ -0,0 +1,161 @@ +{ + "$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.PostRequestTriggerSaveData, ServerDesignerCommon", + "Permission": { + "$type": "Forguncy.SaveLoad.ServerCommandPermissionSaveData, ServerDesignerCommon", + "PermissionData": { + "$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionData, Forguncy.RbacPermission.Core", + "permissionResource": { + "$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionResource, Forguncy.RbacPermission.Core" + }, + "permissionBindings": { + "$type": "System.Collections.Generic.List`1[[Forguncy.RbacPermission.Core.Impl.ServerCommand.IServerCommandPermissionBinding, Forguncy.RbacPermission.Core]], System.Private.CoreLib", + "$values": [ + { + "$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionBinding, Forguncy.RbacPermission.Core", + "roleNames": { + "$type": "System.Collections.Generic.List`1[[System.String, System.Private.CoreLib]], System.Private.CoreLib", + "$values": [ + "FGC_LoginUser" + ] + } + } + ] + } + } + }, + "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 + } + }, + { + "$type": "Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon", + "Name": "日期", + "DataValidationInfo": { + "$type": "Forguncy.SaveLoad.DataValidationInfoSaveData, ServerDesignerCommon", + "IgnoreBlank": false + } + }, + { + "$type": "Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon", + "Name": "项目ID", + "DataValidationInfo": { + "$type": "Forguncy.SaveLoad.DataValidationInfoSaveData, ServerDesignerCommon", + "IgnoreBlank": false + } + } + ] + } + } + ] + }, + "Commands": { + "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", + "$values": [ + { + "$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon", + "ServerCommandName": "AI生成项目汇报", + "Parameters": { + "$type": "System.Collections.Generic.List`1[[Forguncy.Model.RequestServerCommandParamBase, ServerDesignerCommon]], System.Private.CoreLib", + "$values": [ + { + "$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon", + "ParamName": "项目ID", + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=项目ID" + } + }, + { + "$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": "=日期" + } + } + ] + }, + "ResultErrorCodeTo": { + "$type": "Forguncy.Common.FormulaCellLocation, ServerDesignerCommon", + "SerializeProperty": "code" + }, + "ResultMessageTo": { + "$type": "Forguncy.Common.FormulaCellLocation, ServerDesignerCommon", + "SerializeProperty": "msg" + }, + "ReturnPropertiesTo": { + "$type": "System.Collections.Generic.List`1[[Forguncy.Model.ReturnPropertyTo, ServerDesignerCommon]], System.Private.CoreLib", + "$values": [ + { + "$type": "Forguncy.Model.ReturnPropertyTo, ServerDesignerCommon", + "ResultPropertyName": "生成日报", + "ResultTo": { + "$type": "Forguncy.Common.FormulaCellLocation, ServerDesignerCommon", + "SerializeProperty": "生成日报" + } + } + ] + }, + "RefreshAfterFinish": true, + "CheckDataValidation": true, + "BreakpointIdentity": "4251adce-af0f-4e60-9980-56bde53a25cd" + }, + { + "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", + "ErrorCode": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=code" + }, + "Message": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=msg" + }, + "CustomReturns": { + "$type": "System.Collections.Generic.List`1[[Forguncy.Model.CustomReturns, ServerDesignerCommon]], System.Private.CoreLib", + "$values": [ + { + "$type": "Forguncy.Model.CustomReturns, ServerDesignerCommon", + "ReturnPropertyName": "生成日报", + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=生成日报" + } + } + ] + }, + "BreakpointIdentity": "e6b3e09f-959d-4e53-b630-213513335294" + } + ] + }, + "ReturnProperties": { + "$type": "System.Collections.Generic.List`1[[Forguncy.SaveLoad.ReturnPropertySaveData, ServerDesignerCommon]], System.Private.CoreLib", + "$values": [ + { + "$type": "Forguncy.SaveLoad.ReturnPropertySaveData, ServerDesignerCommon", + "Name": "生成日报" + } + ] + } +} \ No newline at end of file diff --git a/ServerCommands/钉钉/发送日报消息到钉钉.json b/ServerCommands/钉钉/发送日报消息到钉钉.json index 8929e3a2..f496038e 100644 --- a/ServerCommands/钉钉/发送日报消息到钉钉.json +++ b/ServerCommands/钉钉/发送日报消息到钉钉.json @@ -48,7 +48,7 @@ "$values": [ { "$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon", - "GUID": "c4c85967-163a-4778-af21-74bf0de0b8bd", + "GUID": "3272d199-8e4d-45e1-a6af-fed8e07d22c7", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "汇报记录表", @@ -59,7 +59,7 @@ }, { "$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon", - "GUID": "4a352d5e-d89c-4c7d-bf24-c09b792e0c26", + "GUID": "55103b57-c461-4957-9364-734c1b39cf10", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "汇报记录表", @@ -70,7 +70,7 @@ }, { "$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon", - "GUID": "efa0143d-f403-49da-b4c8-dd67b97ed18a", + "GUID": "866091e5-16bb-4a09-8d8c-7a888cccecfe", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "汇报记录表", @@ -81,7 +81,7 @@ }, { "$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon", - "GUID": "d82fb480-c470-4842-9c22-fca24e0776b0", + "GUID": "f1d20dc7-767b-4ec3-a2f0-1eb53d401ad0", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "汇报记录表", @@ -92,7 +92,18 @@ }, { "$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon", - "GUID": "9c542390-a435-4279-9ca9-4fcc3c14325d", + "GUID": "dd341c67-991f-46bb-8f7f-786fbddad051", + "BindingInfo": { + "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", + "TableName": "汇报记录表", + "ColumnName": "汇报对象ID", + "GUID": "01f092ad-c9b1-44af-bcae-3e173ff78f4b" + }, + "ColumnName": "汇报对象ID" + }, + { + "$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon", + "GUID": "0fc4bdde-2b41-4b5a-8c4a-e0b202f7cc72", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "汇报记录表", @@ -107,7 +118,7 @@ }, { "$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon", - "GUID": "f3556ae4-e1e9-4dbc-8199-0ba2747b7b71", + "GUID": "d8817a2e-ee10-4bed-b86a-ff40db8a53b3", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "汇报记录表", @@ -122,7 +133,7 @@ }, { "$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon", - "GUID": "bb7a271e-488b-41e0-a152-b06331cea346", + "GUID": "5878ac24-335e-42ce-9223-799f12230ff1", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "汇报记录表", @@ -133,7 +144,7 @@ }, { "$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon", - "GUID": "4d75fd9d-7798-4c8e-b2fe-8d69d86b34a2", + "GUID": "f1bbadda-9a96-479d-92b0-0aa22c43ab41", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "汇报记录表", @@ -160,9 +171,288 @@ "NullFormulaValueQueryPolicy": 0, "TopCount": "1" }, - "ID": "f4635eb887aa4179b89d7345df2faef7", + "ID": "4aae89624f5a4893a0678052c919e646", "BreakpointIdentity": "b0b5aa20-9587-41d1-a48c-8e82c3f20aca" }, + { + "$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": "=汇报信息.汇报对象" + } + }, + "value": "个人" + }, + "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": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=汇报信息.汇报人" + }, + "ID": "dc2a36116fdc4f43935ce2c504aac04b", + "BreakpointIdentity": "e4b56d37-17a2-46ea-9714-6b3c708f32fb" + } + ] + }, + "ID": "fca0592f-897c-42ac-96ad-c83c045a4671" + }, + { + "$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon", + "Condition": { + "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", + "param": { + "$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon", + "ParamObject": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=汇报信息.汇报对象" + } + }, + "value": "项目" + }, + "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": "项目表", + "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": "d259b58a-42ec-43dc-8c79-bee2385b4f96", + "BindingInfo": { + "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", + "TableName": "项目表", + "ColumnName": "项目名称", + "GUID": "8bc7710f-32e0-4ea3-8b3b-611a92b45e4d" + }, + "ColumnName": "项目名称" + } + ] + }, + "SqlCondition": { + "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", + "ColumnBindingInfo": { + "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", + "TableName": "项目表", + "ColumnName": "ID", + "GUID": "4d8a3b0f-7643-46fb-a0ff-1d3096a8d7f6" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=汇报对象ID" + } + }, + "TopCount": "1" + }, + "ID": "9fd323dcd9ac485f8f6a4bcc9ea73b95", + "BreakpointIdentity": "65aaaea7-278e-489d-979e-ab9e26fd839f" + }, + { + "$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": "=项目信息" + } + }, + "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": "抬头", + "ParameterValue": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=项目信息.项目名称" + }, + "ID": "1f6f4918715a4a138c7bbc76ec4d3246", + "BreakpointIdentity": "e4b56d37-17a2-46ea-9714-6b3c708f32fb" + } + ] + }, + "ID": "2942b46a-0f61-4ce5-bbe3-ae83afc20a5c" + }, + { + "$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": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=汇报信息.汇报人&\"发表\"" + }, + "ID": "2b8925a0782240189246e412a9f877be", + "BreakpointIdentity": "e4b56d37-17a2-46ea-9714-6b3c708f32fb" + } + ] + }, + "ID": "e46f3417-8b68-4617-834d-924d7f41d120" + } + ] + }, + "BreakpointIdentity": "63d25bfd-5bf7-4d7b-a6aa-36f9e5aba76c" + } + ] + }, + "ID": "8cd84b85-a7c7-41e1-9391-756734314585" + }, + { + "$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon", + "Condition": { + "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", + "param": { + "$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon", + "ParamObject": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=汇报信息.汇报对象" + } + }, + "value": "客户" + }, + "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": "客户表", + "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": "aab92d3e-9e21-4215-8cb2-c2ef60ff0330", + "BindingInfo": { + "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", + "TableName": "客户表", + "ColumnName": "客户名称", + "GUID": "5c67dd1c-5581-4c41-83ba-f83c89b19460" + }, + "ColumnName": "客户名称" + } + ] + }, + "SqlCondition": { + "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", + "ColumnBindingInfo": { + "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", + "TableName": "客户表", + "ColumnName": "ID", + "GUID": "7de72c96-51b7-48ab-8c42-b1c6771ce489" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=汇报信息.汇报对象ID" + } + }, + "TopCount": "1" + }, + "ID": "dc0da2a5913942a39a23bc04da0e157a", + "BreakpointIdentity": "65aaaea7-278e-489d-979e-ab9e26fd839f" + }, + { + "$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": "=客户信息" + } + }, + "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": "抬头", + "ParameterValue": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=客户信息.客户名称" + }, + "ID": "91099efc26724eaf97fb5d54b76bd16d", + "BreakpointIdentity": "c22c17c5-8843-47c7-9fe4-c14b29dd8f33" + } + ] + }, + "ID": "fdd82b9e-d9ba-4a93-b57c-b3070b66f6eb" + }, + { + "$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": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=汇报信息.汇报人&\"发表\"" + }, + "ID": "d3e2d3f6fe544815a5084c6bb7805ac9", + "BreakpointIdentity": "0a339396-fc69-4176-9e8c-5829e8c013a3" + } + ] + }, + "ID": "53ac2edd-7065-49b8-b56c-b7bdd6e24594" + } + ] + }, + "BreakpointIdentity": "d7d2ba37-d7e2-44a7-becd-39638682f66b" + } + ] + }, + "ID": "a661c9b5-242a-456d-b382-b6c233565012" + } + ] + }, + "BreakpointIdentity": "99c22011-c542-44b2-9f31-1201638388bf" + }, { "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", "ConditionAndCommandPairList": { @@ -224,17 +514,18 @@ "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=baseUrl&\"ReportPreview?id=\"&汇报ID" }, - "ID": "7d85d7a595884db08a148485d43c9406", + "ID": "3a2c030c6c89443cb76adc952003efba", "BreakpointIdentity": "e734b62f-1c44-4d25-9a66-5f9f77c5e11d" }, { "$type": "ContentEditor.ContentEditor, ContentEditor", - "Content": "### [=汇报信息.汇报人&\"的\"&汇报信息.汇报对象&汇报信息.汇报类型]\r\n[=汇报信息.内容]", + "Content": "### [=抬头&\"的\"&汇报信息.汇报对象&汇报信息.汇报类型]\r\n[=汇报信息.内容]", "Result": "生成结果", "BreakpointIdentity": "ed3e09fd-1238-49c4-b60f-a7de2d7116ec" }, { "$type": "DingTalkPlugin.Asyncsend, DingTalkPlugin", + "UserType": "UserName", "Userid_list": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=组织上级" @@ -279,12 +570,16 @@ } ] }, - "ID": "7144a9ed-c163-41b4-a090-831d45dd19b6" + "ID": "9853768d-0efd-47e4-9682-8adee56492be" } ] }, "BreakpointIdentity": "a9de8c48-ff22-4405-aa88-23a3a6f6f5fa" } ] + }, + "ReturnProperties": { + "$type": "System.Collections.Generic.List`1[[Forguncy.SaveLoad.ReturnPropertySaveData, ServerDesignerCommon]], System.Private.CoreLib", + "$values": [] } } \ No newline at end of file diff --git a/UserServiceDB.sqlite3 b/UserServiceDB.sqlite3 index fd5a0df9..2d81ddf8 100644 Binary files a/UserServiceDB.sqlite3 and b/UserServiceDB.sqlite3 differ