{"Message":"1","MessageType":2,"Modules":[{"State":1,"Type":27,"Name":"ServerCommandPrivate/钉钉事件处理"},{"State":3,"Type":16,"Name":"TaskScheduler/定时更新会议信息"},{"State":3,"Type":27,"Name":"ServerCommandPrivate/更新钉钉会议信息"}],"Version":"v1"}

This commit is contained in:
cuckooent
2024-11-29 19:06:53 +08:00
parent b0f9fa5b5c
commit 1214027435
4 changed files with 703 additions and 55 deletions

View File

@@ -0,0 +1,93 @@
{
"Name": "定时更新会议信息",
"Enabled": true,
"Triggers": [
{
"$type": "Forguncy.SaveLoad.ScheduleTriggerSaveData, ServerDesignerCommon",
"StartDateTime": 45625.0,
"ScheduleRunInDebugServer": false
}
],
"Commands": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "未结束会议",
"TableValue": {
"TableName": "会议记录表",
"BindingInfos": [
{
"GUID": "fc384ba2-bbcf-4e47-a8ff-1a36be53552c",
"BindingInfo": {
"TableName": "会议记录表",
"ColumnName": "钉钉会议ID",
"GUID": "59b994f1-1b15-4606-940d-d9c222f34468"
},
"ColumnName": "钉钉会议ID"
}
],
"SqlCondition": {
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
"SubConditions": [
{
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "会议记录表",
"ColumnName": "会议结束时间",
"GUID": "e4eb9b01-31a5-41e1-a760-1a80bef3076a"
},
"Value": "%Null%"
},
{
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"CompareType": 5,
"ColumnBindingInfo": {
"TableName": "会议记录表",
"ColumnName": "会议开始时间",
"GUID": "117bec0b-6642-4a66-ae7e-5fab726a6023"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=NOW()-(1/24)"
}
}
]
}
},
"ID": "b877c1de4b2742d6bd7a892c8fb96781",
"Comments": "寻找已经开始1小时且未结束的",
"BreakpointIdentity": "c0a2f5d0-83ba-4c88-a177-4c872d68ff66"
},
{
"$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": "更新钉钉会议信息",
"Parameters": [
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "钉钉会议ID",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Item.钉钉会议ID"
}
}
],
"RefreshAfterFinish": true,
"CheckDataValidation": true,
"BreakpointIdentity": "4280c79c-e600-4e6c-a929-d3f09e348339"
}
],
"BreakpointIdentity": "c046347a-045c-4464-9114-ffbb79720235"
}
],
"ReturnProperties": []
}