{"Message":"更新钉钉待办处置机制","MessageType":2,"Modules":[{"State":1,"Type":1,"Name":"PCPage/开发测试"},{"State":1,"Type":28,"Name":"ProcessItem/项目立项流程"},{"State":1,"Type":28,"Name":"ProcessItem/反馈处理流程"},{"State":1,"Type":28,"Name":"ProcessItem/结算申请"},{"State":1,"Type":28,"Name":"ProcessItem/新增任务流程"},{"State":1,"Type":28,"Name":"ProcessItem/预算申请"},{"State":1,"Type":15,"Name":"ServerCommand/创建项目审批待办"},{"State":1,"Type":15,"Name":"ServerCommand/删除钉钉待办"},{"State":1,"Type":15,"Name":"ServerCommand/更新审批待办"},{"State":1,"Type":27,"Name":"ServerCommandPrivate/Basic创建钉钉待办"},{"State":1,"Type":15,"Name":"ServerCommand/创建任务审批待办"},{"State":1,"Type":15,"Name":"ServerCommand/创建反馈审批待办"},{"State":3,"Type":7,"Name":"Table/钉钉待办储存表"}],"Version":"v1"}

This commit is contained in:
cuckooent
2024-09-19 19:22:19 +08:00
parent 7bd2d5268b
commit 319ebef47f
14 changed files with 346 additions and 308 deletions

View File

@@ -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",

View File

@@ -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",

View File

@@ -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",

View File

@@ -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",

View File

@@ -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",

View File

@@ -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"
}
]
}
]
}