{"Message":"创建根据汇报模板生成内容服务端命令","MessageType":2,"Modules":[{"State":1,"Type":40,"Name":"Plugin"},{"State":1,"Type":1,"Name":"PCPage/模板详情"},{"State":1,"Type":15,"Name":"ServerCommand/根据汇报模板生成内容"}],"Version":"v1"}

This commit is contained in:
TYFEIKELE\tyfeikele
2024-06-12 16:55:54 +08:00
parent 6af7fbe54c
commit 26847530bf
5 changed files with 352 additions and 406 deletions

View File

@@ -1566,41 +1566,7 @@
}, },
{ {
"ModuleName": "Plugin", "ModuleName": "Plugin",
"State": 1, "ModuleType": 40
"LockedBy": {
"UserName": "TYFEIKELE\\tyfeikele",
"Email": "example@example.com"
},
"LockDateTime": "2024-06-12T16:55:31.0979245+08:00",
"ModuleType": 40,
"ToRemoveFiles": [
"Plugin\\Echarts图表-10_0_3_0.zip",
"Plugin\\Editormd-6_0_102_0.zip",
"Plugin\\Forguncy.CustomMenu.zip",
"Plugin\\Forguncy.PassListviewDataCommand.zip",
"Plugin\\JSON 序列化和反序列化-10_0_2_0.zip",
"Plugin\\JSON数据源-10_0_2_0.zip",
"Plugin\\LottiePlayer.zip",
"Plugin\\Notiflix-9_0_103_0.zip",
"Plugin\\OPENAIFORGUNCY.zip",
"Plugin\\PC组件包-格友工作室定制版-10_0_2_0.zip",
"Plugin\\SqlServerWrapper.zip",
"Plugin\\Tiny富文本编辑器-10_0_2_0.zip",
"Plugin\\xTools快速开发工具包-9_0_4_0(1).zip",
"Plugin\\加载动画-10_0_2_0.zip",
"Plugin\\增强关闭页面-9_0_6.zip",
"Plugin\\复制到剪贴板-7_0_3_0.zip",
"Plugin\\客户端缓存操作工具库-8_0_0_0.zip",
"Plugin\\富文本编辑器-10_0_2_0.zip",
"Plugin\\对象与集合操作工具-8_0_0_0.zip",
"Plugin\\异步运行命令-9_0_103_0.zip",
"Plugin\\支持预览的附件上传-10_0_2_0.zip",
"Plugin\\甘特图-10_0_2_0.zip",
"Plugin\\用户管理命令 V2-10_0_2_0.zip",
"Plugin\\表格报表-10_0_3_0.zip",
"Plugin\\设置当前行命令-10_0_2_0.zip",
"Plugin\\设置焦点命令-10_0_2_0.zip"
]
}, },
{ {
"ModuleName": "PublishSetting", "ModuleName": "PublishSetting",
@@ -1648,29 +1614,10 @@
}, },
{ {
"ModuleName": "PCPage/模板详情", "ModuleName": "PCPage/模板详情",
"State": 1, "ModuleType": 1
"LockedBy": {
"UserName": "TYFEIKELE\\tyfeikele",
"Email": "example@example.com"
},
"LockDateTime": "2024-06-12T15:57:19.726537+08:00",
"ModuleType": 1,
"ToRemoveFiles": [
"Pages\\汇报\\汇报模板\\模板详情.json",
"Pages\\汇报\\汇报模板\\模板详情.rd"
]
}, },
{ {
"ModuleName": "ServerCommand/根据汇报模板生成内容", "ModuleName": "ServerCommand/根据汇报模板生成内容",
"State": 1, "ModuleType": 15
"LockedBy": {
"UserName": "TYFEIKELE\\tyfeikele",
"Email": "example@example.com"
},
"LockDateTime": "2024-06-12T15:42:08.3283489+08:00",
"ModuleType": 15,
"ToRemoveFiles": [
"ServerCommands\\汇报\\根据汇报模板生成内容.json"
]
} }
] ]

