{"Message":"1. 增加预算时长概念;\r\n2. 增加任务成员功能;\r\n3. 增加项目岗位;\r\n4. 增加任务时薪、岗位时薪、人员时薪;","MessageType":2,"Modules":[{"State":1,"Type":7,"Name":"Table/项目表"},{"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":9,"Name":"Theme"},{"State":1,"Type":11,"Name":"UserService"},{"State":1,"Type":1,"Name":"PCPage/任务-子任务列表"},{"State":1,"Type":1,"Name":"PCPage/任务-关联资源"},{"State":1,"Type":1,"Name":"PCPage/任务-进展"},{"State":1,"Type":23,"Name":"TableView/用户信息视图","ExclusiveType":0},{"State":1,"Type":23,"Name":"TableView/用户组织关系视图","ExclusiveType":0},{"State":1,"Type":23,"Name":"TableView/角色信息视图","ExclusiveType":0},{"State":1,"Type":23,"Name":"TableView/角色分类关系视图","ExclusiveType":0},{"State":1,"Type":23,"Name":"TableView/用户角色关系视图","ExclusiveType":0},{"State":1,"Type":23,"Name":"TableView/角色组织关系视图","ExclusiveType":0},{"State":1,"Type":23,"Name":"TableView/角色拥有权限视图","ExclusiveType":0},{"State":1,"Type":23,"Name":"TableView/组织信息视图","ExclusiveType":0},{"State":1,"Type":23,"Name":"TableView/组织级别视图","ExclusiveType":0},{"State":1,"Type":1,"Name":"PCPage/工时详情"},{"State":1,"Type":15,"Name":"ServerCommand/新增工时"},{"State":1,"Type":15,"Name":"ServerCommand/修改工时"},{"State":1,"Type":15,"Name":"ServerCommand/新增任务"},{"State":1,"Type":1,"Name":"PCPage/项目菜单"},{"State":1,"Type":1,"Name":"PCPage/项目信息"},{"State":3,"Type":7,"Name":"Table/项目分组","ExclusiveType":0},{"State":3,"Type":1,"Name":"PCPage/切换项目"},{"State":3,"Type":1,"Name":"PCPage/切换任务状态"},{"State":3,"Type":15,"Name":"ServerCommand/变更任务状态"},{"State":3,"Type":23,"Name":"TableView/人员工时统计视图"},{"State":3,"Type":7,"Name":"Table/项目岗位"},{"State":3,"Type":7,"Name":"Table/任务成员表"},{"State":3,"Type":6,"Name":"Pages/项目首页/项目配置"},{"State":3,"Type":1,"Name":"PCPage/项目配置首页"},{"State":3,"Type":1,"Name":"PCPage/项目岗位配置"},{"State":3,"Type":1,"Name":"PCPage/参与成员管理"}],"Version":"v1"}

This commit is contained in:
SHAMUSPC\NINGMEI
2024-03-02 14:09:09 +08:00
parent 1c79e67010
commit 879a79139f
39 changed files with 4874 additions and 942 deletions

View File

