Files
clue/ServerCommands/工时/计算报工数据.json
超哥 0d4aabf056 {"Message":"完善任务删除逻辑;\r\n完善工时删除逻辑;\r\n完善项目申请流程;\r\n完善任务新增流程;","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":1,"Name":"PCPage/项目信息"},{"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":1,"Name":"PCPage/新增任务"},{"State":1,"Type":31,"Name":"UserControlPage/工时记录列表"},{"State":1,"Type":15,"Name":"ServerCommand/修改任务预算工时"},{"State":1,"Type":15,"Name":"ServerCommand/删除任务成员所有工时"},{"State":1,"Type":15,"Name":"ServerCommand/上报实际工时"},{"State":1,"Type":15,"Name":"ServerCommand/分配任务工时"},{"State":1,"Type":9,"Name":"Theme"},{"State":1,"Type":15,"Name":"ServerCommand/计算报工数据"},{"State":1,"Type":15,"Name":"ServerCommand/任务发起流程前校验"},{"State":1,"Type":28,"Name":"ProcessItem/新增任务流程"},{"State":1,"Type":23,"Name":"TableView/项目平行视图"},{"State":1,"Type":23,"Name":"TableView/任务平行视图"},{"State":2,"Type":15,"Name":"ServerCommand/新增任务"},{"State":1,"Type":1,"Name":"PCPage/创建项目"},{"State":2,"Type":15,"Name":"ServerCommand/创建项目校验"},{"State":3,"Type":6,"Name":"Pages/任务/任务审批"},{"State":3,"Type":1,"Name":"PCPage/任务审批"},{"State":3,"Type":15,"Name":"ServerCommand/发起任务(废弃)"},{"State":3,"Type":15,"Name":"ServerCommand/项目流程发起前校验"},{"State":3,"Type":27,"Name":"ServerCommandPrivate/递归检测子任务"},{"State":3,"Type":15,"Name":"ServerCommand/删除任务"},{"State":3,"Type":27,"Name":"ServerCommandPrivate/递归删除任务"}],"Version":"v1"}
2024-06-19 16:45:52 +08:00