View File

@@ -22,22 +22,12 @@
"DesignLengthInPixel": 32.0 "DesignLengthInPixel": 32.0
} }
}, },
"4": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 38.0
}
},
"5": { "5": {
"GridRowColumnDefinition": { "GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0 "DesignLengthInPixel": 32.0
} }
}, },
"7": { "6": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"8": {
"GridRowColumnDefinition": { "GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0, "DesignLengthInPixel": 32.0,
"IsHidden": true "IsHidden": true
@@ -45,9 +35,9 @@
} }
}, },
"InLogicalVisibleIndexes": [ "InLogicalVisibleIndexes": [
8 6
], ],
"Count": 9, "Count": 7,
"DefaultSize": 32.0 "DefaultSize": 32.0
}, },
"Cols": { "Cols": {
@@ -157,10 +147,8 @@
"DefaultSize": 32.0 "DefaultSize": 32.0
}, },
"Values": { "Values": {
"4,1": "生成", "4,21": "确认内容",
"6,16": "重新生成", "6,12": "%CurrentUser.FullName%"
"6,21": "确认内容",
"8,12": "%CurrentUser.FullName%"
}, },
"AttachInfos": { "AttachInfos": {
"1,1": { "1,1": {
@@ -170,10 +158,11 @@
"GUID": "5a59d792-c4be-4fe1-8806-e66f7e3ac148" "GUID": "5a59d792-c4be-4fe1-8806-e66f7e3ac148"
}, },
"CellType": { "CellType": {
"$type": "TinyRichEditor.TinyRichEditorCellType, TinyRichEditor", "$type": "ElementUI.InputCellType, ElementUI",
"CommandList": [],
"UIPermissions": [ "UIPermissions": [
{ {
"Scope": 4, "Scope": 2,
"AllowRoles": [ "AllowRoles": [
"FGC_Anonymous" "FGC_Anonymous"
] ]
@@ -183,233 +172,19 @@
"AllowRoles": [ "AllowRoles": [
"FGC_Anonymous" "FGC_Anonymous"
] ]
}
]
}
},
"4,1": {
"CellType": {
"$type": "Forguncy.ButtonCellType, ServerDesignerCommon",
"CommandList": [
{
"$type": "Notiflix_Forguncy.Loading_Command, Notiflix_Forguncy",
"Title": "加载中"
}, },
{ {
"$type": "Forguncy.Model.SetCellPropertyCommand, ServerDesignerCommon", "Scope": 4,
"PropertyItemsList": [ "AllowRoles": [
{ "FGC_Anonymous"
"TargetCells": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=模板详情!B2,模板详情!B5"
},
"PropertyType": 0,
"Value": false
}
]
},
{
"$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon",
"ServerCommandName": "AI内容转报工数据",
"Parameters": [
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "汇报人",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=模板详情!汇报人"
}
},
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "汇报日期",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=模板详情!日期"
}
},
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "汇报内容",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=模板详情!B2"
}
}
],
"ResultErrorCodeTo": {
"SerializeProperty": "code"
},
"ResultMessageTo": {
"SerializeProperty": "msg"
},
"ReturnPropertiesTo": [
{
"ResultPropertyName": "日报JSON",
"ResultTo": {
"SerializeProperty": "日报JSON"
}
}
],
"RefreshAfterFinish": true,
"CheckDataValidation": true
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon",
"cellLocations": [
{
"SerializeProperty": "=code"
}
]
},
"value": "0"
},
"CommandList": [
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon",
"cellLocations": [
{
"SerializeProperty": "=日报JSON"
}
]
},
"value": "%Null%",
"compareType": 1
},
"CommandList": [
{
"$type": "JsonDataSource.ImportJsonDataToListviewCommand, JsonDataSource",
"Listview": "表格1",
"ListviewColumnInfos": [
{
"ListViewColumnCell": "汇报类型",
"PropertyName": "type"
},
{
"ListViewColumnCell": "汇报内容",
"PropertyName": "content"
},
{
"ListViewColumnCell": "工时",
"PropertyName": "time"
}
],
"SourceCell": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=模板详情!日报JSON"
},
"SampleJson": "[\r\n {\r\n \"type\": \"日报\",\r\n \"content\": \"今天和报价系统部门做了沟通,了解了关于成本的细节\",\r\n \"time\": 120\r\n },\r\n {\r\n \"type\": \"日报\",\r\n \"content\": \"对发票标准版系统进行了升级\",\r\n \"time\": 0\r\n },\r\n {\r\n \"type\": \"日报\",\r\n \"content\": \"研究了时间轮插件,并进行了测试\",\r\n \"time\": 120\r\n },\r\n {\r\n \"type\": \"计划\",\r\n \"content\": \"继续测试时间轮插件\",\r\n \"time\": 0\r\n },\r\n {\r\n \"type\": \"计划\",\r\n \"content\": \"更新发票标准版系统的离线发布文件,并部署到测试服务器\",\r\n \"time\": 0\r\n },\r\n {\r\n \"type\": \"计划\",\r\n \"content\": \"完善PMS\",\r\n \"time\": 60\r\n }\r\n ]"
},
{
"$type": "Notiflix_Forguncy.Notify_Command, Notiflix_Forguncy",
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=模板详情!msg"
}
}
],
"ID": "7c9764c2-4407-45c6-99e5-f8b3646fc47f"
},
{
"CommandList": [
{
"$type": "Notiflix_Forguncy.Report_Command, Notiflix_Forguncy",
"FunctionName": "info",
"Title": "温馨提示",
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=模板详情!msg"
},
"BtnText": "知道了"
}
],
"ID": "d1f34c3e-6b72-4a50-be93-14b8751676b0"
}
]
}
],
"ID": "54ae941a-34aa-4844-9242-bbb6f801844a"
},
{
"CommandList": [
{
"$type": "Notiflix_Forguncy.Report_Command, Notiflix_Forguncy",
"FunctionName": "warning",
"Title": "温馨提示",
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=模板详情!msg"
},
"BtnText": "知道了"
}
],
"ID": "efc6c753-ad64-4ae4-abcc-620fbd558602"
}
]
},
{
"$type": "Forguncy.Model.SetCellPropertyCommand, ServerDesignerCommon",
"PropertyItemsList": [
{
"TargetCells": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=模板详情!B2,模板详情!B5"
},
"PropertyType": 0,
"Value": true
}
]
},
{
"$type": "Notiflix_Forguncy.Loading_Command, Notiflix_Forguncy",
"FunctionName": "remove",
"Title": "加载中"
}
],
"Text": "生成",
"TemplateKey": "_RS_Main1"
}
},
"6,16": {
"CellType": {
"$type": "Forguncy.ButtonCellType, ServerDesignerCommon",
"CommandList": [
{
"$type": "Forguncy.Model.UpdateListviewCommand, ServerDesignerCommon",
"ListviewName": "表格1",
"UpdateType": 2,
"UpdateRowType": 2
},
{
"$type": "Forguncy.Model.SetCellPropertyCommand, ServerDesignerCommon",
"PropertyItemsList": [
{
"TargetCells": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=模板详情!B2"
},
"Value": "%Null%"
}
] ]
} }
], ],
"Text": "重新生成", "type": "textarea",
"TemplateKey": "_RS_Information3" "resize": "none"
} }
}, },
"6,21": { "4,21": {
"CellType": { "CellType": {
"$type": "Forguncy.ButtonCellType, ServerDesignerCommon", "$type": "Forguncy.ButtonCellType, ServerDesignerCommon",
"CommandList": [ "CommandList": [
@@ -429,38 +204,19 @@
} }
}, },
"StyleDatas": { "StyleDatas": {
"Styles": [
{
"FontFamily": 0
},
{
"FontFamily": 0,
"Formatter": 1
}
],
"Types": { "Types": {
"Strs": [ "Strs": [
"Body", "Body"
"[AUTO]General"
] ]
}, },
"CellStyles": {
"4,1": 0,
"6,16": 1,
"6,17": 0,
"6,18": 0,
"6,19": 0
},
"SheetStyle": { "SheetStyle": {
"FontFamily": 0 "FontFamily": 0
} }
}, },
"Spans": [ "Spans": [
"8,1,1,11", "6,1,1,11",
"4,1,1,24", "4,21,1,4",
"6,21,1,4", "6,12,1,5",
"6,16,1,4",
"8,12,1,5",
"1,1,2,24" "1,1,2,24"
], ],
"PageInfo": { "PageInfo": {
@@ -489,11 +245,11 @@
"CustomNames": [ "CustomNames": [
{ {
"Name": "日期", "Name": "日期",
"Formula": "模板详情!$B$9" "Formula": "模板详情!$B$7"
}, },
{ {
"Name": "汇报人", "Name": "汇报人",
"Formula": "模板详情!$M$9" "Formula": "模板详情!$M$7"
} }
] ]
}//AkqxX5aztUMd4k+20NfO49h/ctlNARhydphUXxnbnYYbGeiWA1EBarr1vmKnvULLpTpxUHyARCc3Hpequpt3qAq5c3HmHiU1r1G8hyHCyO/LvsOYEKEMPoACZhi5wUsX/RBTTkOjHOR3vwNPWO+3FdR+6blkBJe1kdOKdDSLi2Ws9Ps2EmENWSDbPWlfnavR6f42OQdvXPXXv8aIOpibybqCHkP8AknGW+8QkXFdhdxEJ+ujVqtuPxZGJmw4P/UrOBf3PD2XaYEcWD33TF8lmcL0dW5HN1qBA7RIq4WvmMbuQpNZQ66mkBId1bY5jfclzGM+Vtf0AxCkyHdmt4+H/IYZg+MQVLKSO2ttxcBcIM28klydl/d/Ed1r0qH8bw8miSOE7WQlNMtIthRkS2ZoxVkoz38tBMhRD5naxV1U+JGEuV1gNL4NlpvVSqpJffdeq8eicjVPKzPup5CVBFyoBeaOr9WFRer0CCCG21TKGhAwH5ynOYqSQIr1VfSnrc55BFMyhsTOHwHh7PNtUIiQfkHymNR9dQvjd6ipFl3BVtT6PgJigu943nnePYMySEFqz50N8Veyb9i3R0hTJItoyYOyDAKVPilBgeAEnQIvwwwX8qV17t5AE+PR4ND7UZyP/0xYicA+f/GC+i5tRCpEYRhX8aOjgxG9/KMRhFh2ogZ4Rb6y+Dqaaeq1pCxvSGeh9AemAr9SfJBI4IhaMOo5OU+DFuDPljB8XloWU/y+NDD8zxH2ONq7fTB5H7RCiBWgnPMZgjSfX8Uxq+7wgJbsuq+DLX5spl7THxw6w5l6nzj+z644Q9/vly+g0u22Gy03ZAnoHj5vva6SL6YQsLr/FVH2AzNL7yCC9vPqVmivDc597JA+hldkKRS3F1BvbFpgliOauVejAtgIJeqEGDrw4Q==|920 }//finC0/WEnN0J4Tq07DviXI6dQlcS6kXx1oA1VGhib6ljcqxROxXgVYTg8GH5WvXcjZM53S08rDXTDHVK6atRmmaG5tSfvVEypMCfeZuk/DnbGV65I/Kwk7PHb6SAkPbg9SD6AGi9oxoM+VeMNDGmjzdoNymYhtaxOBvxmpNX+hOrQtZbmKmxgWPDaLJFpcWjQyNGZ4zLA/EE6OxqFVsuY2zR9/swNft7Awd4Ju/adXOX9t7555GziUhRfZc38MUZYFsHuJYUcglON5etvx/uZk1OQtNPS/3J9oLmYzPN56iJBn4JJsLfLkwVtF70lEB636qDG6K6W1si1rbhE3Cm8/f0hMN4ntl6Emz76TxQc6CeoPz5Poowia6I5qaayxVKI31WDNYURmwxpwtGyyOKgilPq/yBaesxWqYJLCWF1/bl1d4bEAmQMOLD2ovEHjh5LPi/dCe1KWNMmJaLZTIHqpfv0IY/Eh7wENHskJXT3/F/zOx4RfOEtVu/IH1Nzu32k7Tgs2jXybahrfayyyUkaQ/f9gBQCrY9Vd87g30BywgMbFT65yr8C0QzGE97Vi/iPChwwdTX42do9GvIxgqtz/AWtilS3AQPSUrIIfNFqvx/tWIRNkTHmj/KB1N40mYwWCZ46/awJyRdLaz8igGwv7MmylTzWaRmTmVNYjESqQTYOzyL8Z6cWOGAzNhE9a0ReeWQC/Wv+erbVcNsZnvxP8YuWrU8uEOHsu3IeS/RTijcaihq/55YOhOffXAzC/x6edhhJN5IgqFdFnPH2CZSAFAwAERAKN2cnd0iSxIdz1v208wn5AqSBZ2origRfXfAUCakO9SZjOwiATblmTwOGFmSb9CFCHQz23AjjVxjrBlgJg77Us0aZEHIbFE8fIBeFLd/dSA/z3Kh3ozj8Prp2Q==|920

View File

@@ -1,15 +1,15 @@
{ {
"PageType": 0, "PageType": 0,
"ColumnCount": 26, "ColumnCount": 26,
"RowCount": 9, "RowCount": 7,
"CustomNames": [ "CustomNames": [
{ {
"Name": "日期", "Name": "日期",
"Formula": "模板详情!$B$9" "Formula": "模板详情!$B$7"
}, },
{ {
"Name": "汇报人", "Name": "汇报人",
"Formula": "模板详情!$M$9" "Formula": "模板详情!$M$7"
} }
] ]
} }

Binary file not shown.

View File

@@ -21,14 +21,6 @@
} }
}, },
"Parameters": [ "Parameters": [
{
"Name": "模板名称",
"DataValidationInfo": {}
},
{
"Name": "汇报数据",
"DataValidationInfo": {}
},
{ {
"Name": "汇报人", "Name": "汇报人",
"DataValidationInfo": { "DataValidationInfo": {
@@ -37,8 +29,11 @@
"TestData": "shamus" "TestData": "shamus"
}, },
{ {
"Name": "汇报日期", "Name": "生成日期",
"DataValidationInfo": {} "DataValidationInfo": {
"IgnoreBlank": false
},
"TestData": "2024/6/11"
} }
], ],
"InvokeTriggerTestData": { "InvokeTriggerTestData": {
@@ -47,83 +42,19 @@
} }
], ],
"Commands": [ "Commands": [
{
"$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit",
"OutParamaterName": "汇报列表"
},
{ {
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "最近一次报工日期", "ParameterName": "总工时",
"TableValue": { "TableValue": {
"TableName": "任务工时表", "TableName": "任务工时表",
"TableValueType": 1, "TableValueType": 1,
"BindingInfos": [ "BindingInfos": [
{ {
"GUID": "73e81c41-172f-4f36-be36-0f3753a1c42f", "GUID": "0df5eee0-bdde-4f34-a2d0-ad9291d19272",
"BindingInfo": {
"TableName": "任务工时表",
"ColumnName": "工时日期",
"GUID": "08331bac-2019-4b3b-8f5a-7aa1eeebcfd2"
},
"ColumnName": "工时日期"
}
],
"SqlCondition": {
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
"SubConditions": [
{
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "任务工时表",
"ColumnName": "执行人",
"GUID": "5c25ebf2-35de-42b9-80bb-d2e0f8edde0a"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=汇报人"
}
},
{
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "任务工时表",
"ColumnName": "工时类型",
"GUID": "927e8b88-5075-48c1-a771-2fb8393f560a"
},
"Value": "实际"
}
]
},
"NullFormulaValueQueryPolicy": 0,
"TopCount": "1",
"OrderBySqlCondition": {
"OrderByColumns": [
{
"ColumnBindingInfo": {
"TableName": "任务工时表",
"ColumnName": "工时日期",
"GUID": "ec333b87-7e84-4dfe-b912-2412bcd399eb"
},
"Order": 1
}
]
}
},
"ID": "2e5ca44fc1cb468eb348b70f3f65fbe6"
},
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "最近报工项目",
"TableValue": {
"TableName": "任务工时表",
"BindingInfos": [
{
"GUID": "042d856a-ac9b-4c63-892f-7b516bd4bd3b",
"BindingInfo": {
"TableName": "任务工时表",
"ColumnName": "项目ID",
"GUID": "9fe63173-5128-4215-acc4-6709548766a8"
},
"ColumnName": "项目ID"
},
{
"GUID": "787dab28-39ad-4bcc-93ab-3f570c9b73b5",
"BindingInfo": { "BindingInfo": {
"TableName": "任务工时表", "TableName": "任务工时表",
"ColumnName": "总工时", "ColumnName": "总工时",
@@ -156,14 +87,326 @@
}, },
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=最近一次报工日期.工时日期" "SerializeProperty": "=生成日期"
} }
},
{
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "任务工时表",
"ColumnName": "工时类型",
"GUID": "117f7a1f-f51f-4722-ac8d-5b04732bc1b3"
},
"Value": "实际"
} }
] ]
}, },
"NullFormulaValueQueryPolicy": 0 "NullFormulaValueQueryPolicy": 0
}, },
"ID": "7a9cf1c828b741f689817615908b57ef" "ID": "a8eef77ada214e5eaaac3ce06da86e21"
},
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "最近报工项目",
"TableValue": {
"TableName": "任务工时表",
"BindingInfos": [
{
"GUID": "47fae38f-8282-4267-a120-b4f55fcf8351",
"BindingInfo": {
"TableName": "任务工时表",
"ColumnName": "项目ID",
"GUID": "9fe63173-5128-4215-acc4-6709548766a8"
},
"ColumnName": "项目ID"
},
{
"GUID": "dd28102a-74ae-4cf7-8c23-8de534feda0c",
"BindingInfo": {
"TableName": "任务工时表",
"ColumnName": "项目ID",
"GUID": "eb8227d3-06cb-489a-b20e-0ea5a64755ec",
"RelationBinding": {
"RelatedTable": "项目表",
"RelatedColumn": "ID",
"DisplayColumn": "项目名称"
}
},
"ColumnName": "项目名称"
},
{
"GUID": "4ec3aa4e-60f7-4f6a-b832-b2606b368a98",
"BindingInfo": {
"TableName": "任务工时表",
"ColumnName": "总工时",
"GUID": "46a18c6e-820c-44e3-9b0e-78348a51130d"
},
"ColumnName": "总工时"
}
],
"SqlCondition": {
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
"SubConditions": [
{
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "任务工时表",
"ColumnName": "执行人",
"GUID": "4b3d5f6f-19ec-4644-bc88-01914025be5c"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=汇报人"
}
},
{
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "任务工时表",
"ColumnName": "工时日期",
"GUID": "d0d914d3-0167-477a-a9ee-1b7549dd00b0"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=生成日期"
}
},
{
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "任务工时表",
"ColumnName": "工时类型",
"GUID": "117f7a1f-f51f-4722-ac8d-5b04732bc1b3"
},
"Value": "实际"
}
]
},
"NullFormulaValueQueryPolicy": 0
},
"ID": "57e8988a8cf146c09fbc442a1304e5ef"
},
{
"$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": "=最近报工项目.Count"
}
},
"value": "0",
"compareType": 2
},
"CommandList": [
{
"$type": "Forguncy.Model.LoopCommand, ServerDesignerCommon",
"LoopInfo": {
"$type": "Forguncy.Model.CountLoopInfo, ServerDesignerCommon",
"LoopCount": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=最近报工项目"
},
"LoopItemParamName": "当前项目"
},
"CommandList": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "项目报工信息",
"TableValue": {
"TableName": "任务工时表",
"BindingInfos": [
{
"GUID": "91a3ddbd-f42d-4b41-bc71-3ff3156bea16",
"BindingInfo": {
"TableName": "任务工时表",
"ColumnName": "执行内容",
"GUID": "0a31eb22-29b7-4138-a6a0-98d920d0f715"
},
"ColumnName": "工作内容"
}
],
"SqlCondition": {
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
"SubConditions": [
{
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "任务工时表",
"ColumnName": "执行人",
"GUID": "4b3d5f6f-19ec-4644-bc88-01914025be5c"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=汇报人"
}
},
{
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "任务工时表",
"ColumnName": "工时日期",
"GUID": "d0d914d3-0167-477a-a9ee-1b7549dd00b0"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=生成日期"
}
},
{
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "任务工时表",
"ColumnName": "项目ID",
"GUID": "d5d3e143-4db7-495f-973a-a6686207b7f3"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=当前项目.项目ID"
}
}
]
},
"NullFormulaValueQueryPolicy": 0
},
"ID": "64d4a898578641de9ada1dca4ae4a13f"
},
{
"$type": "CollectionOperationKit.ServerSideObjectOp, CollectionOperationKit",
"OperationParamaterPairs": [
{
"Name": "项目名称",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=当前项目.项目名称"
}
},
{
"Name": "内容列表",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目报工信息"
}
}
],
"OutParamaterName": "单个项目"
},
{
"$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit",
"InParamater": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=汇报列表"
},
"Operation": 4,
"OperationParamaterAName": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=单个项目"
},
"OutParamaterName": "汇报列表"
}
]
}
],
"ID": "38ddba3f-374d-49ea-b83c-b932d1c43a9b"
}
]
},
{
"$type": "CollectionOperationKit.ServerSideObjectOp, CollectionOperationKit",
"OperationParamaterPairs": [
{
"Name": "汇报日期",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=生成日期"
}
},
{
"Name": "汇报人",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=汇报人"
}
},
{
"Name": "总工时",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=总工时.总工时"
}
},
{
"Name": "汇报列表",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=汇报列表"
}
}
],
"OutParamaterName": "数据源"
},
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "日报模板",
"TableValue": {
"TableName": "汇报模板",
"TableValueType": 1,
"BindingInfos": [
{
"GUID": "d23ce3e3-df11-4598-802b-5ad9bac3d75f",
"BindingInfo": {
"TableName": "汇报模板",
"ColumnName": "模板内容",
"GUID": "1d9bbe66-ae19-4d86-95cf-dfa2e7e4e2a8"
},
"ColumnName": "模板内容"
}
],
"SqlCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "汇报模板",
"ColumnName": "ID",
"GUID": "722f4877-7cb8-44dc-8b27-c9faa8948228"
},
"Value": "1"
},
"NullFormulaValueQueryPolicy": 0,
"TopCount": "1"
},
"ID": "68c66ce62ba04af99c39f92383b82296"
},
{
"$type": "MustachePlugin.Render, MustachePlugin",
"DataSrouce": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=日报模板.模板内容"
},
"UseCustomsDataHash": true,
"CustomsDataHash": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=数据源"
},
"SetMaxRecursionDepth": 512,
"ResultTo": "输出结果"
},
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": "成功",
"CustomReturns": [
{
"ReturnPropertyName": "生成文本",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=输出结果"
}
}
]
} }
], ],
"ReturnProperties": [ "ReturnProperties": [