{ "$type": "Forguncy.SaveLoad.ServerCommandSaveData, ServerDesignerCommon", "Name": "上报实际工时", "Enabled": true, "Triggers": { "$type": "System.Collections.Generic.List`1[[Forguncy.SaveLoad.TriggerSaveDataBase, ServerDesignerCommon]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.SaveLoad.PostRequestTriggerSaveData, ServerDesignerCommon", "Permission": { "$type": "Forguncy.SaveLoad.ServerCommandPermissionSaveData, ServerDesignerCommon", "PermissionData": { "$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionData, Forguncy.RbacPermission.Core", "permissionResource": { "$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionResource, Forguncy.RbacPermission.Core" }, "permissionBindings": { "$type": "System.Collections.Generic.List`1[[Forguncy.RbacPermission.Core.Impl.ServerCommand.IServerCommandPermissionBinding, Forguncy.RbacPermission.Core]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionBinding, Forguncy.RbacPermission.Core", "roleNames": { "$type": "System.Collections.Generic.List`1[[System.String, System.Private.CoreLib]], System.Private.CoreLib", "$values": [ "FGC_LoginUser" ] } } ] } } }, "Parameters": { "$type": "System.Collections.Generic.List`1[[Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon", "Name": "任务ID", "DataValidationInfo": { "$type": "Forguncy.SaveLoad.DataValidationInfoSaveData, ServerDesignerCommon", "IgnoreBlank": false }, "TestData": "45" }, { "$type": "Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon", "Name": "开始日期", "DataValidationInfo": { "$type": "Forguncy.SaveLoad.DataValidationInfoSaveData, ServerDesignerCommon", "IgnoreBlank": false }, "TestData": "2024-03-01" }, { "$type": "Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon", "Name": "结束日期", "DataValidationInfo": { "$type": "Forguncy.SaveLoad.DataValidationInfoSaveData, ServerDesignerCommon", "IgnoreBlank": false }, "TestData": "2024-03-1" }, { "$type": "Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon", "Name": "执行人", "DataValidationInfo": { "$type": "Forguncy.SaveLoad.DataValidationInfoSaveData, ServerDesignerCommon", "IgnoreBlank": false }, "TestData": "shamus" }, { "$type": "Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon", "Name": "工时数", "DataValidationInfo": { "$type": "Forguncy.SaveLoad.DataValidationInfoSaveData, ServerDesignerCommon", "IgnoreBlank": false }, "TestData": "0" }, { "$type": "Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon", "Name": "进展内容", "DataValidationInfo": { "$type": "Forguncy.SaveLoad.DataValidationInfoSaveData, ServerDesignerCommon" }, "TestData": "1. 测试\r\n2.2323\r\n3、333\r\n4. 444\r\n- sdfdsf" }, { "$type": "Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon", "Name": "指定时薪单价", "DataValidationInfo": { "$type": "Forguncy.SaveLoad.DataValidationInfoSaveData, ServerDesignerCommon" } }, { "$type": "Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon", "Name": "反馈ID", "DataValidationInfo": { "$type": "Forguncy.SaveLoad.DataValidationInfoSaveData, ServerDesignerCommon" } } ] }, "InvokeTriggerTestData": { "$type": "Forguncy.SaveLoad.InvokeTriggerTestDataSaveData, ServerDesignerCommon", "UserName": "Administrator" } } ] }, "Commands": { "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.CatchExceptionCommand, ServerDesignerCommon", "TryCommandPart": { "$type": "Forguncy.Model.ExceptionCommandBaseNode, ServerDesignerCommon", "CommandList": { "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", "ParameterName": "任务信息", "TableValue": { "$type": "Forguncy.Model.Commands.ParameterTableValue, ServerDesignerCommon", "TableName": "任务平行视图", "TableValueType": 1, "BindingInfos": { "$type": "System.Collections.Generic.List`1[[Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon", "GUID": "73cab051-4981-451d-8e25-12bfcb1b7d6f", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "任务平行视图", "ColumnName": "项目ID", "GUID": "7fdb06e2-cdb4-4b14-96e5-b16a0dc7ebf8" }, "ColumnName": "项目ID" }, { "$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon", "GUID": "a661203f-2a9a-425c-9a70-0bd2c108c0dd", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "任务平行视图", "ColumnName": "任务名称", "GUID": "67c8366a-f017-4613-ab85-45f9735a09e9" }, "ColumnName": "任务名称" }, { "$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon", "GUID": "4397f439-0ebf-4569-a805-e551990474ab", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "任务平行视图", "ColumnName": "项目ID", "GUID": "7c382f44-2671-42e4-bcb6-54391d8ca5c1", "RelationBinding": { "$type": "ForguncyDataAccess.RelationBinding, ForguncyDataAccess", "RelatedTable": "项目平行视图", "RelatedColumn": "ID", "DisplayColumn": "严格模式" } }, "ColumnName": "严格模式" }, { "$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon", "GUID": "67003c11-d82c-4a3d-938a-50483ce1dfe9", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "任务平行视图", "ColumnName": "项目ID", "GUID": "e7579388-e204-4b20-80bb-252f08702dcb", "RelationBinding": { "$type": "ForguncyDataAccess.RelationBinding, ForguncyDataAccess", "RelatedTable": "项目平行视图", "RelatedColumn": "ID", "DisplayColumn": "工时分配方式" } }, "ColumnName": "工时分配方式" }, { "$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon", "GUID": "414b51d3-0095-42b6-ba3d-0d6260b0a59a", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "任务平行视图", "ColumnName": "任务状态", "GUID": "dbce198e-cb11-4ac9-96e3-d3747a2ca23b" }, "ColumnName": "任务状态" }, { "$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon", "GUID": "cbc00a12-b92b-4d89-bf75-62a2d10c760e", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "任务平行视图", "ColumnName": "任务状态", "GUID": "b316af2a-362c-4368-87f3-06a450cf885f", "RelationBinding": { "$type": "ForguncyDataAccess.RelationBinding, ForguncyDataAccess", "RelatedTable": "任务状态", "RelatedColumn": "状态码", "DisplayColumn": "任务状态" } }, "ColumnName": "任务状态文本" } ] }, "SqlCondition": { "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", "ColumnBindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "任务平行视图", "ColumnName": "ID", "GUID": "24d636d8-dc6e-4105-aad7-e3fcb17e77cb" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=任务ID" } }, "NullFormulaValueQueryPolicy": 0, "TopCount": "1" }, "ID": "3b8850e5b77640ff80ac3afe2028fda2", "BreakpointIdentity": "761c597e-0bd8-4a79-aa18-bc101a591fd8" }, { "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", "ConditionAndCommandPairList": { "$type": "System.Collections.Generic.List`1[[Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon", "Condition": { "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", "param": { "$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon", "ParamObject": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=任务信息.任务状态" } }, "value": "2" }, "CommandList": { "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon", "ServerCommandName": "计算报工数据", "Parameters": { "$type": "System.Collections.Generic.List`1[[Forguncy.Model.RequestServerCommandParamBase, ServerDesignerCommon]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon", "ParamName": "任务ID", "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=任务ID" } }, { "$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": "=指定时薪单价" } } ] }, "ResultErrorCodeTo": { "$type": "Forguncy.Common.FormulaCellLocation, ServerDesignerCommon", "SerializeProperty": "code" }, "ResultMessageTo": { "$type": "Forguncy.Common.FormulaCellLocation, ServerDesignerCommon", "SerializeProperty": "msg" }, "ReturnPropertiesTo": { "$type": "System.Collections.Generic.List`1[[Forguncy.Model.ReturnPropertyTo, ServerDesignerCommon]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.ReturnPropertyTo, ServerDesignerCommon", "ResultPropertyName": "提交工时", "ResultTo": { "$type": "Forguncy.Common.FormulaCellLocation, ServerDesignerCommon", "SerializeProperty": "提交工时" } }, { "$type": "Forguncy.Model.ReturnPropertyTo, ServerDesignerCommon", "ResultPropertyName": "核定工时", "ResultTo": { "$type": "Forguncy.Common.FormulaCellLocation, ServerDesignerCommon", "SerializeProperty": "核定工时" } }, { "$type": "Forguncy.Model.ReturnPropertyTo, ServerDesignerCommon", "ResultPropertyName": "提成系数", "ResultTo": { "$type": "Forguncy.Common.FormulaCellLocation, ServerDesignerCommon", "SerializeProperty": "提成系数" } }, { "$type": "Forguncy.Model.ReturnPropertyTo, ServerDesignerCommon", "ResultPropertyName": "计算时薪", "ResultTo": { "$type": "Forguncy.Common.FormulaCellLocation, ServerDesignerCommon", "SerializeProperty": "计算时薪" } }, { "$type": "Forguncy.Model.ReturnPropertyTo, ServerDesignerCommon", "ResultPropertyName": "核定收益", "ResultTo": { "$type": "Forguncy.Common.FormulaCellLocation, ServerDesignerCommon", "SerializeProperty": "核定收益" } }, { "$type": "Forguncy.Model.ReturnPropertyTo, ServerDesignerCommon", "ResultPropertyName": "时薪来源", "ResultTo": { "$type": "Forguncy.Common.FormulaCellLocation, ServerDesignerCommon", "SerializeProperty": "时薪来源" } }, { "$type": "Forguncy.Model.ReturnPropertyTo, ServerDesignerCommon", "ResultPropertyName": "核定工时说明", "ResultTo": { "$type": "Forguncy.Common.FormulaCellLocation, ServerDesignerCommon", "SerializeProperty": "工时核定说明" } }, { "$type": "Forguncy.Model.ReturnPropertyTo, ServerDesignerCommon", "ResultPropertyName": "报工人姓名" } ] }, "RefreshAfterFinish": true, "CheckDataValidation": true, "BreakpointIdentity": "18e7b6db-3f6d-49ea-839b-47c393bab940" }, { "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", "ConditionAndCommandPairList": { "$type": "System.Collections.Generic.List`1[[Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon", "Condition": { "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", "param": { "$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon", "ParamObject": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=code" } }, "value": "0" }, "CommandList": { "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", "ParameterName": "分配天数", "ParameterValue": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=DATEDIF(开始日期,结束日期,\"d\")+1" }, "ID": "9e168dd0c268433e9bcc733a6477cf2e", "BreakpointIdentity": "0729cbfa-d2e1-4460-a329-75d0531f26fe" }, { "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", "ParameterName": "待分配工时", "ParameterValue": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=核定工时" }, "ID": "3e3182753b7c4738ba3b1677f0a33da2", "BreakpointIdentity": "3015579d-05c1-4aad-bc6e-d61d6fce930c" }, { "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", "ParameterName": "待分配上报工时", "ParameterValue": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=工时数" }, "ID": "04b93773b7d84e33b23af98da0891576", "BreakpointIdentity": "0b6334e6-b1a1-4493-b680-abedad02ae1f" }, { "$type": "Forguncy.Model.ServerTransactionCommand, ServerDesignerCommon", "CommandList": { "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.LoopCommand, ServerDesignerCommon", "LoopInfo": { "$type": "Forguncy.Model.CountLoopInfo, ServerDesignerCommon", "LoopCount": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=分配天数" }, "LoopIndexParamName": "index", "LoopItemParamName": "Item" }, "CommandList": { "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", "ParameterName": "当前日期", "ParameterValue": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=开始日期+(index-1)" }, "ID": "e3a8e9da07c247d2bf471c00cdd5dac9", "BreakpointIdentity": "34f728da-83f4-4641-8b49-dc61496f05f7" }, { "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", "ParameterName": "统计工时", "TableValue": { "$type": "Forguncy.Model.Commands.ParameterTableValue, ServerDesignerCommon", "TableName": "View_任务工时统计", "TableValueType": 1, "BindingInfos": { "$type": "System.Collections.Generic.List`1[[Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon", "GUID": "77edb895-c01f-4f57-9d1b-ebd22738e87a", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "View_任务工时统计", "ColumnName": "总计划工时", "GUID": "5a63c0a3-e5dd-4851-b197-856a144a9466" }, "ColumnName": "总计划工时" }, { "$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon", "GUID": "f84fce9c-f3ff-449d-825e-eb0da9a68372", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "View_任务工时统计", "ColumnName": "总核定工时", "GUID": "21ea4bc4-f68e-446b-9760-413f048a32ea" }, "ColumnName": "总实际工时" } ] }, "SqlCondition": { "$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess", "SubConditions": { "$type": "System.Collections.Generic.List`1[[ForguncyDataAccess.ISqlCondition, ForguncyDataAccess]], System.Private.CoreLib", "$values": [ { "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", "ColumnBindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "View_任务工时统计", "ColumnName": "任务ID", "GUID": "8d915019-2cfd-4c95-b3b3-158f9b202f35" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=任务ID" } }, { "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", "ColumnBindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "View_任务工时统计", "ColumnName": "执行人", "GUID": "14c58079-0d75-42a0-a3ba-8f35c3a578a1" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=执行人" } }, { "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", "ColumnBindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "View_任务工时统计", "ColumnName": "日期", "GUID": "abf612b1-a865-4aa4-afae-e47acfc79220" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=当前日期" } } ] } } }, "ID": "11c2430cef2041938ec503c42a76bf4f", "BreakpointIdentity": "558ee01b-21e6-4f06-8a1b-1bc5369ac88b" }, { "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", "ConditionAndCommandPairList": { "$type": "System.Collections.Generic.List`1[[Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon", "Condition": { "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", "param": { "$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon", "ParamObject": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=index" } }, "value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=分配天数" }, "compareType": 4 }, "CommandList": { "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", "ParameterName": "计算上报工时", "ParameterValue": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=ROUNDUP(核定工时/分配天数,1)" }, "ID": "1d0a8e541f5a4d8792f0be39665a1f82", "BreakpointIdentity": "c0b7936a-1c76-40b1-8b5d-1b34805e6cbb" }, { "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", "ParameterName": "计算本次分配工时", "ParameterValue": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=ROUNDUP(核定工时/分配天数,1)" }, "ID": "2d719d51ef5a46ee9aa64f113a34cce3", "BreakpointIdentity": "70d384c7-81cc-441f-bcf3-cbef9bd7be9e" } ] }, "ID": "a4ddff2d-8a88-4bba-bfd2-e205f05b3ec3" }, { "$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon", "CommandList": { "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", "ParameterName": "计算上报工时", "ParameterValue": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=待分配上报工时" }, "ID": "c812d51f95704a98b5b24d093a898de5", "BreakpointIdentity": "1471d00a-bbab-4331-84b1-d97786a50050" }, { "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", "ParameterName": "计算本次分配工时", "ParameterValue": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=待分配工时" }, "ID": "11255bb1a556487e972cf64b9d1da58b", "BreakpointIdentity": "1f6222cc-3ba8-4337-abd1-ab1c901a6c24" } ] }, "ID": "75e8260d-aaa2-401b-8ac4-4c57d4d2c35f" } ] }, "BreakpointIdentity": "ed43eef0-ee0e-450d-a9aa-e7c27f25c9d8" }, { "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", "ConditionAndCommandPairList": { "$type": "System.Collections.Generic.List`1[[Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon", "Condition": { "$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess", "SubConditions": { "$type": "System.Collections.Generic.List`1[[ForguncyDataAccess.ISqlCondition, ForguncyDataAccess]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", "param": { "$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon", "ParamObject": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=统计工时.总实际工时+计算上报工时" } }, "value": "24", "compareType": 5 }, { "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", "param": { "$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon", "ParamObject": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=任务信息.严格模式" } }, "value": "1", "compareType": 1 } ] }, "RelationType": 1 }, "CommandList": { "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", "ConditionAndCommandPairList": { "$type": "System.Collections.Generic.List`1[[Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon", "Condition": { "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", "param": { "$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon", "ParamObject": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=任务信息.严格模式" } }, "value": "1" }, "CommandList": { "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", "ConditionAndCommandPairList": { "$type": "System.Collections.Generic.List`1[[Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon", "Condition": { "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", "param": { "$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon", "ParamObject": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=任务信息.工时分配方式" } }, "value": "2" }, "CommandList": { "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", "ParameterName": "本次核定工时", "ParameterValue": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=IF(计算本次分配工时>(个人工时情况.总计划工时-个人工时情况.总实际工时),(个人工时情况.总计划工时-个人工时情况.总实际工时),计算本次分配工时)" }, "ID": "6928da5ea67d4786a7f8c0215c904bd4", "BreakpointIdentity": "dae01022-b3cb-444d-8ff9-ced02a5e0dba" } ] }, "Comments": "如果是分配到天,就检测当前日期该人员在任务里的计划工时是否够用", "ID": "381b7c6e-530e-447b-acf3-e2bbff377a0d" }, { "$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon", "CommandList": { "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", "ParameterName": "本次核定工时", "ParameterValue": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=计算本次分配工时" }, "ID": "82c651b1c1424340b8c6b3ed1361b1fd", "BreakpointIdentity": "cf7a722d-803a-4dab-9b44-69aeb799d85b" } ] }, "ID": "bd929bb5-aa9c-4e2e-94ed-5d372a857544" } ] }, "BreakpointIdentity": "c1869dd6-46b8-4906-bd19-1bbe03f5e926" } ] }, "Comments": "如果是按天分配,则需要检测这一天的实际工时是否超出,", "ID": "3b7af60e-3f3c-4a2e-9e24-aca495c84ba7" }, { "$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon", "CommandList": { "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", "ParameterName": "本次核定工时", "ParameterValue": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=计算本次分配工时" }, "ID": "3f324a9712e14a6693472fa215c3143f", "BreakpointIdentity": "da8430d1-25b5-4faa-b18a-d964155ca525" } ] }, "ID": "abb78b5a-1cbc-457e-bb75-839eda1051d9" } ] }, "BreakpointIdentity": "ac8ad55f-53f4-4932-83c8-3c35ba157944" }, { "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", "ConditionAndCommandPairList": { "$type": "System.Collections.Generic.List`1[[Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon", "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": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", "$values": [ { "$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit", "Operation": 17, "OperationParamaterAName": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=CHAR(10)&CHAR(13)" }, "OperationParamaterBName": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=进展内容" }, "OutParamaterName": "进展内容拆分数组", "BreakpointIdentity": "f0f1e10a-3586-4127-bbc9-c48c22e41c9e" }, { "$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit", "OutParamaterName": "新内容数组", "BreakpointIdentity": "0903cfe5-e95b-4d1b-afec-4eca1c1bcad4" }, { "$type": "Forguncy.Model.LoopCommand, ServerDesignerCommon", "LoopInfo": { "$type": "Forguncy.Model.CountLoopInfo, ServerDesignerCommon", "LoopCount": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=进展内容拆分数组" }, "LoopItemParamName": "进展内容item" }, "CommandList": { "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", "$values": [ { "$type": "GETPOST.正则类.正则_取匹配文本, GETPOST", "JieShouMsg": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=进展内容item" }, "JieShouMsg2": "^[^\\S\\r\\n]*[\\d]*[、.\\-]?[^\\S\\r\\n]*", "FanHuiMsg": "取无用符号", "BreakpointIdentity": "2e9eca06-9b8a-42f4-a565-4532f09664a4" }, { "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", "ParameterName": "新进展内容行", "ParameterValue": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=SUBSTITUTE(进展内容item,取无用符号,\" - \")" }, "ID": "20472572ee904f20a1ea7c5f32683622", "BreakpointIdentity": "2ec6f84b-dcc8-4465-9c55-a9ad5eb032b7" }, { "$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit", "InParamater": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=新内容数组" }, "Operation": 4, "OperationParamaterAName": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=新进展内容行" }, "OutParamaterName": "新内容数组", "BreakpointIdentity": "a43108e7-69ef-42b2-ae53-7f623d76cf8b" } ] }, "BreakpointIdentity": "83ce7837-5595-4b63-b3fa-8cc6972a2b7f" }, { "$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit", "InParamater": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=新内容数组" }, "Operation": 16, "OperationParamaterAName": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=CHAR(10)" }, "OutParamaterName": "新内容", "BreakpointIdentity": "d9f42592-5617-41a2-9a85-8a489b7cc41c" } ] }, "ID": "8bc59293-d85b-426b-abcd-35cbfd74a881" }, { "$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon", "CommandList": { "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", "ParameterName": "新内容", "ID": "6d592b1c11a440eca4cce1c308f09b8c", "BreakpointIdentity": "b2f90a70-5bb7-4fd4-ac80-cc337b4f9f0b" } ] }, "ID": "8287b194-27c6-41bd-acfc-c5b7029412c5" } ] }, "BreakpointIdentity": "053eb867-d7d4-4e70-94c3-7d4f28531dbf" }, { "$type": "Forguncy.Model.ServerTransactionCommand, ServerDesignerCommon", "CommandList": { "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon", "TableName": "任务工时表", "UpdateType": "add", "ShowConfirm": false, "UpdateBindingValues": { "$type": "System.Collections.Generic.List`1[[Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "任务工时表", "ColumnName": "项目ID", "GUID": "f2ce327d-b71e-4029-afcc-c3376200c5e9" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=任务信息.项目ID" } }, { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "任务工时表", "ColumnName": "任务ID", "GUID": "361d433f-6757-4b60-8f34-f89c455aeb9f" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=任务ID" } }, { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "任务工时表", "ColumnName": "工时日期", "GUID": "7c7e48c2-c493-44ad-a2cf-d626ebcf794c" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=当前日期" } }, { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "任务工时表", "ColumnName": "工时类型", "GUID": "bb1ac03e-259e-45a7-a268-48c55ee45c98" }, "Value": "实际" }, { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "任务工时表", "ColumnName": "执行人", "GUID": "b1354227-4f44-46ce-85ee-bc248c5e4d38" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=执行人" } }, { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "任务工时表", "ColumnName": "执行内容", "GUID": "9694bd2f-8357-405d-9a8c-de3368e88709" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=新内容" } }, { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "任务工时表", "ColumnName": "工时", "GUID": "a9e983d2-1305-4488-9ef8-17461e687360" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=本次核定工时" } }, { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "任务工时表", "ColumnName": "上报工时", "GUID": "6dd3fa4f-32e4-4f08-bfbe-bc5683c9a204" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=计算上报工时" } }, { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "任务工时表", "ColumnName": "时薪单价", "GUID": "57bebfb3-b0f5-4ad6-ad29-78f3fa25e1a2" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=计算时薪" } }, { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "任务工时表", "ColumnName": "提成系数", "GUID": "68219797-7c08-4a0b-872c-92174d8dbd4a" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=提成系数" } }, { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "任务工时表", "ColumnName": "时薪来源", "GUID": "466f6a09-e91c-4396-9f15-e64a31464546" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=时薪来源" } } ] }, "ParamNameToSaveNewRowValue": "新任务", "BreakpointIdentity": "ca30ebc1-a684-4d51-818b-8b69d266a3f4" }, { "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", "ConditionAndCommandPairList": { "$type": "System.Collections.Generic.List`1[[Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon", "Condition": { "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", "param": { "$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon", "ParamObject": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=反馈ID" } }, "value": "%Null%", "compareType": 1 }, "CommandList": { "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon", "TableName": "需求反馈登记表", "ShowConfirm": false, "RowsToUpdate": 1, "RowsToUpdateCondition": { "$type": "ForguncyDataAccess.TextCESqlCondition, ForguncyDataAccess", "CompareType": 8, "ColumnBindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "需求反馈登记表", "ColumnName": "ID", "GUID": "89e3d55b-abd8-42bf-9db2-f602a925532f" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=反馈ID" } }, "UpdateBindingValues": { "$type": "System.Collections.Generic.List`1[[Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "需求反馈登记表", "ColumnName": "报工ID", "GUID": "faae7dbb-6dd9-40a5-a08a-3a0e56522fb2" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=新任务.ID" } } ] }, "ParamNameToSaveNewRowValue": "新任务", "Comments": "新增加的字段,用于记录该上报工时包含哪些反馈", "BreakpointIdentity": "f892cb54-5726-4986-a908-b1d7bb41d291" } ] }, "ID": "cac95eb6-aa8d-46d9-95bd-681cd3b68e5d" } ] }, "BreakpointIdentity": "b9b49e48-9dd8-402f-b3dd-1c6522af0b70" }, { "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", "ConditionAndCommandPairList": { "$type": "System.Collections.Generic.List`1[[Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon", "Condition": { "$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess", "SubConditions": { "$type": "System.Collections.Generic.List`1[[ForguncyDataAccess.ISqlCondition, ForguncyDataAccess]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", "param": { "$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon", "ParamObject": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=任务信息.工时分配方式" } }, "value": "3" }, { "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", "param": { "$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon", "ParamObject": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=本次核定工时" } }, "value": "0", "compareType": 1 } ] } }, "CommandList": { "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon", "TableName": "任务工时表", "UpdateType": "add", "ShowConfirm": false, "UpdateBindingValues": { "$type": "System.Collections.Generic.List`1[[Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "任务工时表", "ColumnName": "项目ID", "GUID": "e676d48d-baf3-450b-9f05-c11c539a31ad" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=任务信息.项目ID" } }, { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "任务工时表", "ColumnName": "任务ID", "GUID": "e48079a0-55bd-4328-9be3-c95572ff7708" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=任务ID" } }, { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "任务工时表", "ColumnName": "工时日期", "GUID": "5191eccf-01ca-4749-a3de-2edcc340260e" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=当前日期" } }, { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "任务工时表", "ColumnName": "工时类型", "GUID": "f692b8f7-0bc5-40d2-ac32-eb581d65fc60" }, "Value": "计划" }, { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "任务工时表", "ColumnName": "执行人", "GUID": "fb22c50d-23ef-463c-871a-412473c4e0a1" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=执行人" } }, { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "任务工时表", "ColumnName": "执行内容", "GUID": "3ca98b27-9ec6-40db-aea2-9240500a20bd" }, "Value": "系统自动生成对应计划,保证任务可分配工时" }, { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "任务工时表", "ColumnName": "工时", "GUID": "112e6f82-23fd-464b-a8d3-33f09bf987cc" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=本次核定工时" } }, { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "任务工时表", "ColumnName": "上报工时", "GUID": "aab359de-b796-4a43-a77c-f7f8dd6a5ac4" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=计算上报工时" } }, { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "任务工时表", "ColumnName": "时薪单价", "GUID": "0740a118-999e-43e6-b6a0-cbb732be606f" }, "Value": "0" }, { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "任务工时表", "ColumnName": "提成系数", "GUID": "02fde094-9a0b-4430-a20a-7ad70c99a06e" }, "Value": "0" }, { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "任务工时表", "ColumnName": "时薪来源", "GUID": "6781d0f8-4c8e-4297-aa19-86767fe8bd28" } } ] }, "Comments": "针对分配到任务的场景,系统补一个计划任务,保证视图数据正常", "BreakpointIdentity": "2c2fdee7-9972-478a-8041-b844174a7dba" } ] }, "Comments": "如果是分配到任务,就补一条计划,保证任务可分配工时准确", "ID": "40f996f0-2cc2-40ef-9543-1049438f7155" } ] }, "Disabled": true, "BreakpointIdentity": "13f4ef2c-6d2b-4d57-9d75-23c5de5704ac" } ] }, "BreakpointIdentity": "a30ea646-23ca-4701-8e3c-41d8de7777dc" }, { "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", "ParameterName": "待分配工时", "ParameterValue": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=ROUNDUP(待分配工时-计算上报工时,1)" }, "ID": "0a87d0ac1625451caaae7de7289a1cd4", "BreakpointIdentity": "012afbb6-b47f-49f5-a588-3ca3f1d74f29" }, { "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", "ParameterName": "待分配上报工时", "ParameterValue": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=ROUNDUP(待分配上报工时-计算上报工时,1)" }, "ID": "dfe08a493a80498e8915bc2fe710ad21", "BreakpointIdentity": "c2cc44c2-2ef8-4217-a7e7-c443e792167b" } ] }, "ID": "a31755e6-32a0-4375-880b-e2dd7f9ca06d" }, { "$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon", "CommandList": { "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", "ErrorCode": "400", "Message": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=\"数据不合理:报工会导致在\"&TEXT(当前日期,\"yyyy年mm月dd\")&\"的实际工时会超过24小时,请修改后重新提交!\"" }, "BreakpointIdentity": "d49e413c-feb2-44d2-a9fc-db10c617b08d" } ] }, "ID": "e6c97ce8-3d45-413b-9f6b-a72bfd233f47" } ] }, "BreakpointIdentity": "28f3b19b-e380-4214-adc0-5653cd85a25d" } ] }, "BreakpointIdentity": "6e6ccbff-ef98-4a91-a233-e87b1b49596d" }, { "$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon", "TableName": "项目动态", "UpdateType": "add", "ShowConfirm": false, "UpdateBindingValues": { "$type": "System.Collections.Generic.List`1[[Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "项目动态", "ColumnName": "项目ID", "GUID": "c9c79730-b19e-4136-89f1-ba5b5830cb79" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=任务信息.项目ID" } }, { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "项目动态", "ColumnName": "项目动态", "GUID": "ed887615-8287-4b3c-aa60-014a23388c34" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=执行人&\"在任务[\"&任务信息.任务名称&\"]中报工\"&工时数&\"小时\"" } }, { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "项目动态", "ColumnName": "执行人", "GUID": "2f91b750-3770-4d78-a24a-97ad19983e5a" }, "Value": "%CurrentUser%" }, { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "项目动态", "ColumnName": "类型", "GUID": "7f659f4b-aabd-408e-a580-0537817bddf3" }, "Value": "5" } ] }, "BreakpointIdentity": "0d6a26fb-dbd2-4ecf-992a-87f49c54b520" } ] }, "BreakpointIdentity": "3059effa-388b-4255-9659-1c90815c20bf" }, { "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", "ErrorCode": "0", "Message": "报工成功", "BreakpointIdentity": "d41ca8e4-6809-4867-a552-87afeab7af16" } ] }, "ID": "f9c6be1e-aa8e-435a-bdf3-19917483aa78" }, { "$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon", "CommandList": { "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", "ErrorCode": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=code" }, "Message": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=msg" }, "BreakpointIdentity": "7e106f7e-873a-438d-bd52-2de9a613e09b" } ] }, "ID": "29d3fc07-9605-4dd5-8f12-4b7c70c6c9f2" } ] }, "BreakpointIdentity": "3059158d-cabe-408c-99de-656a5f5a6385" } ] }, "ID": "82138c56-d633-4ca5-a1bd-e8a9ea6cc376" }, { "$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon", "CommandList": { "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", "ErrorCode": "400", "Message": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=\"当前任务状态为[\"&任务信息.任务状态文本&\"],无法提交工时!\"" }, "BreakpointIdentity": "0aaa6c8c-96cd-412d-8b37-7ccfaf07327b" } ] }, "ID": "2c5c55a7-0c89-4413-9375-668bb50cb4db" } ] }, "BreakpointIdentity": "4ef56bf8-3e8e-427b-80ce-7f7815753ba8" } ] } }, "CatchCommandPart": { "$type": "Forguncy.Model.CatchCommandNode, ServerDesignerCommon", "CommandList": { "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", "ErrorCode": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=ExceptionCode" }, "Message": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=ExceptionMessage" }, "BreakpointIdentity": "20fef0c0-2b5c-4ab7-a380-0b642e0a9cb7" } ] } }, "BreakpointIdentity": "03ba8cee-4e2d-4f80-a934-cad34ee0c0ac" } ] }, "ReturnProperties": { "$type": "System.Collections.Generic.List`1[[Forguncy.SaveLoad.ReturnPropertySaveData, ServerDesignerCommon]], System.Private.CoreLib", "$values": [] } }