@@ -0,0 +1,398 @@
{
"Name": "变更任务状态",
"Enabled": true,
"Triggers": [
{
"$type": "Forguncy.ServerCommands.Models.PostRequestTrigger, 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
}
},
{
"Name": "状态码",
"DataValidationInfo": {
"IgnoreBlank": false
}
}
]
}
],
"Commands": [
{
"$type": "Forguncy.Model.CatchExceptionCommand, ServerDesignerCommon",
"TryCommandPart": {
"CommandList": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "任务信息",
"TableValue": {
"TableName": "任务表",
"TableValueType": 1,
"BindingInfos": [
{
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "任务状态",
"GUID": "afbdd48e-487e-440c-b59c-e565e61e9cd1"
},
"ColumnName": "任务状态"
},
{
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "任务状态",
"GUID": "c2c55272-c31d-4118-b3a8-a8e1690ce6b5",
"RelationBinding": {
"RelatedTable": "任务状态",
"RelatedColumn": "状态码",
"DisplayColumn": "任务状态"
}
},
"ColumnName": "任务状态文本"
},
{
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "执行者",
"GUID": "f650100e-6369-4760-a093-a73cb3a74f7a"
},
"ColumnName": "执行者"
},
{
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "开始时间",
"GUID": "fb57404b-3cad-4911-9eec-6a424d3ba882"
},
"ColumnName": "开始时间"
},
{
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "结束时间",
"GUID": "5b07138d-c511-4f69-ba7d-46c7e067ccd0"
},
"ColumnName": "结束时间"
},
{
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "任务类型",
"GUID": "4cd38e49-3e3a-4c0d-a71d-a3db6d2d4b60"
},
"ColumnName": "任务类型"
}
],
"SqlCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "任务表",
"ColumnName": "ID",
"GUID": "39e445d7-7f6a-4403-aaad-904e8e86474a"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务ID"
}
},
"TopCount": "1"
},
"ID": "92bcc24f55b847a9a5d795ab096048ed"
},
{
"$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.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": 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": "0"
},
"CommandList": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "任务工时",
"TableValue": {
"TableName": "任务工时表",
"TableValueType": 3,
"SqlCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "任务工时表",
"ColumnName": "任务ID",
"GUID": "484f7f7d-70e0-4450-b1b5-05e631733d79"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务ID"
}
},
"NullFormulaValueQueryPolicy": 0
},
"ID": "e07a763289954cb29930901258108a44"
},
{
"$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": "0",
"compareType": 2
},
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "400",
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=\"该任务已报工,无法切换至\"&任务信息.任务状态文本&\"状态\""
}
}
],
"ID": "57d72271-f903-47ea-88b1-772145976e08"
}
]
}
],
"ID": "1461a11a-f9bd-4d9f-a414-35b0e7471f86"
},
{
"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": "%Null%"
},
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "400",
"Message": "任务执行者不能为空"
}
],
"ID": "4381895d-aa83-45b0-b9a4-2c1ca6e8aa2b"
}
]
}
],
"ID": "2077a523-e818-4741-bf46-2836d81ad4a9"
},
{
"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": "%Null%"
},
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "400",
"Message": "任务执行者不能为空"
}
],
"ID": "381e934c-ce36-4b13-8abd-f889ea350a9d"
}
]
}
],
"ID": "5c67b8b1-d3d0-4068-bb42-346d51d4d375"
}
]
},
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "任务表",
"ShowConfirm": false,
"RowsToUpdate": 1,
"RowsToUpdateCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "任务表",
"ColumnName": "ID",
"GUID": "a2c10ff5-a33d-46de-b3f8-ddcfcc7948a7"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务ID"
}
},
"UpdateBindingValues": [
{
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "任务状态",
"GUID": "a698faf8-07b4-4e5f-ada0-dd9f31c1cdd7"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=状态码"
}
}
]
},
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": "操作成功"
}
],
"ID": "e358cd4e-0338-48cb-8b79-d474d8343331"
},
{
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": "操作成功"
}
],
"ID": "a79b949e-f0ff-44e7-9685-5693135ddec8"
}
]
}
],
"ID": "c6d0246e-17fc-45bf-b64f-33954fa2971b"
},
{
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon"
}
],
"ID": "d6a89ce9-b9c2-4091-80a8-c431a63ae888"
}
]
}
]
},
"CatchCommandPart": {
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ExceptionCode"
},
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ExceptionMessage"
}
}
]
}
}
]
}

View File

