{"Message":"优化报工逻辑","MessageType":2,"Modules":[{"State":1,"Type":1,"Name":"PCPage/新增报工"},{"State":1,"Type":1,"Name":"PCPage/项目成员详情"},{"State":1,"Type":15,"Name":"ServerCommand/AI对话"},{"State":1,"Type":40,"Name":"Plugin"},{"State":1,"Type":27,"Name":"ServerCommandPrivate/订阅钉钉回调事件"},{"State":1,"Type":1,"Name":"PCPage/发起钉钉项目会议"}],"Version":"v1"}
This commit is contained in:
@@ -13,98 +13,324 @@
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "DingTalkPlugin.DingtalkStream, DingTalkPlugin",
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.CatchExceptionCommand, ServerDesignerCommon",
|
||||
"TryCommandPart": {
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "GETPOST.JSON类.JSON序列化, GETPOST",
|
||||
"BianmaMsg": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=result"
|
||||
"CommandList": {
|
||||
"$type": "GrapeCity.Forguncy.Commands.CustomCommandObject, Forguncy.Commands",
|
||||
"Commands": [
|
||||
{
|
||||
"$type": "Forguncy.Model.CatchExceptionCommand, ServerDesignerCommon",
|
||||
"TryCommandPart": {
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "JsonUtilityCommand.JsonSerializeCommand, JsonUtilityCommand",
|
||||
"SourceObject": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=事件体"
|
||||
},
|
||||
"ToParameter": "jsonstring",
|
||||
"Disabled": true
|
||||
},
|
||||
"FanHuiMsg": "json_result"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
|
||||
"TableName": "日志表",
|
||||
"UpdateType": "add",
|
||||
"ShowConfirm": false,
|
||||
"UpdateBindingValues": [
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "日志表",
|
||||
"ColumnName": "标题",
|
||||
"GUID": "9c35ba08-54d6-4d3b-ac42-a7f1e5ca4497"
|
||||
{
|
||||
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
|
||||
"TableName": "日志表",
|
||||
"UpdateType": "add",
|
||||
"ShowConfirm": false,
|
||||
"UpdateBindingValues": [
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "日志表",
|
||||
"ColumnName": "标题",
|
||||
"GUID": "b6be6f1d-2125-45b1-90d8-81a2a3bc4f9c"
|
||||
},
|
||||
"Value": "钉钉回调事件"
|
||||
},
|
||||
"Value": "钉钉回调事件"
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "日志表",
|
||||
"ColumnName": "内容",
|
||||
"GUID": "cc6f1e2b-134f-41f9-94e0-94929e1a38e8"
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "日志表",
|
||||
"ColumnName": "内容",
|
||||
"GUID": "1c9b0efb-e26d-4ccf-8100-a926c9a1cb08"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=事件体"
|
||||
}
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=json_result"
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "日志表",
|
||||
"ColumnName": "类型",
|
||||
"GUID": "39d7c9da-07d9-4b66-bf39-4928ef7bdad9"
|
||||
},
|
||||
"Value": "Info"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "日志表",
|
||||
"ColumnName": "类型",
|
||||
"GUID": "6474bf86-79e7-4f6a-9588-f7fffa665451"
|
||||
},
|
||||
"Value": "Info"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"CatchCommandPart": {
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
|
||||
"TableName": "日志表",
|
||||
"UpdateType": "add",
|
||||
"ShowConfirm": false,
|
||||
"UpdateBindingValues": [
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "日志表",
|
||||
"ColumnName": "标题",
|
||||
"GUID": "4b257287-6c90-4f8b-99cf-d6b37fd02eb9"
|
||||
},
|
||||
"Value": "订阅钉钉回调子命令"
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "日志表",
|
||||
"ColumnName": "内容",
|
||||
"GUID": "335f0b1e-6505-46c5-a651-703229369a66"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=ExceptionMessage"
|
||||
]
|
||||
},
|
||||
{
|
||||
"$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": "meeting_status_change"
|
||||
},
|
||||
"CommandList": [
|
||||
{
|
||||
"$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": "=事件体.changeScene"
|
||||
}
|
||||
},
|
||||
"value": "conference_created"
|
||||
},
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "会议开始时间",
|
||||
"ParameterValue": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=(事件体.openConfModel.startTime/1000/60/60/24)+DATE(1970,1,1)"
|
||||
},
|
||||
"ID": "67a6eacbe87440258255fdae83fc3844"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
|
||||
"TableName": "会议记录表",
|
||||
"ShowConfirm": false,
|
||||
"RowsToUpdate": 1,
|
||||
"RowsToUpdateCondition": {
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "会议记录表",
|
||||
"ColumnName": "钉钉会议ID",
|
||||
"GUID": "8bad996d-33a8-4d83-9871-eb5fc4bc5d0d"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=事件体.openConfModel.conferenceId"
|
||||
}
|
||||
},
|
||||
"UpdateBindingValues": [
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "会议记录表",
|
||||
"ColumnName": "会议业务类型",
|
||||
"GUID": "cb2afa4c-d30d-44dc-acc7-8c6abcf7f755"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=事件体.openConfModel.bizType"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "会议记录表",
|
||||
"ColumnName": "会议开始时间",
|
||||
"GUID": "93cd84fe-01a3-489d-a8a5-ee031662c735"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=会议开始时间"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "会议记录表",
|
||||
"ColumnName": "会议持续时间",
|
||||
"GUID": "2b73f3ad-1641-4205-98ce-e94a6cbd2df9"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=事件体.openConfModel.confDuration"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "会议记录表",
|
||||
"ColumnName": "会议状态",
|
||||
"GUID": "650e211a-47d5-4b6f-90c0-f6873fc4a2f2"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=事件体.openConfModel.status"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"Comments": "会议创建事件",
|
||||
"ID": "f981a0a3-2650-4d2c-bb20-3beceb2d9e6c"
|
||||
},
|
||||
{
|
||||
"Condition": {
|
||||
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
|
||||
"param": {
|
||||
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
|
||||
"ParamObject": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=事件体.changeScene"
|
||||
}
|
||||
},
|
||||
"value": "conference_closed"
|
||||
},
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "会议结束时间",
|
||||
"ParameterValue": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=(事件体.openConfModel.startTime/1000/60/60/24)+DATE(1970,1,1)"
|
||||
},
|
||||
"ID": "722da488cdd348e9abe70615143cee68"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
|
||||
"TableName": "会议记录表",
|
||||
"ShowConfirm": false,
|
||||
"RowsToUpdate": 1,
|
||||
"RowsToUpdateCondition": {
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "会议记录表",
|
||||
"ColumnName": "钉钉会议ID",
|
||||
"GUID": "8bad996d-33a8-4d83-9871-eb5fc4bc5d0d"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=事件体.openConfModel.conferenceId"
|
||||
}
|
||||
},
|
||||
"UpdateBindingValues": [
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "会议记录表",
|
||||
"ColumnName": "会议结束时间",
|
||||
"GUID": "51660e50-7bfc-4e48-ad1b-904b32075cc4"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=会议结束时间"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "会议记录表",
|
||||
"ColumnName": "会议持续时间",
|
||||
"GUID": "f37e42e7-b744-414b-851f-78e95df8e518"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=事件体.openConfModel.confDuration"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "会议记录表",
|
||||
"ColumnName": "会议状态",
|
||||
"GUID": "54c167de-8b3f-49b4-9f09-a1af7c5af723"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=事件体.openConfModel.status"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"ID": "4a3dbf32-ff5b-41ff-9c9b-a62e6b7050d0"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"Comments": "会议状态变更",
|
||||
"ID": "a4967d4b-4c3f-4069-93d6-38d6562a74d1"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "日志表",
|
||||
"ColumnName": "类型",
|
||||
"GUID": "44a2d69d-82af-41fd-8881-b578b2c600a3"
|
||||
],
|
||||
"Disabled": true
|
||||
},
|
||||
{
|
||||
"$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": "e8a772da-4305-4dbc-bc32-429867fddbfd"
|
||||
},
|
||||
"Value": "钉钉回调处理异常"
|
||||
},
|
||||
"Value": "Error"
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "日志表",
|
||||
"ColumnName": "内容",
|
||||
"GUID": "76aff35f-15ae-4591-9756-53460b7325cd"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=ExceptionCode"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "日志表",
|
||||
"ColumnName": "类型",
|
||||
"GUID": "729f0ffa-bd9c-4252-ac88-239ecc5b864f"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=ExceptionMessage"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=ExceptionCode"
|
||||
},
|
||||
"Message": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=ExceptionMessage"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"ParamProperties": {
|
||||
"eventUnifiedAppId": "统一应用身份Id",
|
||||
"eventCorpId": "事件所属的corpId",
|
||||
"eventType": "事件类型",
|
||||
"eventId": "事件的唯一Id",
|
||||
"eventBornTime": "事件生成时间",
|
||||
"data": "事件体"
|
||||
}
|
||||
],
|
||||
"ResultTo": "result"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -120,7 +346,7 @@
|
||||
"BindingInfo": {
|
||||
"TableName": "日志表",
|
||||
"ColumnName": "标题",
|
||||
"GUID": "e7e0a386-6011-4cec-80e4-99fb58e62835"
|
||||
"GUID": "e6b11501-8180-4ed2-a935-b44a2108ebbc"
|
||||
},
|
||||
"Value": "订阅钉钉回调事件注册"
|
||||
},
|
||||
@@ -128,7 +354,7 @@
|
||||
"BindingInfo": {
|
||||
"TableName": "日志表",
|
||||
"ColumnName": "内容",
|
||||
"GUID": "bce32959-8f8a-4a42-96b4-8a858cc50616"
|
||||
"GUID": "816e9dbd-58bb-4aff-858a-9ff9968a4b0b"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
@@ -139,7 +365,7 @@
|
||||
"BindingInfo": {
|
||||
"TableName": "日志表",
|
||||
"ColumnName": "类型",
|
||||
"GUID": "6b009867-868c-49a5-a1f9-703e9286b9d3"
|
||||
"GUID": "7f1b826e-2cf0-45aa-b88d-5519244f8d37"
|
||||
},
|
||||
"Value": "Error"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user