Files
clue/SchedulerTasks/定时任务/每周生成周报.json

116 lines
3.7 KiB
JSON

{
"Name": "每周生成周报",
"Enabled": true,
"Triggers": [
{
"$type": "Forguncy.SaveLoad.WeeklyScheduleTriggerSaveData, ServerDesignerCommon",
"DaysOfWeek": [
1
],
"StartDateTime": 45616.416666666664,
"ScheduleRunInDebugServer": false
}
],
"Commands": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "项目列表",
"TableValue": {
"TableName": "项目表",
"BindingInfos": [
{
"GUID": "7a922b8f-51d7-4242-a337-b30dcd1b621f",
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "ID",
"GUID": "f206c3ad-8efa-40ef-a1aa-a2f003c8ee92"
},
"ColumnName": "ID"
}
],
"SqlCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "项目表",
"ColumnName": "项目状态",
"GUID": "4deb203f-fef2-47d1-82e3-30a8af65d643"
},
"Value": "2"
},
"OrderBySqlCondition": {
"OrderByColumns": [
{
"ColumnBindingInfo": {
"TableName": "项目表",
"ColumnName": "FGC_LastModifyDate",
"GUID": "d93a6df8-d657-4f3a-b9f5-88e4819ee4b5"
},
"Order": 1
}
]
}
},
"ID": "9c4ff7b9e2344049a21ed099f99129cc",
"BreakpointIdentity": "157d2bda-68dd-4fcb-9d6d-fd9b3bf643f0"
},
{
"$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": "AI生成项目汇报",
"Parameters": [
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "项目ID",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Item.ID"
}
},
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "汇报类型",
"Value": "周报"
},
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "日期",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=TODAY()-WEEKDAY(TODAY(),3)-7"
}
}
],
"ResultErrorCodeTo": {
"SerializeProperty": "code"
},
"ResultMessageTo": {
"SerializeProperty": "msg"
},
"ReturnPropertiesTo": [
{
"ResultPropertyName": "生成日报",
"ResultTo": {
"SerializeProperty": "生成日报"
}
}
],
"RefreshAfterFinish": true,
"CheckDataValidation": true,
"BreakpointIdentity": "1cfede2f-912d-48a9-9f20-e39d6ebfecdd"
}
],
"BreakpointIdentity": "535518a1-b9b7-4753-bfc6-636e32777dd7"
}
],
"ReturnProperties": []
}