@@ -78,161 +78,257 @@
"TryCommandPart": {
"CommandList": [
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "任务表",
"UpdateType": "add",
"ShowConfirm": false,
"UpdateBindingValues": [
{
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "项目ID",
"GUID": "ff76b3a3-881e-4719-a83a-14d0f634497d"
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "参与人",
"TableValue": {
"TableName": "用户信息视图",
"BindingInfos": [
{
"BindingInfo": {
"TableName": "用户信息视图",
"ColumnName": "用户名",
"GUID": "51d4a9ca-c85c-4dd1-97d8-248303d2c5d1"
},
"ColumnName": "用户名"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目ID"
}
},
{
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "父任务ID",
"GUID": "0247aa38-8c81-4940-bc75-302de35a7c4a"
{
"BindingInfo": {
"TableName": "用户信息视图",
"ColumnName": "全名",
"GUID": "de53ee8c-3acf-4524-a8d4-88655d6504f3"
},
"ColumnName": "全名"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=父任务ID"
{
"BindingInfo": {
"TableName": "用户信息视图",
"ColumnName": "默认时薪",
"GUID": "cf38dbe9-3311-47a0-8e2b-358382d1c1e9"
},
"ColumnName": "默认时薪"
}
},
{
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "任务名称",
"GUID": "72503d5d-bc91-4c1f-be04-a8e04c7c886d"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务标题"
}
},
{
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "执行者",
"GUID": "240a30c9-0088-4974-853b-e3c0a737b89c"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务标题"
}
},
{
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "参与者",
"GUID": "1537acb2-7621-45ad-824a-0f04bb5cfbcb"
],
"SqlCondition": {
"$type": "ForguncyDataAccess.TextCESqlCondition, ForguncyDataAccess",
"CompareType": 8,
"ColumnBindingInfo": {
"TableName": "用户信息视图",
"ColumnName": "用户名",
"GUID": "b3340080-0c96-47f6-8a6c-8bb0b1db7e2c"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=参与人"
}
}
},
"ID": "cd95c7b64259445cb44beba6e33ffa63"
},
{
"$type": "Forguncy.Model.ServerTransactionCommand, ServerDesignerCommon",
"CommandList": [
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "任务表",
"UpdateType": "add",
"ShowConfirm": false,
"UpdateBindingValues": [
{
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "项目ID",
"GUID": "840c8c9e-c205-4aa6-8ae0-8fd2a2cf55f3"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目ID"
}
},
{
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "父任务ID",
"GUID": "e2193e55-9ed2-45fe-bb4b-ed01a39e8f0e"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=父任务ID"
}
},
{
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "任务名称",
"GUID": "61735f45-ac25-4b94-acd4-3e0ca04c286a"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务标题"
}
},
{
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "执行者",
"GUID": "8fd4e7c3-9cc8-4820-b538-8d38ce0397ac"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=执行人"
}
},
{
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "开始时间",
"GUID": "3c2005d1-3ffd-4fa3-a63e-8d730705f04a"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=开始日期"
}
},
{
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "结束时间",
"GUID": "9885b0a1-c0db-4469-a016-eec2c4c185d8"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=结束日期"
}
},
{
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "任务类型",
"GUID": "ed0cf347-43c6-4143-a3a0-47c6b719557b"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务类型"
}
},
{
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "分组ID",
"GUID": "fce23d46-9199-4655-9ea9-208f9c858e80"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务分组"
}
},
{
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "版本",
"GUID": "8db3510a-7e1c-4243-afbe-48966b63b530"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务版本"
}
},
{
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "任务说明",
"GUID": "1d077053-81b2-4291-b33b-f44d29b31b27"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务说明"
}
},
{
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "备注",
"GUID": "c614ca74-8059-486c-a881-a0ca4425df32"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=备注"
}
},
{
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "工时核定方式",
"GUID": "956b54f8-b234-4423-8e41-f255c3feaac2"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=工时核定方式"
}
},
{
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "任务状态",
"GUID": "1f8faed8-d128-4482-90c1-25e0e6cad40a"
},
"Value": "0"
}
],
"ParamNameToSaveNewRowValue": "新任务"
},
{
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "开始时间",
"GUID": "122bed43-b1c8-4082-b4a1-8e58b9f7c7a8"
"$type": "Forguncy.Model.LoopCommand, ServerDesignerCommon",
"LoopInfo": {
"$type": "Forguncy.Model.CountLoopInfo, ServerDesignerCommon",
"LoopCount": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=参与人"
},
"LoopItemParamName": "Item"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=开始日期"
}
},
{
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "结束时间",
"GUID": "6c1281e9-205c-466d-94eb-8020781bbd91"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=结束日期"
}
},
{
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "任务类型",
"GUID": "b20ec680-9479-4d02-a930-c88311d82b6c"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务类型"
}
},
{
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "分组ID",
"GUID": "c2071865-f380-419e-9e77-20642d0121bc"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务分组"
}
},
{
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "版本",
"GUID": "32dfbe51-6077-4e79-a99b-8ac3944b0e08"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务版本"
}
},
{
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "任务说明",
"GUID": "3bb00b65-95b4-4d34-b640-98130db8a89c"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务说明"
}
},
{
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "备注",
"GUID": "262c8ecc-2af6-456d-8f28-fd14d84d5c8d"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=备注"
}
},
{
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "工时核定方式",
"GUID": "76825213-c1b2-43df-8521-7889a516f1f8"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=工时核定方式"
}
},
{
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "任务状态",
"GUID": "663d69a6-3cb7-4362-863d-284768b26135"
},
"Value": "0"
"CommandList": [
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "任务成员表",
"UpdateType": "add",
"ShowConfirm": false,
"UpdateBindingValues": [
{
"BindingInfo": {
"TableName": "任务成员表",
"ColumnName": "任务ID",
"GUID": "9a85ad00-0b95-4ae4-8296-04862f2c8b03"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=新任务.ID"
}
},
{
"BindingInfo": {
"TableName": "任务成员表",
"ColumnName": "参与人",
"GUID": "404fdb7a-2ecd-4db1-8b39-aec7c663bfe3"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Item.用户名"
}
},
{
"BindingInfo": {
"TableName": "任务成员表",
"ColumnName": "任务时薪",
"GUID": "bea75b1c-9d0c-466e-ac27-37df94c31440"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Item.默认时薪"
}
}
]
}
]
}
]
},

