{"Message":"更新待办逻辑","MessageType":2,"Modules":[{"State":1,"Type":40,"Name":"Plugin"},{"State":1,"Type":15,"Name":"ServerCommand/更新审批待办"},{"State":1,"Type":27,"Name":"ServerCommandPrivate/Basic更新待办"}],"Version":"v1"}

This commit is contained in:
cuckooent
2024-10-30 09:04:27 +08:00
parent beec2b391f
commit 83af9cdaca
4 changed files with 86 additions and 102 deletions

View File

@@ -47,42 +47,88 @@
],
"Commands": [
{
"$type": "DingTalkPlugin.UpdateTodoTask, DingTalkPlugin",
"TaskId": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=待办ID"
"$type": "Forguncy.Model.CatchExceptionCommand, ServerDesignerCommon",
"TryCommandPart": {
"CommandList": [
{
"$type": "DingTalkPlugin.UpdateTodoTask, DingTalkPlugin",
"TaskId": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=待办ID"
},
"Subject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=标题"
},
"Description": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=备注"
},
"DueTime": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=截止时间"
},
"ExecutorIds": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=执行者"
},
"ParticipantIds": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=参与者"
},
"Done": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=是否完成"
},
"Override": "0",
"Result": "返回结果"
},
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": "创建待办成功"
}
]
},
"Subject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=标题"
},
"Description": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=备注"
},
"DueTime": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=截止时间"
},
"ExecutorIds": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=执行者"
},
"ParticipantIds": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=参与者"
},
"Done": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=是否完成"
},
"Override": "0",
"Result": "返回结果"
},
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": "创建待办成功"
"CatchCommandPart": {
"CommandList": [
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "日志表",
"UpdateType": "add",
"ShowConfirm": false,
"UpdateBindingValues": [
{
"BindingInfo": {
"TableName": "日志表",
"ColumnName": "标题",
"GUID": "9e8ad30e-a757-4531-9695-50503fea8917"
},
"Value": "更新钉钉待办"
},
{
"BindingInfo": {
"TableName": "日志表",
"ColumnName": "内容",
"GUID": "64bbe57b-735f-434c-b6dd-e2c85a8ba922"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ExceptionMessage"
}
},
{
"BindingInfo": {
"TableName": "日志表",
"ColumnName": "类型",
"GUID": "3d5fc62a-4c0e-45b1-8032-997d527eccba"
},
"Value": "错误"
}
]
}
]
}
}
]
}

View File

@@ -14,7 +14,7 @@
{
"$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionBinding, Forguncy.RbacPermission.Core",
"roleNames": [
"FGC_LoginUser"
"FGC_Anonymous"
]
}
]
@@ -189,7 +189,7 @@
"Message": "待办更新成功"
}
],
"ID": "18f08a0c-d5f2-4ad7-aecb-b71905c5c48c"
"ID": "a8103d39-1b9a-4db2-8e18-5b9ef48ebabf"
}
]
}