1251 lines
62 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"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
},
"TestData": "1"
},
{
"Name": "执行人",
"DataValidationInfo": {
"IgnoreBlank": false
},
"TestData": "shamus"
},
{
"Name": "工时数",
"DataValidationInfo": {
"IgnoreBlank": false
},
"TestData": "2000"
},
{
"Name": "指定时薪单价",
"DataValidationInfo": {}
}
],
"InvokeTriggerTestData": {
"UserName": "Administrator"
}
}
],
"Commands": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "任务信息",
"TableValue": {
"TableName": "任务平行视图",
"TableValueType": 1,
"BindingInfos": [
{
"GUID": "39dab506-e2ad-412b-9975-9de2594ff0c5",
"BindingInfo": {
"TableName": "任务平行视图",
"ColumnName": "项目ID",
"GUID": "7a775562-0089-4f89-b487-adb6c325aae7"
},
"ColumnName": "项目ID"
},
{
"GUID": "0bf5e3d4-b8b3-48de-af22-cd832c4b4483",
"BindingInfo": {
"TableName": "任务平行视图",
"ColumnName": "任务名称",
"GUID": "82947834-93d4-4141-ae13-ac868718c9e3"
},
"ColumnName": "任务名称"
},
{
"GUID": "e31a79b4-5df6-4605-bf94-041384467291",
"BindingInfo": {
"TableName": "任务平行视图",
"ColumnName": "任务预算工时",
"GUID": "9eadb3da-071f-490d-9a93-52bd6ab236c9"
},
"ColumnName": "任务预算工时"
},
{
"GUID": "a86844a7-eaa6-40df-bf96-e4e505bd9a5b",
"BindingInfo": {
"TableName": "任务平行视图",
"ColumnName": "任务状态",
"GUID": "8ab893d0-a983-49c5-83d4-f924307b44d8"
},
"ColumnName": "任务状态"
},
{
"GUID": "fa19a3b2-6f1b-4d06-b704-a21bc83a679c",
"BindingInfo": {
"TableName": "任务平行视图",
"ColumnName": "任务状态",
"GUID": "7dd81639-004a-4e1f-8801-bdb573d4689f",
"RelationBinding": {
"RelatedTable": "任务状态",
"RelatedColumn": "状态码",
"DisplayColumn": "任务状态"
}
},
"ColumnName": "任务状态文本"
},
{
"GUID": "3e739d34-6043-4507-a64a-bfd99fdf804c",
"BindingInfo": {
"TableName": "任务平行视图",
"ColumnName": "项目ID",
"GUID": "e7c38242-5a9e-4a27-9f2e-e7310190db0e",
"RelationBinding": {
"RelatedTable": "项目平行视图",
"RelatedColumn": "ID",
"DisplayColumn": "严格模式"
}
},
"ColumnName": "严格模式"
},
{
"GUID": "8a5fde98-bfd2-49ec-a770-a31211258766",
"BindingInfo": {
"TableName": "任务平行视图",
"ColumnName": "项目ID",
"GUID": "0c95b352-574d-479b-b97d-6216b400ee70",
"RelationBinding": {
"RelatedTable": "项目平行视图",
"RelatedColumn": "ID",
"DisplayColumn": "项目预算工时"
}
},
"ColumnName": "项目预算工时"
},
{
"GUID": "b00b7fc4-00f6-467b-9475-2d387b010d54",
"BindingInfo": {
"TableName": "任务平行视图",
"ColumnName": "项目ID",
"GUID": "4bc603a4-f90b-4160-abf6-efd30574f3db",
"RelationBinding": {
"RelatedTable": "项目平行视图",
"RelatedColumn": "ID",
"DisplayColumn": "项目预算费用"
}
},
"ColumnName": "项目预算费用"
},
{
"GUID": "c318a143-56b7-4628-b82c-467f4f506d43",
"BindingInfo": {
"TableName": "任务平行视图",
"ColumnName": "项目ID",
"GUID": "27e931f9-2c3b-4d36-9d31-f513387b9366",
"RelationBinding": {
"RelatedTable": "项目平行视图",
"RelatedColumn": "ID",
"DisplayColumn": "工时分配方式"
}
},
"ColumnName": "工时分配方式"
},
{
"GUID": "0a1b96c1-f955-4ce8-ae6d-3d1ce15d3ad3",
"BindingInfo": {
"TableName": "任务平行视图",
"ColumnName": "任务类型",
"GUID": "ccd2fb35-e336-4b95-a031-480e1b81d7e4",
"RelationBinding": {
"RelatedTable": "任务类型",
"RelatedColumn": "ID",
"DisplayColumn": "提成系数"
}
},
"ColumnName": "提成系数"
},
{
"GUID": "797a4cf1-880a-4657-bd17-166491e52aa6",
"BindingInfo": {
"TableName": "任务平行视图",
"ColumnName": "成员计划工时",
"GUID": "9b9f88c0-c367-46c7-948c-5b43579844d0"
},
"ColumnName": "总计划工时"
},
{
"GUID": "77eb05f5-194d-42b2-8ed0-24fe75365b7b",
"BindingInfo": {
"TableName": "任务平行视图",
"ColumnName": "成员实际工时",
"GUID": "980d85ec-3b78-448b-b4de-3987fd4e4f28"
},
"ColumnName": "总实际工时"
}
],
"SqlCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "任务平行视图",
"ColumnName": "ID",
"GUID": "9e13ce69-9a90-4903-b1bc-191e78046201"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务ID"
}
},
"NullFormulaValueQueryPolicy": 0,
"TopCount": "1"
},
"ID": "9f98969e7d3c42dc958ba4881eba224b"
},
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "任务成员",
"TableValue": {
"TableName": "任务成员视图",
"TableValueType": 1,
"BindingInfos": [
{
"GUID": "95107486-9b29-4c73-8f89-62be80d0240d",
"BindingInfo": {
"TableName": "任务成员视图",
"ColumnName": "任务成员",
"GUID": "c9f1bc1f-0740-4216-ac99-e79dd41fef88"
},
"ColumnName": "参与人"
},
{
"GUID": "6723495f-8637-4d58-bdb2-649aa4fb1d93",
"BindingInfo": {
"TableName": "任务成员视图",
"ColumnName": "任务成员",
"GUID": "5f56fb6d-7c2e-4270-94c8-ab56bc9b6ae7",
"AttachType": {
"$type": "ForguncyDataAccess.UserColumnAttachObj, ForguncyDataAccess",
"UserColumnAttachType": 1
}
},
"ColumnName": "参与人_全名"
},
{
"GUID": "27eded30-6e46-43a3-865e-519f92fcb92f",
"BindingInfo": {
"TableName": "任务成员视图",
"ColumnName": "任务成员",
"GUID": "781a90fc-9c77-43ca-a831-8006774fd4da",
"AttachType": {
"$type": "ForguncyDataAccess.UserColumnAttachObj, ForguncyDataAccess",
"UserColumnAttachType": 5,
"AttachTypeTag": "负荷"
}
},
"ColumnName": "参与人负荷"
},
{
"GUID": "655461f1-c357-428f-990d-5cbb79baf4ed",
"BindingInfo": {
"TableName": "任务成员视图",
"ColumnName": "默认时薪",
"GUID": "4d44146b-7124-4f18-aa8d-17da23a4c0b3"
},
"ColumnName": "成员时薪"
},
{
"GUID": "8d8eef54-67cd-4ecd-beac-5635c6f5134e",
"BindingInfo": {
"TableName": "任务成员视图",
"ColumnName": "岗位ID",
"GUID": "faf4cb38-75c8-4741-8b38-cefcb863754d",
"RelationBinding": {
"RelatedTable": "项目岗位",
"RelatedColumn": "ID",
"DisplayColumn": "默认时薪"
}
},
"ColumnName": "岗位时薪"
},
{
"GUID": "3ccae4c3-7547-4909-8821-4bacc610fa9b",
"BindingInfo": {
"TableName": "任务成员视图",
"ColumnName": "任务成员",
"GUID": "30da9fdf-e11e-4efe-94ec-0a98cc6fff27",
"AttachType": {
"$type": "ForguncyDataAccess.UserColumnAttachObj, ForguncyDataAccess",
"UserColumnAttachType": 5,
"AttachTypeTag": "默认时薪"
}
},
"ColumnName": "用户时薪"
}
],
"SqlCondition": {
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
"SubConditions": [
{
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "任务成员视图",
"ColumnName": "任务ID",
"GUID": "4cadf610-6894-4d43-a84b-ca682a8ebd1c"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务ID"
}
},
{
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "任务成员视图",
"ColumnName": "任务成员",
"GUID": "232ca578-e6be-4684-a198-81c16c892591"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=执行人"
}
}
]
},
"NullFormulaValueQueryPolicy": 0,
"TopCount": "1"
},
"ID": "29b01c80875b4c53b56afeb8829c0df6"
},
{
"$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": "核定工时说明",
"ParameterValue": "按正常核定",
"ID": "b16e7b987bb04c70a410df753fbeee20"
},
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "项目成员",
"TableValue": {
"TableName": "项目成员表",
"TableValueType": 1,
"BindingInfos": [
{
"GUID": "81cfbfdb-2497-4c80-8969-4d3a0e6a8e74",
"BindingInfo": {
"TableName": "项目成员表",
"ColumnName": "岗位ID",
"GUID": "e72fecb8-c4b6-4ef0-a802-f18cb6d6ba24",
"RelationBinding": {
"RelatedTable": "项目岗位",
"RelatedColumn": "ID",
"DisplayColumn": "默认时薪"
}
},
"ColumnName": "项目岗位时薪"
},
{
"GUID": "906b9a8e-10ce-4c3c-9d1b-55de074e0938",
"BindingInfo": {
"TableName": "项目成员表",
"ColumnName": "默认时薪",
"GUID": "90991267-4d34-4537-8be3-0ef990118f3e"
},
"ColumnName": "项目成员时薪"
}
],
"SqlCondition": {
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
"SubConditions": [
{
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "项目成员表",
"ColumnName": "项目ID",
"GUID": "25c7933c-8b27-4163-ad03-a22d7efe88fb"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务信息.项目ID"
}
},
{
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "项目成员表",
"ColumnName": "项目成员",
"GUID": "02b01205-9bbb-4e4f-8534-f52ea963c907"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=执行人"
}
}
]
},
"NullFormulaValueQueryPolicy": 0,
"TopCount": "1"
},
"ID": "17f1d03afb8745f49c7c4bb15b1cb482"
},
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "提成系数",
"ParameterValue": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务信息.提成系数"
},
"ID": "7edb658f76be4a2aafd12f785ba10d11"
},
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "核定工时",
"ParameterValue": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=工时数"
},
"ID": "ef1b4fe8bc0048d880ef5985f778eebe"
},
{
"$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.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": "计算时薪",
"ParameterValue": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务成员.成员时薪"
},
"ID": "c33d7341c73745a9ad4d94f64bc0a06c"
},
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "时薪计算来源",
"ParameterValue": "成员时薪",
"ID": "fbfb1d421b85425d8db5b6b2bac8aed1"
}
],
"Comments": "项目成员设置的时薪",
"ID": "46c598ab-4477-4e2a-b2a0-35359b41127d"
},
{
"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": "计算时薪",
"ParameterValue": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务成员.岗位时薪"
},
"ID": "24e1b15423514fa898c3e849e6641a3e"
},
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "时薪计算来源",
"ParameterValue": "项目岗位时薪",
"ID": "621753f632544315879bf59e65625f4e"
}
],
"Comments": "项目岗位设置的时薪",
"ID": "1d2c0e6a-69a1-475e-91cb-e6202a7e80f5"
},
{
"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": "计算时薪",
"ParameterValue": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务成员.用户时薪"
},
"ID": "ae5b39531d3b4679acfe463b62dd8cac"
},
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "时薪计算来源",
"ParameterValue": "用户默认时薪",
"ID": "eb64126e247b4986831480c66ca84918"
}
],
"Comments": "成员用户的默认时薪",
"ID": "2d070011-4179-409d-b9b1-2cead8e93f68"
},
{
"CommandList": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "计算时薪",
"ParameterValue": "0",
"ID": "671f14a1ad5949f7afcfc30d28fc477e"
},
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "时薪计算来源",
"ParameterValue": "无时薪配置",
"ID": "eb0ba1839ebc4ec58750e971080fc72b"
}
],
"ID": "d0b758f9-0d2e-4d2e-a28c-2f6ace22299d"
}
]
}
],
"Comments": "优先使用手动指定的提成金额",
"ID": "84056f4d-6445-40f0-bd6e-556cde5e8ab7"
},
{
"CommandList": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "计算时薪",
"ParameterValue": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=指定时薪单价"
},
"ID": "fc60439fc8cf41048b1245fd93c999ea"
},
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "时薪计算来源",
"ParameterValue": "特殊指定",
"ID": "2eafc4d65af44d18adfcd21c68734df8"
}
],
"ID": "b922bfd5-212e-48d6-a05b-98369f91b9f2"
}
],
"Comments": "计算成员的时薪"
},
{
"$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": "1"
},
"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": "2"
},
"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": "1"
},
"CommandList": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "个人工时情况",
"TableValue": {
"TableName": "View_任务工时统计",
"TableValueType": 1,
"BindingInfos": [
{
"GUID": "1b238274-dd6b-4c25-82ac-9b61d4efba32",
"BindingInfo": {
"TableName": "View_任务工时统计",
"ColumnName": "任务ID",
"GUID": "976cf4f1-2ec3-4537-8ca8-aac1d965131e"
},
"ColumnName": "任务ID"
},
{
"GUID": "1f313c9e-4960-484d-984f-75ab3965ccf5",
"BindingInfo": {
"TableName": "View_任务工时统计",
"ColumnName": "总计划工时",
"GUID": "37b1cd46-749c-4870-9e65-639974e237b4"
},
"ColumnName": "总计划工时"
},
{
"GUID": "bd3ba593-9a1e-4864-b038-670ae01756f1",
"BindingInfo": {
"TableName": "View_任务工时统计",
"ColumnName": "总实际工时",
"GUID": "58613864-7f3d-4ab2-9b2e-f1e1b7a86879"
},
"ColumnName": "总实际工时"
}
],
"SqlCondition": {
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
"SubConditions": [
{
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "View_任务工时统计",
"ColumnName": "任务ID",
"GUID": "b732175b-c55c-4a15-b703-223f45ab07a1"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务ID"
}
},
{
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "View_任务工时统计",
"ColumnName": "执行人",
"GUID": "4bd4f915-e792-4219-ad86-6602ef9080bd"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=执行人"
}
}
]
}
},
"ID": "bd1036451d524ce98a641c7eac350ccb",
"Comments": "从视图统计项目的信息"
},
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "个人工时余额",
"ParameterValue": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=个人工时情况.总计划工时-个人工时情况.总实际工时"
},
"ID": "d4e74f0bc6954a9db41a98ed631026b8"
},
{
"$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": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=工时数"
},
"compareType": 4
},
"CommandList": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "核定工时",
"ParameterValue": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=个人工时情况.总计划工时-个人工时情况.总实际工时"
},
"ID": "bde7738eb3154f93a0e189ea107db3ea"
},
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "核定工时说明",
"ParameterValue": "个人工时余额不足,按剩余工时核定!",
"ID": "58bcc74765f1449baceb214856d42160"
}
],
"Comments": "先检查个人工时余额够不够如果不够直接提成为0",
"ID": "acb9a740-8314-43da-a91a-575d2386bcc9"
}
]
}
],
"Comments": "如果分配到人头,则判断该人总计划工时还够不够",
"ID": "ec9432b0-8712-488a-b7b2-51451d9bc122"
},
{
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务信息.工时分配方式"
}
},
"value": "3"
},
"CommandList": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "任务工时情况",
"TableValue": {
"TableName": "View_任务工时统计",
"TableValueType": 1,
"BindingInfos": [
{
"GUID": "88e5a9aa-873c-46c3-b76f-69a424956526",
"BindingInfo": {
"TableName": "View_任务工时统计",
"ColumnName": "任务ID",
"GUID": "976cf4f1-2ec3-4537-8ca8-aac1d965131e"
},
"ColumnName": "任务ID"
},
{
"GUID": "5fed6798-5151-4540-b566-d913b4615d93",
"BindingInfo": {
"TableName": "View_任务工时统计",
"ColumnName": "总计划工时",
"GUID": "37b1cd46-749c-4870-9e65-639974e237b4"
},
"ColumnName": "总计划工时"
},
{
"GUID": "a30f02c0-4c0f-4308-a747-49bd5ac545dc",
"BindingInfo": {
"TableName": "View_任务工时统计",
"ColumnName": "总实际工时",
"GUID": "58613864-7f3d-4ab2-9b2e-f1e1b7a86879"
},
"ColumnName": "总实际工时"
}
],
"SqlCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "View_任务工时统计",
"ColumnName": "任务ID",
"GUID": "b732175b-c55c-4a15-b703-223f45ab07a1"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务ID"
}
}
},
"ID": "9dac211ac8804f90a07ac0a1924d99ca",
"Comments": "从视图统计项目的信息"
},
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "任务工时余额",
"ParameterValue": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务工时情况.总计划工时-任务工时情况.总实际工时"
},
"ID": "b8f71de2a6994493970617644965cf31"
},
{
"$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": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=工时数"
},
"compareType": 4
},
"CommandList": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "核定工时",
"ParameterValue": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务工时情况.总计划工时-任务工时情况.总实际工时"
},
"ID": "08d1a4cf3838487ea7f3a88f433c1b4a"
},
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "核定工时说明",
"ParameterValue": "任务工时余额不足,按剩余工时核定!",
"ID": "8ebb8fba5ce4400ca854cb1156c86f66"
}
],
"Comments": "先检查个人工时余额够不够如果不够直接提成为0",
"ID": "718f1af5-b069-444c-a889-19e2f7649321"
}
]
}
],
"Comments": "如果是共用任务工时,则查看任务计划工时够不够",
"ID": "f2793059-ef01-42fb-80db-9baf1d00af5b"
}
]
},
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "项目统计信息",
"TableValue": {
"TableName": "View_项目统计信息",
"TableValueType": 1,
"BindingInfos": [
{
"GUID": "5c1bf627-4570-41ca-b626-c506b3a2d24f",
"BindingInfo": {
"TableName": "View_项目统计信息",
"ColumnName": "项目预算费用",
"GUID": "1f23c586-e318-41f8-9e2c-f9fc47949199"
},
"ColumnName": "项目预算费用"
},
{
"GUID": "839f4ce0-15f4-4ac3-b60a-ac60f4f97665",
"BindingInfo": {
"TableName": "View_项目统计信息",
"ColumnName": "总成本",
"GUID": "7c3a493f-d2ac-49b3-957f-7a772d5138bf"
},
"ColumnName": "总成本"
}
],
"SqlCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "View_项目统计信息",
"ColumnName": "项目ID",
"GUID": "0aa2d908-82fb-4233-a1e8-eb5a36cecaa2"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务信息.项目ID"
}
},
"TopCount": "1"
},
"ID": "65e64feb95fa49a69eff18abf13b2d81",
"Comments": "从视图统计项目的信息"
},
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "预测本次产生成本",
"ParameterValue": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目统计信息.总成本+(计算时薪*工时数*任务信息.提成系数)"
},
"ID": "83e6abcf3cd543139068512f4079445a"
},
{
"$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": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目统计信息.项目预算费用"
},
"compareType": 2
},
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "400",
"Message": "该项目预算费用不足,为确保项目成本可控,请联系项目经理增加项目预算后再提交。",
"CustomReturns": [
{
"ReturnPropertyName": "提交工时",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=工时数"
}
},
{
"ReturnPropertyName": "核定工时",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=核定工时"
}
},
{
"ReturnPropertyName": "提成系数",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务信息.提成系数"
}
},
{
"ReturnPropertyName": "计算时薪",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=计算时薪"
}
},
{
"ReturnPropertyName": "核定收益",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=核定工时*计算时薪*提成系数"
}
},
{
"ReturnPropertyName": "时薪来源",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=时薪计算来源"
}
},
{
"ReturnPropertyName": "核定工时说明",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=核定工时说明"
}
}
]
}
],
"ID": "3215c3e4-48c4-46b5-824b-6d1a9f45f724"
},
{
"CommandList": [
{
"$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": "=核定工时"
}
},
{
"ReturnPropertyName": "提成系数",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务信息.提成系数"
}
},
{
"ReturnPropertyName": "计算时薪",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=计算时薪"
}
},
{
"ReturnPropertyName": "核定收益",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=核定工时*计算时薪*提成系数"
}
},
{
"ReturnPropertyName": "时薪来源",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=时薪计算来源"
}
},
{
"ReturnPropertyName": "核定工时说明",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=核定工时说明"
}
}
]
}
],
"ID": "0844e4a5-2170-4994-b15e-0aedc6dc925e"
}
]
}
],
"ID": "6673745e-9fa5-4654-90d9-e48dafb4bc58"
},
{
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "400",
"Message": "当前任务状态尚不允许报工",
"CustomReturns": [
{
"ReturnPropertyName": "提交工时"
},
{
"ReturnPropertyName": "核定工时"
},
{
"ReturnPropertyName": "提成系数"
},
{
"ReturnPropertyName": "计算时薪"
},
{
"ReturnPropertyName": "核定收益"
},
{
"ReturnPropertyName": "时薪来源"
},
{
"ReturnPropertyName": "核定工时说明"
}
]
}
],
"ID": "9b7bf5ad-256e-4fd1-a224-f23b23c2ca61"
}
]
}
],
"Comments": "如果提交的工时类型等于项目工时的核定方式且开启严格模式就校验本次有没有超标",
"ID": "93f0876c-6b08-4a3f-a164-ba0bb5ab67f8"
},
{
"CommandList": [
{
"$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": "=核定工时"
}
},
{
"ReturnPropertyName": "提成系数",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务信息.提成系数"
}
},
{
"ReturnPropertyName": "计算时薪",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=计算时薪"
}
},
{
"ReturnPropertyName": "核定收益",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=核定工时*计算时薪*提成系数"
}
},
{
"ReturnPropertyName": "时薪来源",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=时薪计算来源"
}
},
{
"ReturnPropertyName": "核定工时说明"
}
]
}
],
"ID": "8c2b57c1-1304-4c18-8b62-8a43f65248d6"
}
]
}
],
"ID": "20958383-bc4f-40d1-b302-1ff23f3f385b"
},
{
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "400",
"Message": "成员不在任务内,无法报工!",
"CustomReturns": [
{
"ReturnPropertyName": "提交工时"
},
{
"ReturnPropertyName": "核定工时"
},
{
"ReturnPropertyName": "提成系数"
},
{
"ReturnPropertyName": "计算时薪"
},
{
"ReturnPropertyName": "核定收益"
},
{
"ReturnPropertyName": "时薪来源"
},
{
"ReturnPropertyName": "核定工时说明"
}
]
}
],
"ID": "b795ba2b-32f7-4ce9-b5e3-614e7784b0b8"
}
]
}
],
"ReturnProperties": [
{
"Name": "提交工时"
},
{
"Name": "核定工时"
},
{
"Name": "提成系数"
},
{
"Name": "计算时薪"
},
{
"Name": "核定收益"
},
{
"Name": "时薪来源"
},
{
"Name": "核定工时说明"
}
]
}