View File

@@ -75,7 +75,7 @@
"BindingInfo": {
"TableName": "任务工时表",
"ColumnName": "任务ID",
"GUID": "f250f3d4-306f-4f2f-b1d3-0be7458a2623"
"GUID": "2a0f3989-eb4c-4880-9a84-e0bb02f0ff4f"
},
"ColumnName": "任务ID"
},
@@ -83,7 +83,7 @@
"BindingInfo": {
"TableName": "任务工时表",
"ColumnName": "工时类型",
"GUID": "2309d652-ed06-48e9-bbf9-fb9583aca0ce"
"GUID": "c2159a41-2005-4c9d-9d56-6837720b58ad"
},
"ColumnName": "工时类型"
},
@@ -91,7 +91,7 @@
"BindingInfo": {
"TableName": "任务工时表",
"ColumnName": "任务ID",
"GUID": "09989c87-5b7e-40eb-be4c-9ba87b32b467",
"GUID": "f5c955d8-221c-4d6f-9539-688cf2226c0d",
"RelationBinding": {
"RelatedTable": "任务表",
"RelatedColumn": "ID",
@@ -104,7 +104,7 @@
"BindingInfo": {
"TableName": "任务工时表",
"ColumnName": "任务ID",
"GUID": "ec846c2f-3aa5-4484-95ef-1972503a07b3",
"GUID": "b4e60853-be38-42dc-afe4-f7952fdc738b",
"RelationBinding": {
"RelatedTable": "任务表",
"RelatedColumn": "ID",
@@ -124,7 +124,7 @@
"ColumnBindingInfo": {
"TableName": "任务工时表",
"ColumnName": "ID",
"GUID": "cabb4369-8835-48c1-a904-84a5e39c961c"
"GUID": "98a8dedc-639e-4eee-b5d3-a160f03632ea"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -134,7 +134,7 @@
"NullFormulaValueQueryPolicy": 0,
"TopCount": "1"
},
"ID": "08a93b043f414bad996c1d2f2c516c4c"
"ID": "37d3a730e3c443e5a0faef85944856d7"
},
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
@@ -147,7 +147,7 @@
"BindingInfo": {
"TableName": "用户信息视图",
"ColumnName": "全名",
"GUID": "f0683fc3-36ac-4c4b-ab9a-dd9886a93fa5"
"GUID": "8b30a356-3f3b-4b53-8eca-8ddad3d5dc6a"
},
"ColumnName": "全名"
},
@@ -155,7 +155,7 @@
"BindingInfo": {
"TableName": "用户信息视图",
"ColumnName": "负荷",
"GUID": "50c4d16c-d1aa-4984-9701-89ad5d48ef41"
"GUID": "d045ab4b-5dc9-45b0-b0fd-e0820d081760"
},
"ColumnName": "负荷"
}
@@ -165,7 +165,7 @@
"ColumnBindingInfo": {
"TableName": "用户信息视图",
"ColumnName": "用户名",
"GUID": "d1335a82-4ec2-4bd6-8097-b8cde857970b"
"GUID": "4242eed5-1317-4247-85d6-487a0d28482d"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -175,7 +175,7 @@
"NullFormulaValueQueryPolicy": 0,
"TopCount": "1"
},
"ID": "62c361ee22e4405e96f2e66576c96c73"
"ID": "831eeac58ef048508ca1b6a6d9a0f130"
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
@@ -204,7 +204,7 @@
"BindingInfo": {
"TableName": "任务工时表",
"ColumnName": "总工时",
"GUID": "f3ff96b9-45fd-4ef8-b770-a8d687a57989"
"GUID": "37a2654f-b7c5-4e19-a9c3-6ab16b77bbe9"
},
"ColumnName": "总工时"
}
@@ -212,24 +212,12 @@
"SqlCondition": {
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
"SubConditions": [
{
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "任务工时表",
"ColumnName": "任务ID",
"GUID": "fc31ce71-9de3-410e-9bbe-e0c4f47901b4"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=报工信息.任务ID"
}
},
{
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "任务工时表",
"ColumnName": "执行人",
"GUID": "24a62ccf-962a-4f4b-b401-6ba78e64281a"
"GUID": "51191cba-1a0c-4290-b0e3-74d5138f35b9"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -241,7 +229,7 @@
"ColumnBindingInfo": {
"TableName": "任务工时表",
"ColumnName": "工时类型",
"GUID": "58bd9aa1-8b1f-4302-ae42-6182aa229f65"
"GUID": "fc94b9e1-c61f-4d76-9ac3-e5b0f6acc74c"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -254,7 +242,7 @@
"ColumnBindingInfo": {
"TableName": "任务工时表",
"ColumnName": "ID",
"GUID": "3f29fdbd-f187-451e-b7f7-964742413192"
"GUID": "2f9dd395-014a-4ae0-8e20-756d2a7c2677"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -266,7 +254,7 @@
"ColumnBindingInfo": {
"TableName": "任务工时表",
"ColumnName": "工时日期",
"GUID": "fc7683a1-dd0d-4616-852a-bd0571eb863d"
"GUID": "bdccfeef-34a2-47a2-9c3c-61f97cb0867c"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -277,7 +265,7 @@
},
"NullFormulaValueQueryPolicy": 0
},
"ID": "6f71560168554d95937ce8d8597f8d79"
"ID": "7176cf9473f14ad8999ca17165be68a2"
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
@@ -302,10 +290,10 @@
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=IF(OR(执行者.负荷=\"\",执行者.负荷=0,执行者.负荷>24),24,执行者.负荷)"
},
"ID": "3315ab13956142d98db874dbb6d85684"
"ID": "ba90f02dc09f480d9f6bb05a0870bf01"
}
],
"ID": "874adf86-99b3-4d05-ba83-f3a7392422f0"
"ID": "75c00f0b-03b1-4105-9035-39089d210515"
},
{
"CommandList": [
@@ -313,10 +301,10 @@
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "最大负荷",
"ParameterValue": "24",
"ID": "8d185b9ac0734ccca2814b16b5b62eca"
"ID": "54da0c7bde46476c964ac90743685d76"
}
],
"ID": "26ed4dcb-8918-48fb-9a3e-182863a109b0"
"ID": "7393f8d1-70c2-4835-b084-6eacf76487b4"
}
]
},
@@ -350,7 +338,7 @@
"ColumnBindingInfo": {
"TableName": "任务工时表",
"ColumnName": "ID",
"GUID": "1a75f32d-f665-4ec1-838a-9fc3b661edf3"
"GUID": "6364508b-0430-40c8-819c-5abfd9112015"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -362,7 +350,7 @@
"BindingInfo": {
"TableName": "任务工时表",
"ColumnName": "工时日期",
"GUID": "a7499f28-816b-4847-aaab-35b90c7ce942"
"GUID": "12979f18-64fe-4738-9040-962247aee8a5"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -373,7 +361,7 @@
"BindingInfo": {
"TableName": "任务工时表",
"ColumnName": "执行人",
"GUID": "21b0cae0-c6d1-4e89-862f-1d3213e791d6"
"GUID": "86bb7645-a0c3-441e-9aec-238115c4ed87"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -384,7 +372,7 @@
"BindingInfo": {
"TableName": "任务工时表",
"ColumnName": "执行内容",
"GUID": "c8a590ce-4e0d-4794-a5f5-13042a5e27f1"
"GUID": "dc82c110-eb9f-40b7-a4ba-a64d925f217e"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -395,7 +383,7 @@
"BindingInfo": {
"TableName": "任务工时表",
"ColumnName": "工时",
"GUID": "1cc7e19f-312e-48a6-9cea-f19461825e84"
"GUID": "807fdc8e-d861-4e31-9db2-e194c40e05ee"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -410,7 +398,7 @@
"Message": "更新成功"
}
],
"ID": "db78052b-f630-4b4a-b526-fea681effc86"
"ID": "f8bb6f85-bc98-42f7-a06e-7f16bc423dc9"
},
{
"CommandList": [
@@ -423,12 +411,12 @@
}
}
],
"ID": "caa50012-ca70-4365-a388-15c10cbaef7e"
"ID": "1c2b1dce-073d-42a3-848e-c6ea584e5a63"
}
]
}
],
"ID": "644a39c8-965f-4aa3-8208-5c7d0aba82b6"
"ID": "6235168d-f1f1-4270-bee6-a6b93e27e00e"
},
{
"CommandList": [
@@ -441,7 +429,7 @@
}
}
],
"ID": "110c39a0-614b-4903-91ce-0289a3db5db2"
"ID": "0635cab1-c78a-44cb-affb-ca9c62c0b52b"
}
]
}

