{"Message":"创建日报模板列表、详情页面及相关功能,完善个人日报计划任务、编辑、删除功能","MessageType":2,"Modules":[{"State":1,"Type":7,"Name":"Table/汇报记录表"},{"State":1,"Type":1,"Name":"PCPage/汇报管理"},{"State":1,"Type":1,"Name":"PCPage/日报首页"},{"State":1,"Type":1,"Name":"PCPage/模板列表"},{"State":1,"Type":1,"Name":"PCPage/模板详情"},{"State":1,"Type":15,"Name":"ServerCommand/根据汇报模板生成内容"},{"State":1,"Type":1,"Name":"PCPage/日报详情"},{"State":1,"Type":27,"Name":"ServerCommandPrivate/单日自动生成工作日报"},{"State":3,"Type":21,"Name":"SchedulerTasks/工作汇报"},{"State":3,"Type":16,"Name":"TaskScheduler/计划任务1"},{"State":3,"Type":16,"Name":"TaskScheduler/每日根据报工自动生成工作日报"},{"State":3,"Type":15,"Name":"ServerCommand/修改工作日报"}],"Version":"v1"}
This commit is contained in:
95
ServerCommands/汇报/修改工作日报.json
Normal file
95
ServerCommands/汇报/修改工作日报.json
Normal file
@@ -0,0 +1,95 @@
|
||||
{
|
||||
"Name": "修改工作日报",
|
||||
"Enabled": true,
|
||||
"Triggers": [
|
||||
{
|
||||
"$type": "Forguncy.SaveLoad.PostRequestTriggerSaveData, ServerDesignerCommon",
|
||||
"Permission": {
|
||||
"PermissionData": {
|
||||
"$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionData, Forguncy.RbacPermission.Core",
|
||||
"permissionResource": {
|
||||
"$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionResource, Forguncy.RbacPermission.Core"
|
||||
},
|
||||
"permissionBindings": [
|
||||
{
|
||||
"$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionBinding, Forguncy.RbacPermission.Core",
|
||||
"roleNames": [
|
||||
"FGC_LoginUser"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"Parameters": [
|
||||
{
|
||||
"Name": "日报ID",
|
||||
"DataValidationInfo": {
|
||||
"IgnoreBlank": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"Type": 1,
|
||||
"ArrayParamItems": [
|
||||
{
|
||||
"Name": "总工时",
|
||||
"DataValidationInfo": {}
|
||||
},
|
||||
{
|
||||
"Name": "工作内容",
|
||||
"DataValidationInfo": {}
|
||||
}
|
||||
],
|
||||
"OnlySendChangedData": true,
|
||||
"PrimaryKeys": [
|
||||
"ID"
|
||||
],
|
||||
"Name": "日报数据",
|
||||
"DataValidationInfo": {}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"Commands": [
|
||||
{
|
||||
"$type": "Forguncy.Model.CatchExceptionCommand, ServerDesignerCommon",
|
||||
"TryCommandPart": {
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
|
||||
"TableName": "汇报记录表",
|
||||
"ShowConfirm": false,
|
||||
"RowsToUpdate": 1,
|
||||
"RowsToUpdateCondition": {
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "汇报记录表",
|
||||
"ColumnName": "ID",
|
||||
"GUID": "24551406-dfaf-4c71-9ae6-5eb56e59bd04"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=日报ID"
|
||||
}
|
||||
},
|
||||
"UpdateBindingValues": [
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "汇报记录表",
|
||||
"ColumnName": "内容",
|
||||
"GUID": "5935ce22-6b9f-46cf-953f-646fdec63883"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "汇报记录表",
|
||||
"ColumnName": "总工时",
|
||||
"GUID": "c7dbf6f9-1800-4651-9905-4bedc46bf4ce"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,185 +1,397 @@
|
||||
{
|
||||
"Name": "单日自动生成工作日报",
|
||||
"Description": "每天8:00自动生成昨日工作内容,生成工作日报。",
|
||||
"Enabled": true,
|
||||
"Triggers": [
|
||||
{
|
||||
"$type": "Forguncy.SaveLoad.InvokeTriggerSaveData, ServerDesignerCommon",
|
||||
"Parameters": [
|
||||
{
|
||||
"Name": "汇报人",
|
||||
"DataValidationInfo": {
|
||||
"IgnoreBlank": false
|
||||
},
|
||||
"TestData": "shamus"
|
||||
}
|
||||
],
|
||||
"InvokeTriggerTestData": {
|
||||
"UserName": "Administrator"
|
||||
"UserName": "shamus"
|
||||
}
|
||||
}
|
||||
],
|
||||
"Commands": [
|
||||
{
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "汇报日期",
|
||||
"ParameterValue": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=TODAY()-1"
|
||||
},
|
||||
"ID": "a87e3ca92ae14b12b51e7629f1bbcac9"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon",
|
||||
"ServerCommandName": "根据汇报模板生成内容",
|
||||
"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": "=汇报日期"
|
||||
}
|
||||
}
|
||||
],
|
||||
"ResultErrorCodeTo": {
|
||||
"SerializeProperty": "code"
|
||||
},
|
||||
"ResultMessageTo": {
|
||||
"SerializeProperty": "msg"
|
||||
},
|
||||
"ReturnPropertiesTo": [
|
||||
{
|
||||
"ResultPropertyName": "生成文本",
|
||||
"ResultTo": {
|
||||
"SerializeProperty": "生成汇报内容"
|
||||
}
|
||||
}
|
||||
],
|
||||
"RefreshAfterFinish": true,
|
||||
"CheckDataValidation": true
|
||||
},
|
||||
{
|
||||
"$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"
|
||||
}
|
||||
"$type": "Forguncy.Model.CatchExceptionCommand, ServerDesignerCommon",
|
||||
"TryCommandPart": {
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "汇报日期",
|
||||
"ParameterValue": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=TODAY()-1"
|
||||
},
|
||||
"value": "0"
|
||||
"ID": "bdbfea55954c4b629904086d70c6cf24"
|
||||
},
|
||||
"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": "=生成汇报内容"
|
||||
}
|
||||
},
|
||||
"value": "%Null%",
|
||||
"compareType": 1
|
||||
},
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
|
||||
"TableName": "汇报记录表",
|
||||
"UpdateType": "add",
|
||||
"ShowConfirm": false,
|
||||
"UpdateBindingValues": [
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "汇报记录表",
|
||||
"ColumnName": "汇报类型",
|
||||
"GUID": "c24375f5-368c-4882-8bc7-691ca8607982"
|
||||
},
|
||||
"Value": "日报"
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "汇报记录表",
|
||||
"ColumnName": "开始日期",
|
||||
"GUID": "90dcdd45-0dec-413f-a07b-13206a41440b"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=汇报日期"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "汇报记录表",
|
||||
"ColumnName": "截止日期",
|
||||
"GUID": "4761c4e0-bf27-4842-bace-6c2144a7fb51"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "汇报记录表",
|
||||
"ColumnName": "汇报人",
|
||||
"GUID": "1569dd18-fc90-4c8c-b3f3-8c3b97f0f6bf"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=汇报人"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "汇报记录表",
|
||||
"ColumnName": "内容",
|
||||
"GUID": "db38ba4b-0673-4ade-9b64-fee68ccddf8b"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=生成汇报内容"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"ID": "c7381055-93f9-4a67-bdd8-2f93bceac794"
|
||||
{
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "汇报人",
|
||||
"ParameterValue": "%CurrentUser%",
|
||||
"ID": "ef89d90423994c52bc09de9aaef7299c"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon",
|
||||
"ServerCommandName": "根据汇报模板生成内容",
|
||||
"Parameters": [
|
||||
{
|
||||
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
|
||||
"ParamName": "汇报人",
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=汇报人"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"ID": "91b650f6-722e-468a-a6d9-9b6d44cd3d5f"
|
||||
},
|
||||
{
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=code"
|
||||
},
|
||||
"Message": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=msg"
|
||||
{
|
||||
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
|
||||
"ParamName": "生成日期",
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=汇报日期"
|
||||
}
|
||||
}
|
||||
],
|
||||
"ResultErrorCodeTo": {
|
||||
"SerializeProperty": "code"
|
||||
},
|
||||
"ResultMessageTo": {
|
||||
"SerializeProperty": "msg"
|
||||
},
|
||||
"ReturnPropertiesTo": [
|
||||
{
|
||||
"ResultPropertyName": "生成文本",
|
||||
"ResultTo": {
|
||||
"SerializeProperty": "生成汇报内容"
|
||||
}
|
||||
},
|
||||
{
|
||||
"ResultPropertyName": "返回总工时",
|
||||
"ResultTo": {
|
||||
"SerializeProperty": "返回总工时"
|
||||
}
|
||||
}
|
||||
],
|
||||
"RefreshAfterFinish": true,
|
||||
"CheckDataValidation": true
|
||||
},
|
||||
{
|
||||
"$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.ConditionCommand, ServerDesignerCommon",
|
||||
"ConditionAndCommandPairList": [
|
||||
{
|
||||
"Condition": {
|
||||
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
|
||||
"param": {
|
||||
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
|
||||
"ParamObject": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=生成汇报内容"
|
||||
}
|
||||
},
|
||||
"value": "%Null%",
|
||||
"compareType": 1
|
||||
},
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "是否已有日报",
|
||||
"TableValue": {
|
||||
"TableName": "汇报记录表",
|
||||
"TableValueType": 1,
|
||||
"BindingInfos": [
|
||||
{
|
||||
"GUID": "1ecca485-8477-40bd-bc47-6dd93c597ba1",
|
||||
"BindingInfo": {
|
||||
"TableName": "汇报记录表",
|
||||
"ColumnName": "ID",
|
||||
"GUID": "7248b549-9806-4766-89e1-f5d49e589ddd"
|
||||
},
|
||||
"ColumnName": "ID"
|
||||
}
|
||||
],
|
||||
"SqlCondition": {
|
||||
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
|
||||
"SubConditions": [
|
||||
{
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "汇报记录表",
|
||||
"ColumnName": "汇报人",
|
||||
"GUID": "56eddff0-36fe-4dd9-af41-999289d040ac"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=汇报人"
|
||||
}
|
||||
},
|
||||
{
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "汇报记录表",
|
||||
"ColumnName": "开始日期",
|
||||
"GUID": "2cbb0a81-fada-4134-9c8e-991fba901746"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=TODAY()"
|
||||
}
|
||||
},
|
||||
{
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "汇报记录表",
|
||||
"ColumnName": "汇报类型",
|
||||
"GUID": "7d6310c4-6c2d-47ff-9742-434ee9c833f2"
|
||||
},
|
||||
"Value": "日报"
|
||||
}
|
||||
]
|
||||
},
|
||||
"NullFormulaValueQueryPolicy": 0
|
||||
},
|
||||
"ID": "334a23c90ea84954b786f69ed719d8f9"
|
||||
},
|
||||
{
|
||||
"$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": "%Null%"
|
||||
},
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
|
||||
"TableName": "汇报记录表",
|
||||
"UpdateType": "add",
|
||||
"ShowConfirm": false,
|
||||
"UpdateBindingValues": [
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "汇报记录表",
|
||||
"ColumnName": "汇报类型",
|
||||
"GUID": "b3a5a232-c78d-4625-ae78-3aa6fbefcb39"
|
||||
},
|
||||
"Value": "日报"
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "汇报记录表",
|
||||
"ColumnName": "开始日期",
|
||||
"GUID": "7d040eb3-673c-4a5b-9d4c-2d0f13dee05c"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=TODAY()"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "汇报记录表",
|
||||
"ColumnName": "截止日期",
|
||||
"GUID": "1ff87678-9541-442b-b47e-78f31cd11587"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "汇报记录表",
|
||||
"ColumnName": "汇报人",
|
||||
"GUID": "0cbf0bf4-2ff5-4be8-9e84-85b4098d9f0a"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=汇报人"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "汇报记录表",
|
||||
"ColumnName": "内容",
|
||||
"GUID": "b298647c-8024-4c13-b7c9-866b133897dd"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=生成汇报内容"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "汇报记录表",
|
||||
"ColumnName": "总工时",
|
||||
"GUID": "9ff2c05e-d7b4-4596-a35b-5fa377bf7447"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=返回总工时"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"ID": "6c072c5a-eff0-463d-9e68-f1e5cf82e8de"
|
||||
},
|
||||
{
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
|
||||
"TableName": "汇报记录表",
|
||||
"ShowConfirm": false,
|
||||
"RowsToUpdate": 1,
|
||||
"RowsToUpdateCondition": {
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "汇报记录表",
|
||||
"ColumnName": "ID",
|
||||
"GUID": "4f0f2548-0a72-4169-b2af-37ec269b8f80"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=是否已有日报.ID"
|
||||
}
|
||||
},
|
||||
"UpdateBindingValues": [
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "汇报记录表",
|
||||
"ColumnName": "开始日期",
|
||||
"GUID": "b99ff8ab-af7c-482c-ac31-72cc37bcb7a6"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=汇报日期"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "汇报记录表",
|
||||
"ColumnName": "截止日期",
|
||||
"GUID": "153688bd-3aee-4394-b83f-a5782b86c4e1"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "汇报记录表",
|
||||
"ColumnName": "汇报人",
|
||||
"GUID": "d96ee4c5-981d-4035-bac9-0b93bec01517"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=汇报人"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "汇报记录表",
|
||||
"ColumnName": "内容",
|
||||
"GUID": "9c1dff95-830b-44d2-a448-a00b4e300231"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=生成汇报内容"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "汇报记录表",
|
||||
"ColumnName": "总工时",
|
||||
"GUID": "cfb960f7-22a5-4efb-8d62-3b35f103ceb1"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=返回总工时"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"ID": "de2eadd4-9642-49a4-99c0-b6eff3bff30c"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"ID": "f754b2b4-6995-4438-8e89-1d3600a0b77c"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"ID": "582b025d-ca4e-4276-a182-21b31be3db98"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"CatchCommandPart": {
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
|
||||
"TableName": "日志表",
|
||||
"UpdateType": "add",
|
||||
"ShowConfirm": false,
|
||||
"UpdateBindingValues": [
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "日志表",
|
||||
"ColumnName": "标题",
|
||||
"GUID": "226e0eb5-e349-400d-aadf-f1e1aaaecf75"
|
||||
},
|
||||
"Value": "单日自动生成工作日报命令"
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "日志表",
|
||||
"ColumnName": "内容",
|
||||
"GUID": "f77a6239-12a7-4064-b33d-28f45eb52e09"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=ExceptionCode"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "日志表",
|
||||
"ColumnName": "类型",
|
||||
"GUID": "8b6812b2-6240-4396-ae2e-7d35baeedb7c"
|
||||
},
|
||||
"Value": "服务端命令"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=ExceptionCode"
|
||||
},
|
||||
"Message": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=ExceptionMessage"
|
||||
}
|
||||
],
|
||||
"ID": "80834d9a-c680-45ed-96f8-2e4cd51b4a1b"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -33,7 +33,7 @@
|
||||
"DataValidationInfo": {
|
||||
"IgnoreBlank": false
|
||||
},
|
||||
"TestData": "2024/6/11"
|
||||
"TestData": "2024/6/13"
|
||||
}
|
||||
],
|
||||
"InvokeTriggerTestData": {
|
||||
@@ -43,394 +43,521 @@
|
||||
],
|
||||
"Commands": [
|
||||
{
|
||||
"$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit",
|
||||
"OutParamaterName": "汇报列表"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "处理汇报日期",
|
||||
"ParameterValue": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=TEXT(生成日期,\"yyyy-MM-dd\")"
|
||||
},
|
||||
"ID": "57953c14a267457fadd1acb81491f09e"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "总工时",
|
||||
"TableValue": {
|
||||
"TableName": "任务工时表",
|
||||
"TableValueType": 1,
|
||||
"BindingInfos": [
|
||||
"$type": "Forguncy.Model.CatchExceptionCommand, ServerDesignerCommon",
|
||||
"TryCommandPart": {
|
||||
"CommandList": [
|
||||
{
|
||||
"GUID": "a4ea1be8-f768-4f0a-8c21-3e41578db770",
|
||||
"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": "432e99ea6d31443fa9117b616a793ef3"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "最近报工项目",
|
||||
"TableValue": {
|
||||
"TableName": "任务工时表",
|
||||
"BindingInfos": [
|
||||
{
|
||||
"GUID": "81174126-3200-4dcc-9421-3814d4d405f1",
|
||||
"BindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "项目ID",
|
||||
"GUID": "9fe63173-5128-4215-acc4-6709548766a8"
|
||||
},
|
||||
"ColumnName": "项目ID"
|
||||
"$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit",
|
||||
"OutParamaterName": "汇报列表"
|
||||
},
|
||||
{
|
||||
"GUID": "ceec9c39-5ff8-4d2c-b30d-a2d8cf5829fe",
|
||||
"BindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "项目ID",
|
||||
"GUID": "eb8227d3-06cb-489a-b20e-0ea5a64755ec",
|
||||
"RelationBinding": {
|
||||
"RelatedTable": "项目表",
|
||||
"RelatedColumn": "ID",
|
||||
"DisplayColumn": "项目名称"
|
||||
}
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "处理汇报日期",
|
||||
"ParameterValue": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=TEXT(生成日期,\"yyyy-MM-dd\")"
|
||||
},
|
||||
"ColumnName": "项目名称"
|
||||
"ID": "4491daaaae9c488a8c74361f2560c355"
|
||||
},
|
||||
{
|
||||
"GUID": "d075611f-42bc-4c5a-992f-108e0d2add4f",
|
||||
"BindingInfo": {
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "总工时",
|
||||
"TableValue": {
|
||||
"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": "b2cf0acec9a54589b841b99ed589248d"
|
||||
},
|
||||
{
|
||||
"$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": [
|
||||
"TableValueType": 1,
|
||||
"BindingInfos": [
|
||||
{
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "项目报工信息",
|
||||
"TableValue": {
|
||||
"GUID": "d69c1753-9acf-4ed7-9c80-f0b8d8f2bbba",
|
||||
"BindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"BindingInfos": [
|
||||
"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": "4c938ea260b94a89b2d72dcdaaf0d4bc"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "最近报工项目",
|
||||
"TableValue": {
|
||||
"TableName": "任务工时表",
|
||||
"BindingInfos": [
|
||||
{
|
||||
"GUID": "bdbcdbfc-8edb-445f-9dc7-e17615d51d0d",
|
||||
"BindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "项目ID",
|
||||
"GUID": "9fe63173-5128-4215-acc4-6709548766a8"
|
||||
},
|
||||
"ColumnName": "项目ID"
|
||||
},
|
||||
{
|
||||
"GUID": "e95ff5a5-080d-4f9b-9802-de0279b46123",
|
||||
"BindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "项目ID",
|
||||
"GUID": "eb8227d3-06cb-489a-b20e-0ea5a64755ec",
|
||||
"RelationBinding": {
|
||||
"RelatedTable": "项目表",
|
||||
"RelatedColumn": "ID",
|
||||
"DisplayColumn": "项目名称"
|
||||
}
|
||||
},
|
||||
"ColumnName": "项目名称"
|
||||
},
|
||||
{
|
||||
"GUID": "29c34886-ce79-49b0-97a6-937c88bfd643",
|
||||
"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": "93129abf523d4f1382f20ff674ba15f6"
|
||||
},
|
||||
{
|
||||
"$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": [
|
||||
{
|
||||
"GUID": "259258c6-67d3-42e4-a5ab-d0093187d80f",
|
||||
"BindingInfo": {
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "项目报工信息",
|
||||
"TableValue": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "执行内容",
|
||||
"GUID": "0a31eb22-29b7-4138-a6a0-98d920d0f715"
|
||||
"BindingInfos": [
|
||||
{
|
||||
"GUID": "7a86d110-fe10-4b4f-a3fd-b205bca84757",
|
||||
"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"
|
||||
}
|
||||
},
|
||||
{
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"CompareType": 1,
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "执行内容",
|
||||
"GUID": "65c531dc-6b4c-4568-8153-a0ac38c3ec10"
|
||||
},
|
||||
"Value": "%Null%"
|
||||
}
|
||||
]
|
||||
},
|
||||
"NullFormulaValueQueryPolicy": 0
|
||||
},
|
||||
"ColumnName": "工作内容"
|
||||
"ID": "d5039106a33d401890c287c3e151e8ef"
|
||||
},
|
||||
{
|
||||
"$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": "汇报列表"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"$type": "CollectionOperationKit.ServerSideObjectOp, CollectionOperationKit",
|
||||
"OperationParamaterPairs": [
|
||||
{
|
||||
"Name": "汇报列表",
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=汇报列表"
|
||||
}
|
||||
}
|
||||
],
|
||||
"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"
|
||||
}
|
||||
},
|
||||
{
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"CompareType": 1,
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "执行内容",
|
||||
"GUID": "65c531dc-6b4c-4568-8153-a0ac38c3ec10"
|
||||
},
|
||||
"Value": "%Null%"
|
||||
"OutParamaterName": "数据源"
|
||||
},
|
||||
{
|
||||
"$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": "=汇报列表"
|
||||
}
|
||||
]
|
||||
},
|
||||
"NullFormulaValueQueryPolicy": 0
|
||||
},
|
||||
"ID": "4299bb2018a34f71afc41ac0c4985620"
|
||||
},
|
||||
{
|
||||
"$type": "CollectionOperationKit.ServerSideObjectOp, CollectionOperationKit",
|
||||
"OperationParamaterPairs": [
|
||||
{
|
||||
"Name": "项目名称",
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=当前项目.项目名称"
|
||||
}
|
||||
],
|
||||
"OutParamaterName": "数据源",
|
||||
"Disabled": true
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "日报模板",
|
||||
"TableValue": {
|
||||
"TableName": "汇报模板",
|
||||
"TableValueType": 1,
|
||||
"BindingInfos": [
|
||||
{
|
||||
"GUID": "32b5f782-2d35-428e-afe4-66d120029d89",
|
||||
"BindingInfo": {
|
||||
"TableName": "汇报模板",
|
||||
"ColumnName": "模板内容",
|
||||
"GUID": "1d9bbe66-ae19-4d86-95cf-dfa2e7e4e2a8"
|
||||
},
|
||||
"ColumnName": "模板内容"
|
||||
}
|
||||
],
|
||||
"SqlCondition": {
|
||||
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
|
||||
"SubConditions": [
|
||||
{
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "汇报模板",
|
||||
"ColumnName": "ID",
|
||||
"GUID": "722f4877-7cb8-44dc-8b27-c9faa8948228"
|
||||
},
|
||||
"Value": "1"
|
||||
},
|
||||
{
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"CompareType": 1,
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "汇报模板",
|
||||
"ColumnName": "是否禁用",
|
||||
"GUID": "b81cdddf-c5f0-441f-8380-ba980377bd40"
|
||||
},
|
||||
"Value": "1"
|
||||
}
|
||||
]
|
||||
},
|
||||
"NullFormulaValueQueryPolicy": 0,
|
||||
"TopCount": "1"
|
||||
},
|
||||
{
|
||||
"Name": "内容列表",
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=项目报工信息"
|
||||
"ID": "bcfe9971a6bd4462b60e9dcebf77bdf7"
|
||||
},
|
||||
{
|
||||
"$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": "%Null%",
|
||||
"compareType": 1
|
||||
},
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "MustachePlugin.Render, MustachePlugin",
|
||||
"DataSrouce": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=日报模板.模板内容"
|
||||
},
|
||||
"UseCustomsDataHash": true,
|
||||
"CustomsDataHash": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=数据源"
|
||||
},
|
||||
"SetMaxRecursionDepth": 11,
|
||||
"ResultTo": "输出结果"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": "0",
|
||||
"Message": "成功",
|
||||
"CustomReturns": [
|
||||
{
|
||||
"ReturnPropertyName": "生成文本",
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=输出结果"
|
||||
}
|
||||
},
|
||||
{
|
||||
"ReturnPropertyName": "返回总工时",
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=总工时.总工时"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"ID": "95494b7b-a921-46ca-a739-e58f33c777fa"
|
||||
},
|
||||
{
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": "400",
|
||||
"Message": "未找到模板",
|
||||
"CustomReturns": [
|
||||
{
|
||||
"ReturnPropertyName": "生成文本"
|
||||
},
|
||||
{
|
||||
"ReturnPropertyName": "返回总工时"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"ID": "ee8e3a59-924d-4d05-a811-8265fe8ee8e4"
|
||||
}
|
||||
}
|
||||
],
|
||||
"OutParamaterName": "单个项目"
|
||||
},
|
||||
{
|
||||
"$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit",
|
||||
"InParamater": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=汇报列表"
|
||||
},
|
||||
"Operation": 4,
|
||||
"OperationParamaterAName": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=单个项目"
|
||||
},
|
||||
"OutParamaterName": "汇报列表"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"ID": "26c2f871-9736-49f1-b6a1-183d5504aa38"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"$type": "CollectionOperationKit.ServerSideObjectOp, CollectionOperationKit",
|
||||
"OperationParamaterPairs": [
|
||||
{
|
||||
"Name": "汇报日期",
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=处理汇报日期"
|
||||
]
|
||||
}
|
||||
],
|
||||
"ID": "5253f66b-c75b-49f8-8760-161595c7e89a"
|
||||
},
|
||||
{
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": "400",
|
||||
"Message": "昨日无工作内容。",
|
||||
"CustomReturns": [
|
||||
{
|
||||
"ReturnPropertyName": "生成文本"
|
||||
},
|
||||
{
|
||||
"ReturnPropertyName": "返回总工时"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"ID": "6fc57d6e-38d9-407e-b896-151dedf7d9a8"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"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": [
|
||||
]
|
||||
},
|
||||
"CatchCommandPart": {
|
||||
"CommandList": [
|
||||
{
|
||||
"GUID": "3ccc0c13-130a-49a9-bf47-4f288b619f2f",
|
||||
"BindingInfo": {
|
||||
"TableName": "汇报模板",
|
||||
"ColumnName": "模板内容",
|
||||
"GUID": "1d9bbe66-ae19-4d86-95cf-dfa2e7e4e2a8"
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=ExceptionCode"
|
||||
},
|
||||
"ColumnName": "模板内容"
|
||||
"Message": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=ExceptionMessage"
|
||||
},
|
||||
"CustomReturns": [
|
||||
{
|
||||
"ReturnPropertyName": "生成文本"
|
||||
},
|
||||
{
|
||||
"ReturnPropertyName": "返回总工时"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"SqlCondition": {
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "汇报模板",
|
||||
"ColumnName": "ID",
|
||||
"GUID": "722f4877-7cb8-44dc-8b27-c9faa8948228"
|
||||
},
|
||||
"Value": "1"
|
||||
},
|
||||
"NullFormulaValueQueryPolicy": 0,
|
||||
"TopCount": "1"
|
||||
},
|
||||
"ID": "a84cfa225a7c4b12b51e30a3b36c833e"
|
||||
},
|
||||
{
|
||||
"$type": "MustachePlugin.Render, MustachePlugin",
|
||||
"DataSrouce": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=日报模板.模板内容"
|
||||
},
|
||||
"UseCustomsDataHash": true,
|
||||
"CustomsDataHash": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=数据源"
|
||||
},
|
||||
"SetMaxRecursionDepth": 11,
|
||||
"ResultTo": "输出结果"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": "0",
|
||||
"Message": "成功",
|
||||
"CustomReturns": [
|
||||
{
|
||||
"ReturnPropertyName": "生成文本",
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=输出结果"
|
||||
}
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"ReturnProperties": [
|
||||
{
|
||||
"Name": "生成文本"
|
||||
},
|
||||
{
|
||||
"Name": "返回总工时"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user