From 319ebef47fc7375d58b844b28f3ae8d255c94ccf Mon Sep 17 00:00:00 2001 From: cuckooent Date: Thu, 19 Sep 2024 19:22:19 +0800 Subject: [PATCH] =?UTF-8?q?{"Message":"=E6=9B=B4=E6=96=B0=E9=92=89?= =?UTF-8?q?=E9=92=89=E5=BE=85=E5=8A=9E=E5=A4=84=E7=BD=AE=E6=9C=BA=E5=88=B6?= =?UTF-8?q?","MessageType":2,"Modules":[{"State":1,"Type":1,"Name":"PCPage?= =?UTF-8?q?/=E5=BC=80=E5=8F=91=E6=B5=8B=E8=AF=95"},{"State":1,"Type":28,"N?= =?UTF-8?q?ame":"ProcessItem/=E9=A1=B9=E7=9B=AE=E7=AB=8B=E9=A1=B9=E6=B5=81?= =?UTF-8?q?=E7=A8=8B"},{"State":1,"Type":28,"Name":"ProcessItem/=E5=8F=8D?= =?UTF-8?q?=E9=A6=88=E5=A4=84=E7=90=86=E6=B5=81=E7=A8=8B"},{"State":1,"Typ?= =?UTF-8?q?e":28,"Name":"ProcessItem/=E7=BB=93=E7=AE=97=E7=94=B3=E8=AF=B7"?= =?UTF-8?q?},{"State":1,"Type":28,"Name":"ProcessItem/=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E6=B5=81=E7=A8=8B"},{"State":1,"Type":28,"Na?= =?UTF-8?q?me":"ProcessItem/=E9=A2=84=E7=AE=97=E7=94=B3=E8=AF=B7"},{"State?= =?UTF-8?q?":1,"Type":15,"Name":"ServerCommand/=E5=88=9B=E5=BB=BA=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE=E5=AE=A1=E6=89=B9=E5=BE=85=E5=8A=9E"},{"State":1,"Typ?= =?UTF-8?q?e":15,"Name":"ServerCommand/=E5=88=A0=E9=99=A4=E9=92=89?= =?UTF-8?q?=E9=92=89=E5=BE=85=E5=8A=9E"},{"State":1,"Type":15,"Name":"Serv?= =?UTF-8?q?erCommand/=E6=9B=B4=E6=96=B0=E5=AE=A1=E6=89=B9=E5=BE=85?= =?UTF-8?q?=E5=8A=9E"},{"State":1,"Type":27,"Name":"ServerCommandPrivate/B?= =?UTF-8?q?asic=E5=88=9B=E5=BB=BA=E9=92=89=E9=92=89=E5=BE=85=E5=8A=9E"},{"?= =?UTF-8?q?State":1,"Type":15,"Name":"ServerCommand/=E5=88=9B=E5=BB=BA?= =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E5=AE=A1=E6=89=B9=E5=BE=85=E5=8A=9E"},{"Stat?= =?UTF-8?q?e":1,"Type":15,"Name":"ServerCommand/=E5=88=9B=E5=BB=BA?= =?UTF-8?q?=E5=8F=8D=E9=A6=88=E5=AE=A1=E6=89=B9=E5=BE=85=E5=8A=9E"},{"Stat?= =?UTF-8?q?e":3,"Type":7,"Name":"Table/=E9=92=89=E9=92=89=E5=BE=85?= =?UTF-8?q?=E5=8A=9E=E5=82=A8=E5=AD=98=E8=A1=A8"}],"Version":"v1"}?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .collaboration | 144 ++-------------- Pages/系统/开发测试.json | 6 +- Process/反馈处理流程.bpmn | 2 +- Process/新增任务流程.bpmn | 4 +- Process/结算申请.bpmn | 2 +- Process/项目立项流程.bpmn | 4 +- Process/预算申请.bpmn | 4 +- ServerCommands/钉钉/Basic创建钉钉待办.json | 36 +++- ServerCommands/钉钉/创建任务审批待办.json | 43 ++--- ServerCommands/钉钉/创建反馈审批待办.json | 43 ++--- ServerCommands/钉钉/创建项目审批待办.json | 43 ++--- ServerCommands/钉钉/删除钉钉待办.json | 73 +++++++- ServerCommands/钉钉/更新审批待办.json | 190 +++++++++++++-------- Tables/流程表文件夹/钉钉待办储存表.json | 60 +++++++ 14 files changed, 346 insertions(+), 308 deletions(-) create mode 100644 Tables/流程表文件夹/钉钉待办储存表.json diff --git a/.collaboration b/.collaboration index 3bb0ff38..8c6598ac 100644 --- a/.collaboration +++ b/.collaboration @@ -1182,17 +1182,7 @@ }, { "ModuleName": "PCPage/开发测试", - "State": 1, - "LockedBy": { - "UserName": "cuckooent", - "Email": "phoben@qq.com" - }, - "LockDateTime": "2024-09-19T19:13:03.4425904+08:00", - "ModuleType": 1, - "ToRemoveFiles": [ - "Pages\\系统\\开发测试.json", - "Pages\\系统\\开发测试.rd" - ] + "ModuleType": 1 }, { "ModuleName": "Pages/工时", @@ -1684,73 +1674,23 @@ }, { "ModuleName": "ProcessItem/项目立项流程", - "State": 1, - "LockedBy": { - "UserName": "cuckooent", - "Email": "phoben@qq.com" - }, - "LockDateTime": "2024-09-19T19:16:23.6540626+08:00", - "ModuleType": 28, - "ToRemoveFiles": [ - "Process\\项目立项流程.json", - "Process\\项目立项流程.bpmn" - ] + "ModuleType": 28 }, { "ModuleName": "ProcessItem/反馈处理流程", - "State": 1, - "LockedBy": { - "UserName": "cuckooent", - "Email": "phoben@qq.com" - }, - "LockDateTime": "2024-09-19T19:16:23.6540636+08:00", - "ModuleType": 28, - "ToRemoveFiles": [ - "Process\\反馈处理流程.json", - "Process\\反馈处理流程.bpmn" - ] + "ModuleType": 28 }, { "ModuleName": "ProcessItem/结算申请", - "State": 1, - "LockedBy": { - "UserName": "cuckooent", - "Email": "phoben@qq.com" - }, - "LockDateTime": "2024-09-19T19:21:19.3938102+08:00", - "ModuleType": 28, - "ToRemoveFiles": [ - "Process\\结算申请.json", - "Process\\结算申请.bpmn" - ] + "ModuleType": 28 }, { "ModuleName": "ProcessItem/新增任务流程", - "State": 1, - "LockedBy": { - "UserName": "cuckooent", - "Email": "phoben@qq.com" - }, - "LockDateTime": "2024-09-19T19:16:23.6540645+08:00", - "ModuleType": 28, - "ToRemoveFiles": [ - "Process\\新增任务流程.json", - "Process\\新增任务流程.bpmn" - ] + "ModuleType": 28 }, { "ModuleName": "ProcessItem/预算申请", - "State": 1, - "LockedBy": { - "UserName": "cuckooent", - "Email": "phoben@qq.com" - }, - "LockDateTime": "2024-09-19T19:21:50.6015286+08:00", - "ModuleType": 28, - "ToRemoveFiles": [ - "Process\\预算申请.json", - "Process\\预算申请.bpmn" - ] + "ModuleType": 28 }, { "ModuleName": "Notification/系统信息更新", @@ -2442,55 +2382,19 @@ }, { "ModuleName": "ServerCommand/创建项目审批待办", - "State": 1, - "LockedBy": { - "UserName": "cuckooent", - "Email": "phoben@qq.com" - }, - "LockDateTime": "2024-09-19T19:13:32.2689139+08:00", - "ModuleType": 15, - "ToRemoveFiles": [ - "ServerCommands\\钉钉\\创建项目审批待办.json" - ] + "ModuleType": 15 }, { "ModuleName": "ServerCommand/删除钉钉待办", - "State": 1, - "LockedBy": { - "UserName": "cuckooent", - "Email": "phoben@qq.com" - }, - "LockDateTime": "2024-09-19T19:16:23.6540476+08:00", - "ModuleType": 15, - "ToRemoveFiles": [ - "ServerCommands\\钉钉\\删除钉钉待办.json" - ] + "ModuleType": 15 }, { "ModuleName": "ServerCommand/更新审批待办", - "State": 1, - "LockedBy": { - "UserName": "cuckooent", - "Email": "phoben@qq.com" - }, - "LockDateTime": "2024-09-19T19:14:26.3675601+08:00", - "ModuleType": 15, - "ToRemoveFiles": [ - "ServerCommands\\钉钉\\更新审批待办.json" - ] + "ModuleType": 15 }, { "ModuleName": "ServerCommandPrivate/Basic创建钉钉待办", - "State": 1, - "LockedBy": { - "UserName": "cuckooent", - "Email": "phoben@qq.com" - }, - "LockDateTime": "2024-09-19T19:13:32.2688597+08:00", - "ModuleType": 27, - "ToRemoveFiles": [ - "ServerCommands\\钉钉\\Basic创建钉钉待办.json" - ] + "ModuleType": 27 }, { "ModuleName": "ServerCommandPrivate/Basic更新待办", @@ -2498,29 +2402,11 @@ }, { "ModuleName": "ServerCommand/创建任务审批待办", - "State": 1, - "LockedBy": { - "UserName": "cuckooent", - "Email": "phoben@qq.com" - }, - "LockDateTime": "2024-09-19T19:13:32.2689455+08:00", - "ModuleType": 15, - "ToRemoveFiles": [ - "ServerCommands\\钉钉\\创建任务审批待办.json" - ] + "ModuleType": 15 }, { "ModuleName": "ServerCommand/创建反馈审批待办", - "State": 1, - "LockedBy": { - "UserName": "cuckooent", - "Email": "phoben@qq.com" - }, - "LockDateTime": "2024-09-19T19:13:32.2689614+08:00", - "ModuleType": 15, - "ToRemoveFiles": [ - "ServerCommands\\钉钉\\创建反馈审批待办.json" - ] + "ModuleType": 15 }, { "ModuleName": "ServerCommand/GetUpdateLogs", @@ -2536,12 +2422,6 @@ }, { "ModuleName": "Table/钉钉待办储存表", - "State": 3, - "LockedBy": { - "UserName": "cuckooent", - "Email": "phoben@qq.com" - }, - "LockDateTime": "2024-09-19T19:11:29.9851839+08:00", "ModuleType": 7 } ] \ No newline at end of file diff --git a/Pages/系统/开发测试.json b/Pages/系统/开发测试.json index 85a6090a..15d13bd6 100644 --- a/Pages/系统/开发测试.json +++ b/Pages/系统/开发测试.json @@ -514,6 +514,10 @@ "$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon", "ParamName": "执行人", "Value": "shamus" + }, + { + "$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon", + "ParamName": "流程任务ID" } ], "ResultErrorCodeTo": { @@ -604,4 +608,4 @@ "PaperSize": {}, "Margin": {} } -}//VcouN8dL2OqrqzCsHqYQMhs7k5TtM9+74xrOxsvIxml2R3qdoDCdEw0y/asoxZ9DdfuN1dEpSHcq5Az80qMSy37kisscnkPfk9fNI0HGdqCz9t1zleUFxYxlOLV9QGoiK9yKU0imoy5ObwvdP/EeuMuqb+q1AYZYeZKekJucuJs5kRfVqdzAL/uVYDGe/E5tdQHxArBXawSDAvyUiP+D9GOdEQ3jngeDsy6sKwmY2qTa1INX8MLq+QDYQPEnlaB53SpKT7gR2jMc2lLMVJQKmBGTePOkrW2M7ILrKb3Ux/0DnfhXvZKmMMLyaXAm54G0kZzHn1xHuM71i0dJQJqAHYNAOghT+cNneyAYhm10Gvw8L3bd5/8LNA1mNnbNYIgM+A5MAomEcvxvK1UaeeOgCOxRjh9PHMSNC6WdjRZPQSRWGh5YjjQJstfBfiHrZPw/xoAOMSBzIQW98OXdVi5k3BPcUr+EnUhKHieOQjv3o8RoPUxCrq0sU6Upp1tvHrnCde0GIV+MOa66wJxwxXK5LIR4Nu0GFYVC21/WjjPaxXYNyX12H/7oOOVjL9FhpsK+zVF5yUe8qYsr5XruhpaJG4SQd9OSDk5hKLTV77ZH0/h0wwqrVEVT+755zaaqRzkPdciQ3V2OaErU2/bn3R2drFQYbWJuhapYTNOlvCGtqhwXFKlDy52t54K40A7M0n/fEeLyXtD2A64ioyiGnd98O/GlqAX+QKUijABVSsymMwR/KB+xQvzB3QhikV7ro3jwKQzXNSNKZYl2RMYhi6mE4t+euXsbjwNAKzce+AwP9yylbHD7rUvfOu/6a0+y/lrafR4DUEyxv87MvqyFaWgvDp3V32d+74Rtf7oI1R3+Wpve/SAHl16lVboFgAGyYLje9gHAlmrzuaPmWz6/YDwmjQ==|920 \ No newline at end of file +}//nZ7GXVLVgJnVA/h0ySMtxyS1CunRuCK3juIjmGqBxn9/jSwU3dIO0jhaFtv9lVG1ZspTt2zwCR+qrwa5SUKT5wi2NbmTgt7UIL+P9SGOnJUMHUGfXWmI6Nz/5CQAhHp2GBbouhjOXH82cuwVXGbptZOjLm0muL4heMY/Z6hOImv7bOm7bOT5KnBoiSh3VHy5TBAbnOdv1O44chPk7wPbRZpdHzZYa0iq574MEgk0doy6CeERiPm54Op8iOJI5vlSyQz5L20rPvR0FCHAj1AS7waEslonsm66gbmcQ3Pv4M2avRm8eTifILH1Dj1eHleJ7WiDmemngWha0N0keGRnGattYRH+bGVjv6Brnjfm6i9+FYakCnio4i/UfVw6gtOfLogWqg3M+lp1AiB8Q3EWwSgZaIMCJefDiS2XeoJyq1oPeb5FQHkEmIVGBQnsUmQwEunxx2wLR8oI8LzIg5pZqfhjZtywOfu+YJlW3JzXgls7Vg1eUk90fuaSbOCEJmARHjBLBWRtqH5jM3N5gEyJojY6ADgrngUMMWyPWw9i7Mz6hwvFQ5AdNZRtTtvfG8Ur3AiNv3vFL8WglmDgpQlZ6wsnCf00H45js5Kfsli1QHc76UquJ6x6DFzHKpsqUwrKgNnh1fehgshlUlo59eXEP/iNWUtbtJk+uAPDZyqxAeEkqZxKaHXboyZIHOiNGHgA7gyitccr6QwP12Ec0oMEKthb4GqZ4xGBP8HR2GGfaL2VnKrzM/BlR3MBhs04fkczfMg5oSE+7/u6GFhUkSP1z2S56ihNeTjeqdIHkPwoP3HO3e54YxBX6lrwMzy4u/EWeo3nvxWbiXTB2XqMOV0m2rWLOD7S9CFzku9G1J31ekWD31dTDjsbxi7vs1M79wQbxATteaZry9pUKGdwIfmfSw==|920 \ No newline at end of file diff --git a/Process/反馈处理流程.bpmn b/Process/反馈处理流程.bpmn index 611c384a..6578e556 100644 --- a/Process/反馈处理流程.bpmn +++ b/Process/反馈处理流程.bpmn @@ -4,7 +4,7 @@ 处理用户提交的需求反馈 - + diff --git a/Process/新增任务流程.bpmn b/Process/新增任务流程.bpmn index 58b97147..d457e94f 100644 --- a/Process/新增任务流程.bpmn +++ b/Process/新增任务流程.bpmn @@ -4,7 +4,7 @@ - + @@ -21,7 +21,7 @@ - + Flow_0otbu5x Flow_1bfvbmv diff --git a/Process/结算申请.bpmn b/Process/结算申请.bpmn index 6e8d5abc..bf6c5f43 100644 --- a/Process/结算申请.bpmn +++ b/Process/结算申请.bpmn @@ -4,7 +4,7 @@ - + diff --git a/Process/项目立项流程.bpmn b/Process/项目立项流程.bpmn index 30940309..103fdcbc 100644 --- a/Process/项目立项流程.bpmn +++ b/Process/项目立项流程.bpmn @@ -4,7 +4,7 @@ 用于项目的立项申请审批 - + @@ -14,7 +14,7 @@ - + Flow_0cq5pfu _8c854f9d-40d8-4aed-acb1-6778e09b2e08 diff --git a/Process/预算申请.bpmn b/Process/预算申请.bpmn index 4e81cd5c..c23ac7ea 100644 --- a/Process/预算申请.bpmn +++ b/Process/预算申请.bpmn @@ -4,7 +4,7 @@ - + @@ -14,7 +14,7 @@ - + Flow_1mecf6x Flow_10prhsv diff --git a/ServerCommands/钉钉/Basic创建钉钉待办.json b/ServerCommands/钉钉/Basic创建钉钉待办.json index c47a92c1..4f342dea 100644 --- a/ServerCommands/钉钉/Basic创建钉钉待办.json +++ b/ServerCommands/钉钉/Basic创建钉钉待办.json @@ -40,6 +40,10 @@ { "Name": "PCURL", "DataValidationInfo": {} + }, + { + "Name": "流程任务ID", + "DataValidationInfo": {} } ] } @@ -49,7 +53,7 @@ "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", "ParameterName": "当前用户", "ParameterValue": "%CurrentUser%", - "ID": "332fda17b08943d2a4d91637aaff2c69" + "ID": "d56aeab62d23443d8e533175920d7d0f" }, { "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", @@ -102,6 +106,36 @@ "Priority": "20", "Result": "返回结果" }, + { + "$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon", + "TableName": "钉钉待办储存表", + "UpdateType": "add", + "ShowConfirm": false, + "UpdateBindingValues": [ + { + "BindingInfo": { + "TableName": "钉钉待办储存表", + "ColumnName": "流程任务ID", + "GUID": "6f0a1a3a-5f1c-4d0c-bc94-19e3b1b79372" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=流程任务ID" + } + }, + { + "BindingInfo": { + "TableName": "钉钉待办储存表", + "ColumnName": "钉钉待办ID", + "GUID": "bf657d32-31b7-4e44-adc3-0ab22132aa0a" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=返回结果.Id" + } + } + ] + }, { "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", "ErrorCode": "0", diff --git a/ServerCommands/钉钉/创建任务审批待办.json b/ServerCommands/钉钉/创建任务审批待办.json index ddbffb2e..aebcbd84 100644 --- a/ServerCommands/钉钉/创建任务审批待办.json +++ b/ServerCommands/钉钉/创建任务审批待办.json @@ -50,6 +50,10 @@ "IgnoreBlank": false }, "TestData": "shamus" + }, + { + "Name": "流程任务ID", + "DataValidationInfo": {} } ], "InvokeTriggerTestData": { @@ -130,6 +134,14 @@ "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=\"https://www.yugasoft.cn/clue/任务首页?id=\"&任务ID" } + }, + { + "$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon", + "ParamName": "流程任务ID", + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=流程任务ID" + } } ], "ResultErrorCodeTo": { @@ -149,37 +161,6 @@ "RefreshAfterFinish": true, "CheckDataValidation": true }, - { - "$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon", - "TableName": "任务表", - "ShowConfirm": false, - "RowsToUpdate": 1, - "RowsToUpdateCondition": { - "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", - "ColumnBindingInfo": { - "TableName": "任务表", - "ColumnName": "ID", - "GUID": "5417d087-7f0a-477a-aaf9-512ad09e755a" - }, - "Value": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=任务ID" - } - }, - "UpdateBindingValues": [ - { - "BindingInfo": { - "TableName": "任务表", - "ColumnName": "钉钉待办ID", - "GUID": "bf9d4bbb-46a1-455b-99fc-aa336f67c4c0" - }, - "Value": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=待办ID" - } - } - ] - }, { "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", "ErrorCode": "0", diff --git a/ServerCommands/钉钉/创建反馈审批待办.json b/ServerCommands/钉钉/创建反馈审批待办.json index 1d48c600..ffcf6e5c 100644 --- a/ServerCommands/钉钉/创建反馈审批待办.json +++ b/ServerCommands/钉钉/创建反馈审批待办.json @@ -50,6 +50,10 @@ "IgnoreBlank": false }, "TestData": "shamus" + }, + { + "Name": "流程任务ID", + "DataValidationInfo": {} } ], "InvokeTriggerTestData": { @@ -130,6 +134,14 @@ "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=\"https://www.yugasoft.cn/clue/处理反馈工单?id=\"&反馈ID" } + }, + { + "$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon", + "ParamName": "流程任务ID", + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=流程任务ID" + } } ], "ResultErrorCodeTo": { @@ -149,37 +161,6 @@ "RefreshAfterFinish": true, "CheckDataValidation": true }, - { - "$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon", - "TableName": "需求反馈登记表", - "ShowConfirm": false, - "RowsToUpdate": 1, - "RowsToUpdateCondition": { - "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", - "ColumnBindingInfo": { - "TableName": "需求反馈登记表", - "ColumnName": "ID", - "GUID": "127fc833-9891-4a25-9d6e-87f1bf2aa4f1" - }, - "Value": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=反馈ID" - } - }, - "UpdateBindingValues": [ - { - "BindingInfo": { - "TableName": "需求反馈登记表", - "ColumnName": "钉钉待办ID", - "GUID": "276590f1-855f-4ab8-981a-911769ddd02a" - }, - "Value": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=待办ID" - } - } - ] - }, { "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", "ErrorCode": "0", diff --git a/ServerCommands/钉钉/创建项目审批待办.json b/ServerCommands/钉钉/创建项目审批待办.json index 876f82b2..8a19dfd2 100644 --- a/ServerCommands/钉钉/创建项目审批待办.json +++ b/ServerCommands/钉钉/创建项目审批待办.json @@ -51,6 +51,10 @@ "IgnoreBlank": false }, "TestData": "shamus" + }, + { + "Name": "流程任务ID", + "DataValidationInfo": {} } ], "InvokeTriggerTestData": { @@ -131,6 +135,14 @@ "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=\"https://www.yugasoft.cn/clue/项目审批?id=\"&项目ID" } + }, + { + "$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon", + "ParamName": "流程任务ID", + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=流程任务ID" + } } ], "ResultErrorCodeTo": { @@ -150,37 +162,6 @@ "RefreshAfterFinish": true, "CheckDataValidation": true }, - { - "$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon", - "TableName": "项目表", - "ShowConfirm": false, - "RowsToUpdate": 1, - "RowsToUpdateCondition": { - "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", - "ColumnBindingInfo": { - "TableName": "项目表", - "ColumnName": "ID", - "GUID": "201159ae-566e-4820-9589-a4b897bc1db5" - }, - "Value": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=项目ID" - } - }, - "UpdateBindingValues": [ - { - "BindingInfo": { - "TableName": "项目表", - "ColumnName": "钉钉待办ID", - "GUID": "3570e2b2-0668-435f-b1fb-44ba11a80cc3" - }, - "Value": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=待办ID" - } - } - ] - }, { "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", "ErrorCode": "0", diff --git a/ServerCommands/钉钉/删除钉钉待办.json b/ServerCommands/钉钉/删除钉钉待办.json index cf1077c1..2da20232 100644 --- a/ServerCommands/钉钉/删除钉钉待办.json +++ b/ServerCommands/钉钉/删除钉钉待办.json @@ -22,7 +22,7 @@ }, "Parameters": [ { - "Name": "钉钉待办ID", + "Name": "流程任务ID", "DataValidationInfo": { "IgnoreBlank": false }, @@ -36,12 +36,73 @@ ], "Commands": [ { - "$type": "DingTalkPlugin.DeleteTodoTask, DingTalkPlugin", - "TaskId": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=钉钉待办ID" + "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", + "ParameterName": "待办记录", + "TableValue": { + "TableName": "钉钉待办储存表", + "TableValueType": 1, + "BindingInfos": [ + { + "GUID": "48606df6-0579-434c-85f9-03793574b632", + "BindingInfo": { + "TableName": "钉钉待办储存表", + "ColumnName": "钉钉待办ID", + "GUID": "973c28dc-4eeb-44f4-899f-fe00f976df23" + }, + "ColumnName": "钉钉待办ID" + } + ], + "SqlCondition": { + "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", + "ColumnBindingInfo": { + "TableName": "钉钉待办储存表", + "ColumnName": "流程任务ID", + "GUID": "b6cae1ef-8c33-4eee-84bc-08a06a979269" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=流程任务ID" + } + }, + "NullFormulaValueQueryPolicy": 0, + "TopCount": "1" }, - "Result": "返回结果" + "ID": "0c180a460e7640809c0c103674589b9e" + }, + { + "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", + "ConditionAndCommandPairList": [ + { + "Condition": { + "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", + "param": { + "$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon", + "ParamObject": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=待办记录" + } + }, + "value": "%Null%", + "compareType": 1 + }, + "CommandList": [ + { + "$type": "DingTalkPlugin.DeleteTodoTask, DingTalkPlugin", + "TaskId": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=待办记录.钉钉待办ID" + }, + "Result": "返回结果" + }, + { + "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", + "ErrorCode": "0", + "Message": "待办更新成功" + } + ], + "ID": "912aa7f3-23ca-41b2-bcfb-d3d25f4865eb" + } + ] }, { "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", diff --git a/ServerCommands/钉钉/更新审批待办.json b/ServerCommands/钉钉/更新审批待办.json index 95a6f361..69af358f 100644 --- a/ServerCommands/钉钉/更新审批待办.json +++ b/ServerCommands/钉钉/更新审批待办.json @@ -22,7 +22,7 @@ }, "Parameters": [ { - "Name": "待办ID", + "Name": "流程任务ID", "DataValidationInfo": { "IgnoreBlank": false }, @@ -63,79 +63,135 @@ ], "Commands": [ { - "$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon", - "ServerCommandName": "Basic更新待办", - "Parameters": [ - { - "$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon", - "ParamName": "待办ID", + "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", + "ParameterName": "待办记录", + "TableValue": { + "TableName": "钉钉待办储存表", + "TableValueType": 1, + "BindingInfos": [ + { + "GUID": "922f4ec1-4bea-4d7c-a48a-06cf5eb7d606", + "BindingInfo": { + "TableName": "钉钉待办储存表", + "ColumnName": "钉钉待办ID", + "GUID": "95f0f94e-896e-4d09-b6f6-1b8f9a555c1c" + }, + "ColumnName": "钉钉待办ID" + } + ], + "SqlCondition": { + "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", + "ColumnBindingInfo": { + "TableName": "钉钉待办储存表", + "ColumnName": "流程任务ID", + "GUID": "0aad1d65-87e2-4154-b357-eb78bbd877ea" + }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=待办ID" + "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": "=描述" - } - }, - { - "$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": "=是否完成" - } - } - ], - "ResultErrorCodeTo": { - "SerializeProperty": "code" + "NullFormulaValueQueryPolicy": 0, + "TopCount": "1" }, - "ResultMessageTo": { - "SerializeProperty": "msg" - }, - "RefreshAfterFinish": true, - "CheckDataValidation": true + "ID": "22c9b2c206a04a9da182fd20729d12cd" }, { - "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", - "ErrorCode": "0", - "Message": "待办更新成功" + "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", + "ConditionAndCommandPairList": [ + { + "Condition": { + "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", + "param": { + "$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon", + "ParamObject": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=待办记录" + } + }, + "value": "%Null%", + "compareType": 1 + }, + "CommandList": [ + { + "$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon", + "ServerCommandName": "Basic更新待办", + "Parameters": [ + { + "$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": "=描述" + } + }, + { + "$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": "=是否完成" + } + } + ], + "ResultErrorCodeTo": { + "SerializeProperty": "code" + }, + "ResultMessageTo": { + "SerializeProperty": "msg" + }, + "RefreshAfterFinish": true, + "CheckDataValidation": true + }, + { + "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", + "ErrorCode": "0", + "Message": "待办更新成功" + } + ], + "ID": "18f08a0c-d5f2-4ad7-aecb-b71905c5c48c" + } + ] } ] } \ No newline at end of file diff --git a/Tables/流程表文件夹/钉钉待办储存表.json b/Tables/流程表文件夹/钉钉待办储存表.json new file mode 100644 index 00000000..c32302c5 --- /dev/null +++ b/Tables/流程表文件夹/钉钉待办储存表.json @@ -0,0 +1,60 @@ +{ + "Name": "钉钉待办储存表", + "Columns": [ + { + "$type": "Forguncy.SaveLoad.BindingColumnSaveData, ServerDesignerCommon", + "Required": true, + "Unique": true, + "AutoIncrement": true, + "DatabaseColumnType": "bigint", + "MaxLength": -1, + "Name": "ID", + "ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e" + }, + { + "$type": "Forguncy.SaveLoad.BindingColumnSaveData, ServerDesignerCommon", + "DatabaseColumnType": "nvarchar", + "MaxLength": -1, + "Name": "流程任务ID", + "ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e" + }, + { + "$type": "Forguncy.SaveLoad.BindingColumnSaveData, ServerDesignerCommon", + "DatabaseColumnType": "nvarchar", + "MaxLength": -1, + "Name": "钉钉待办ID", + "ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e" + }, + { + "$type": "Forguncy.SaveLoad.UserExtraBingingColumnSaveData, ServerDesignerCommon", + "ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Name": "FGC_Creator" + }, + { + "$type": "Forguncy.SaveLoad.DateExtraBingingColumnSaveData, ServerDesignerCommon", + "ColumnType": "System.DateTime, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Name": "FGC_CreateDate" + }, + { + "$type": "Forguncy.SaveLoad.UserExtraBingingColumnSaveData, ServerDesignerCommon", + "ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Name": "FGC_LastModifier" + }, + { + "$type": "Forguncy.SaveLoad.DateExtraBingingColumnSaveData, ServerDesignerCommon", + "ColumnType": "System.DateTime, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Name": "FGC_LastModifyDate" + } + ], + "ExternalDatabaseInfo": { + "DataBaseType": "6db454c0-531c-4395-9122-921a18942902", + "AllowModifySchema": true, + "ConnectionId": "业务表", + "SourceTableName": "钉钉待办储存表", + "SourceTableSchema": "dbo" + }, + "PrimaryKey": [ + "ID" + ], + "Indexes": [] +} \ No newline at end of file