View File

@@ -89,7 +89,7 @@
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "项目ID",
"GUID": "443f2b0d-af7e-4ac1-9c22-7a04789c5675"
"GUID": "36a0694f-32c4-4a5d-86b1-da1a65563db3"
},
"ColumnName": "项目ID"
},
@@ -97,7 +97,7 @@
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "任务状态",
"GUID": "32c54bbb-3010-4305-979c-afceecd898bb"
"GUID": "cbe473f3-ee2b-4642-aec2-84ec97ef77e4"
},
"ColumnName": "任务状态"
},
@@ -105,7 +105,7 @@
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "任务状态",
"GUID": "34e3e030-33d1-4702-b671-9d80aff1878f",
"GUID": "12dcebf1-d5e1-4a05-b259-3628d2003f9b",
"RelationBinding": {
"RelatedTable": "任务状态",
"RelatedColumn": "状态码",
@@ -118,7 +118,7 @@
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "执行者",
"GUID": "f955d975-fc25-450d-a340-a0348b1770a0",
"GUID": "c2b0ef94-b9ac-45d8-875b-56579f08b417",
"AttachType": {
"$type": "ForguncyDataAccess.UserColumnAttachObj, ForguncyDataAccess",
"UserColumnAttachType": 5,
@@ -126,6 +126,32 @@
}
},
"ColumnName": "执行者负荷"
},
{
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "项目ID",
"GUID": "58da35e6-75ed-4ace-9b10-28dedc13ed08",
"RelationBinding": {
"RelatedTable": "项目表",
"RelatedColumn": "ID",
"DisplayColumn": "严格模式"
}
},
"ColumnName": "严格模式"
},
{
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "项目ID",
"GUID": "f363707a-74b8-46a4-935c-ea52eeae0aab",
"RelationBinding": {
"RelatedTable": "项目表",
"RelatedColumn": "ID",
"DisplayColumn": "项目预算工时"
}
},
"ColumnName": "项目预算工时"
}
],
"SqlCondition": {
@@ -133,7 +159,7 @@
"ColumnBindingInfo": {
"TableName": "任务表",
"ColumnName": "ID",
"GUID": "7a204e75-e430-43dc-9c86-429583d827aa"
"GUID": "a411452d-d49e-4d87-aea9-ffe528a11127"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -143,7 +169,7 @@
"NullFormulaValueQueryPolicy": 0,
"TopCount": "1"
},
"ID": "4b2c214a5f994ff090f13264d24b40c3"
"ID": "2adb2826506a4367a08cea1a22dc2c88"
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
@@ -161,6 +187,106 @@
"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": "1"
},
"CommandList": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "总计划工时",
"TableValue": {
"TableName": "任务工时表",
"OnlyGetValue": true,
"TableValueType": 0,
"BindingInfos": [
{
"BindingInfo": {
"TableName": "任务工时表",
"ColumnName": "总工时",
"GUID": "15a53c55-5e66-4742-a71f-1fc64e017a10"
},
"ColumnName": "总工时"
}
],
"SqlCondition": {
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
"SubConditions": [
{
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "任务工时表",
"ColumnName": "ID",
"GUID": "64a6f2c9-8782-4c12-9164-b2636c815cc3"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务ID"
}
},
{
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "任务工时表",
"ColumnName": "工时类型",
"GUID": "c97a3bc2-1392-4cb9-8eba-7965bf4b2fe0"
},
"Value": "计划"
}
]
}
},
"ID": "29d508af935d4c97a0aefdf509ff7f30"
},
{
"$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": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=\"计划工时总时长(\"&工时数&\"h)超过项目预算工时时长(\"&任务信息.项目预算工时&\"h),请修改后提交!\""
}
}
],
"ID": "6f1e3391-cb31-4999-b19c-5f912adb6a29"
}
]
}
],
"ID": "d755b8c1-d2ad-42d9-9d93-41bd67b58c39"
}
]
},
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "待分配工时",
@@ -168,7 +294,7 @@
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=工时数"
},
"ID": "17ae0d0a18d24ffc99da37a3bea6c9ae"
"ID": "5b24b76c69a14a0d9031135d1f8e11ce"
},
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
@@ -177,7 +303,7 @@
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=DATEDIF(开始日期,结束日期,\"d\")+1"
},
"ID": "5d5f82547d254cbf864287ef61108e71"
"ID": "09b4f9a0f25c48edb56edcf77966ebee"
},
{
"$type": "Forguncy.Model.ServerTransactionCommand, ServerDesignerCommon",
@@ -201,7 +327,7 @@
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=开始日期+(index-1)"
},
"ID": "3775019110024537bd38cf500a9a7c58"
"ID": "261d1560d2d04104b760349265aa9212"
},
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
@@ -214,7 +340,7 @@
"BindingInfo": {
"TableName": "任务工时表",
"ColumnName": "总工时",
"GUID": "ce66991b-0d8e-4d0c-9d58-08670f889a3b"
"GUID": "39d3e8c6-b36b-4ac5-9b53-203e4f6a1c7d"
},
"ColumnName": "总工时"
}
@@ -222,24 +348,12 @@
"SqlCondition": {
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
"SubConditions": [
{
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "任务工时表",
"ColumnName": "任务ID",
"GUID": "6c5abdb9-f1f9-4f93-8966-a5de658d187e"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务ID"
}
},
{
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "任务工时表",
"ColumnName": "工时日期",
"GUID": "1f0d5e7e-310f-4f4e-b9fc-063bab50acc0"
"GUID": "36e54b34-5a5a-4543-9abb-2c8602bc1d72"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -251,7 +365,7 @@
"ColumnBindingInfo": {
"TableName": "任务工时表",
"ColumnName": "执行人",
"GUID": "ce3bfc81-bd71-4997-8575-39fba998a519"
"GUID": "bdd49d3f-eb98-4fc6-baee-8352828d50c7"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -263,7 +377,7 @@
"ColumnBindingInfo": {
"TableName": "任务工时表",
"ColumnName": "工时类型",
"GUID": "11614c3e-2e4d-45a5-9893-7e2fb712f669"
"GUID": "619d9834-f4b6-430a-9ba8-2b32fcd82df4"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -274,7 +388,55 @@
},
"NullFormulaValueQueryPolicy": 0
},
"ID": "a8f97b3ecff64f2183b9661fd518d352"
"ID": "05785ad08042483fb9e59d05853898aa"
},
{
"$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": "=index"
}
},
"value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=分配天数"
},
"compareType": 4
},
"CommandList": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "计算本次分配工时",
"ParameterValue": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ROUNDUP(工时数/分配天数,1)"
},
"ID": "727872ced2d14737b0da0bbf25b79bca"
}
],
"ID": "d075d749-01ed-4381-a0b9-415105afb341"
},
{
"CommandList": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "计算本次分配工时",
"ParameterValue": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=待分配工时"
},
"ID": "7c9e9ffb15eb431aa10c0ee6fabd7454"
}
],
"ID": "9c71d8e3-9dca-4bcb-9b6e-64125790b6bb"
}
]
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
@@ -299,10 +461,10 @@
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=IF(OR(任务信息.执行者负荷=\"\",任务信息.执行者负荷=0,任务信息.执行者负荷>24),24,任务信息.执行者负荷)"
},
"ID": "e6c17fbe939f404a86a2202cd0fb333e"
"ID": "2fc4fb1e599245bdb1e65648e14ad3bd"
}
],
"ID": "c4642a97-a10f-42d5-b742-e4abfb383a4c"
"ID": "2a778196-c88a-4c80-a0e9-c928865f4c2e"
},
{
"Condition": {
@@ -321,10 +483,10 @@
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "执行人负荷",
"ParameterValue": "24",
"ID": "688762495ecf42728377db40799fedf2"
"ID": "d87617ab7b214ad481ebe98958a76552"
}
],
"ID": "a6c78a62-0e06-4a39-8ffa-100924338ac1"
"ID": "8335a6a7-bc0e-4811-ad71-1508ae57643f"
}
]
},
@@ -333,9 +495,9 @@
"ParameterName": "预计增加后工时",
"ParameterValue": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=IF(统计工时.总工时=\"\",0,统计工时.总工时)+工时"
"SerializeProperty": "=IF(统计工时.总工时=\"\",0,统计工时.总工时)+计算本次分配工时"
},
"ID": "d99f897ea0ff419e846e224d637397f2"
"ID": "ee940c0f58de4d6480c109b32ec635a2"
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
@@ -357,54 +519,6 @@
"compareType": 5
},
"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": "=index"
}
},
"value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=分配天数"
},
"compareType": 4
},
"CommandList": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "计算本次分配工时",
"ParameterValue": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ROUNDUP(工时数/分配天数,1)"
},
"ID": "8f33fe4ca9764403aa6b64d560452ff2"
}
],
"ID": "3a68d9c7-f9d8-4e0d-ba86-42d4512b7c13"
},
{
"CommandList": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "计算本次分配工时",
"ParameterValue": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=待分配工时"
},
"ID": "e35aa196929541b980131a3874132cae"
}
],
"ID": "2515088d-3dad-4ad0-ac3d-f06e56e8edd4"
}
]
},
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "待分配工时",
@@ -412,7 +526,7 @@
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ROUNDUP(待分配工时-计算本次分配工时,1)"
},
"ID": "18bfc113ae4b448dbdba213446cdf103"
"ID": "10b16e8c91154affa858f537a7595469"
},
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
@@ -424,7 +538,7 @@
"BindingInfo": {
"TableName": "任务工时表",
"ColumnName": "项目ID",
"GUID": "89a862aa-235c-4422-a18f-fcd4644b5d36"
"GUID": "48483244-a5f1-467f-9f33-213ccbf0765c"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -435,7 +549,7 @@
"BindingInfo": {
"TableName": "任务工时表",
"ColumnName": "任务ID",
"GUID": "ba269f5e-db97-4e17-9cb8-a15f44846c81"
"GUID": "a81043f5-58b2-4d28-ba59-2386b7b98e45"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -446,7 +560,7 @@
"BindingInfo": {
"TableName": "任务工时表",
"ColumnName": "工时日期",
"GUID": "c97ed24d-b14b-469b-9074-66d4ed98d5c6"
"GUID": "0ac58b66-e8c3-44ec-895a-2dd40d1438bb"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -457,7 +571,7 @@
"BindingInfo": {
"TableName": "任务工时表",
"ColumnName": "工时类型",
"GUID": "48d6e343-9b6c-43b5-9778-9b868ccd55df"
"GUID": "0aebba8e-fef3-4471-a0b6-428a290ada8d"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -468,7 +582,7 @@
"BindingInfo": {
"TableName": "任务工时表",
"ColumnName": "执行人",
"GUID": "df8c4912-a0e0-4088-a341-be55e3db2ca1"
"GUID": "489ed3df-150c-47ad-87c0-914630d2ca63"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -479,7 +593,7 @@
"BindingInfo": {
"TableName": "任务工时表",
"ColumnName": "执行内容",
"GUID": "173e91d1-15ec-4f9a-a54e-98ddd185b4af"
"GUID": "806dfe71-8ceb-437d-ab2c-5b4d79adc391"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -490,7 +604,7 @@
"BindingInfo": {
"TableName": "任务工时表",
"ColumnName": "工时",
"GUID": "2bf153a9-56fd-4599-97f4-7f317af68b46"
"GUID": "599e9d1f-aa89-4865-8062-de9a823bb900"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -500,7 +614,7 @@
]
}
],
"ID": "fcf70c56-6464-42a7-8a70-825884a0ffd8"
"ID": "a819aec2-a9ec-45c1-ae74-432af31c0025"
},
{
"CommandList": [
@@ -513,7 +627,7 @@
}
}
],
"ID": "f3875778-80dd-40b4-b317-4f21ef53e746"
"ID": "eebdd38f-929c-484b-9027-8660567f77c3"
}
]
}
@@ -527,7 +641,7 @@
"Message": "提交工时成功"
}
],
"ID": "5abf293f-a8c6-4f12-bb5d-6e1819ef38b7"
"ID": "eb9e9b05-5af5-4929-9a34-fb3d4698f293"
},
{
"CommandList": [
@@ -540,7 +654,7 @@
}
}
],
"ID": "89048532-fdfa-4235-9972-20d722f6d461"
"ID": "9b060da7-032d-4f17-b3c9-6fc88a586731"
}
]
}