321 lines
12 KiB
JSON
321 lines
12 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": "278c5485-98b8-4ce8-a035-9d8ad44f7577",
|
|
"BindingInfo": {
|
|
"TableName": "项目表",
|
|
"ColumnName": "ID",
|
|
"GUID": "f206c3ad-8efa-40ef-a1aa-a2f003c8ee92"
|
|
},
|
|
"ColumnName": "ID"
|
|
},
|
|
{
|
|
"GUID": "56f99e4a-a9cd-4dfb-981c-067a919f05a5",
|
|
"BindingInfo": {
|
|
"TableName": "项目表",
|
|
"ColumnName": "项目经理",
|
|
"GUID": "ecbadf6c-bb28-47df-90ac-dc3674c7ec82"
|
|
},
|
|
"ColumnName": "项目经理"
|
|
},
|
|
{
|
|
"GUID": "bf199c43-5d91-4e4b-bb3a-5da54886906e",
|
|
"BindingInfo": {
|
|
"TableName": "项目表",
|
|
"ColumnName": "项目名称",
|
|
"GUID": "794b61c2-7144-46cc-982d-6743dab9380a"
|
|
},
|
|
"ColumnName": "项目名称"
|
|
}
|
|
],
|
|
"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": "cd204deee5704996bff4fca5b6e3ce29",
|
|
"BreakpointIdentity": "157d2bda-68dd-4fcb-9d6d-fd9b3bf643f0"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
|
"ParameterName": "上周第一天",
|
|
"ParameterValue": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=TODAY()-WEEKDAY(TODAY(),3)-7"
|
|
},
|
|
"ID": "2caa1bb036084273b67fff164d5ff420",
|
|
"BreakpointIdentity": "eac48097-aa12-4a95-9221-bb32d4f7a083"
|
|
},
|
|
{
|
|
"$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": "=上周第一天"
|
|
}
|
|
}
|
|
],
|
|
"ResultErrorCodeTo": {
|
|
"SerializeProperty": "code"
|
|
},
|
|
"ResultMessageTo": {
|
|
"SerializeProperty": "msg"
|
|
},
|
|
"ReturnPropertiesTo": [
|
|
{
|
|
"ResultPropertyName": "生成日报",
|
|
"ResultTo": {
|
|
"SerializeProperty": "生成日报"
|
|
}
|
|
}
|
|
],
|
|
"RefreshAfterFinish": true,
|
|
"CheckDataValidation": true,
|
|
"BreakpointIdentity": "1cfede2f-912d-48a9-9f20-e39d6ebfecdd"
|
|
},
|
|
{
|
|
"$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": "=code"
|
|
}
|
|
},
|
|
"value": "0"
|
|
},
|
|
"CommandList": [
|
|
{
|
|
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
|
|
"TableName": "汇报记录表",
|
|
"UpdateType": "addOrEdit",
|
|
"ShowConfirm": false,
|
|
"RowsToUpdate": 1,
|
|
"RowsToUpdateCondition": {
|
|
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
|
|
"SubConditions": [
|
|
{
|
|
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
|
"ColumnBindingInfo": {
|
|
"TableName": "汇报记录表",
|
|
"ColumnName": "汇报对象ID",
|
|
"GUID": "652c9102-3f85-4755-8383-ae9615961f1a"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=Item.ID"
|
|
}
|
|
},
|
|
{
|
|
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
|
"ColumnBindingInfo": {
|
|
"TableName": "汇报记录表",
|
|
"ColumnName": "开始日期",
|
|
"GUID": "d8272eb5-f5d3-4b70-a8dd-05e8b9061051"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=上周第一天"
|
|
}
|
|
},
|
|
{
|
|
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
|
"ColumnBindingInfo": {
|
|
"TableName": "汇报记录表",
|
|
"ColumnName": "汇报对象",
|
|
"GUID": "b54634d1-8481-4090-84e4-bc1960226fda"
|
|
},
|
|
"Value": "项目"
|
|
},
|
|
{
|
|
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
|
"ColumnBindingInfo": {
|
|
"TableName": "汇报记录表",
|
|
"ColumnName": "汇报类型",
|
|
"GUID": "0778c6f5-9d4e-4fe3-95c7-ce6339301926"
|
|
},
|
|
"Value": "周报"
|
|
}
|
|
]
|
|
},
|
|
"UpdateBindingValues": [
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "汇报记录表",
|
|
"ColumnName": "汇报对象",
|
|
"GUID": "4bc5e973-3f63-4977-bb5e-d786b40d5188"
|
|
},
|
|
"Value": "项目"
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "汇报记录表",
|
|
"ColumnName": "汇报类型",
|
|
"GUID": "832b247b-216a-4529-81ed-9bd56df5dfa9"
|
|
},
|
|
"Value": "周报"
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "汇报记录表",
|
|
"ColumnName": "汇报对象ID",
|
|
"GUID": "b8f6d697-ecb7-42b1-acdf-bc94d99af6c0"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=Item.ID"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "汇报记录表",
|
|
"ColumnName": "开始日期",
|
|
"GUID": "feefc303-74d9-4c24-a3bc-3a47ef8cc965"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=上周第一天"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "汇报记录表",
|
|
"ColumnName": "汇报人",
|
|
"GUID": "4d8a8c32-cde8-4400-b3c6-87f9d0394ef3"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=Item.项目经理"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "汇报记录表",
|
|
"ColumnName": "标题",
|
|
"GUID": "0f2160c0-9a85-4795-be2e-960df792d004"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=Item.项目名称&\"的项目周报\""
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "汇报记录表",
|
|
"ColumnName": "内容",
|
|
"GUID": "fd0c144d-4905-4d0f-89db-37b65d840668"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=生成日报"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "汇报记录表",
|
|
"ColumnName": "纯文本内容",
|
|
"GUID": "a97210a9-69bb-4b7c-83df-8c0e34ee5cca"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=生成日报"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "汇报记录表",
|
|
"ColumnName": "总工时",
|
|
"GUID": "6e10ec2d-fa1f-47de-bfdb-5dc85722ae31"
|
|
},
|
|
"Value": "0"
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "汇报记录表",
|
|
"ColumnName": "状态",
|
|
"GUID": "3a6f0013-c9e0-41fd-aa0a-de7192e347d6"
|
|
},
|
|
"Value": "1"
|
|
}
|
|
],
|
|
"BreakpointIdentity": "142c2fcd-7d6a-42b7-8211-6bf29d15b5cd"
|
|
}
|
|
],
|
|
"ID": "5193f7d5-5b45-43fd-8e6d-5d0e3bba7ef0"
|
|
}
|
|
],
|
|
"BreakpointIdentity": "6c4c49ed-716f-4eea-aa95-21e0869c6586"
|
|
}
|
|
],
|
|
"BreakpointIdentity": "535518a1-b9b7-4753-bfc6-636e32777dd7"
|
|
}
|
|
],
|
|
"ReturnProperties": []
|
|
} |