{"Message":"完成工时上报功能","MessageType":2,"Modules":[{"State":1,"Type":11,"Name":"UserService"},{"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":1,"Name":"PCPage/工时详情-列头"},{"State":1,"Type":31,"Name":"UserControlPage/工时记录列表"},{"State":1,"Type":23,"Name":"TableView/View_任务工时统计"},{"State":1,"Type":1,"Name":"PCPage/新增报工"},{"State":1,"Type":15,"Name":"ServerCommand/新增工时"},{"State":3,"Type":23,"Name":"TableView/子任务视图"},{"State":3,"Type":1,"Name":"PCPage/右键菜单1"},{"State":3,"Type":15,"Name":"ServerCommand/删除指定人员工时"}],"Version":"v1"}
This commit is contained in:
202
ServerCommands/工时/删除指定人员工时.json
Normal file
202
ServerCommands/工时/删除指定人员工时.json
Normal file
@@ -0,0 +1,202 @@
|
||||
{
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"Name": "执行人"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"Commands": [
|
||||
{
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "任务",
|
||||
"TableValue": {
|
||||
"TableName": "任务表",
|
||||
"TableValueType": 1,
|
||||
"BindingInfos": [
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "任务表",
|
||||
"ColumnName": "任务状态",
|
||||
"GUID": "00aa5a64-0edd-47bc-9ec1-5245376ee62c"
|
||||
},
|
||||
"ColumnName": "任务状态"
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "任务表",
|
||||
"ColumnName": "任务状态",
|
||||
"GUID": "7bab014d-d6c2-49af-b5da-0afae2793aa8",
|
||||
"RelationBinding": {
|
||||
"RelatedTable": "任务状态",
|
||||
"RelatedColumn": "状态码",
|
||||
"DisplayColumn": "任务状态"
|
||||
}
|
||||
},
|
||||
"ColumnName": "任务状态文本"
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "任务表",
|
||||
"ColumnName": "任务类型",
|
||||
"GUID": "d54c81be-871c-4ba8-8706-bcc2304f6cdc"
|
||||
},
|
||||
"ColumnName": "任务类型"
|
||||
}
|
||||
],
|
||||
"SqlCondition": {
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "任务表",
|
||||
"ColumnName": "ID",
|
||||
"GUID": "827b7c28-fbc7-4d4a-a273-1c90554cb137"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=任务ID"
|
||||
}
|
||||
},
|
||||
"NullFormulaValueQueryPolicy": 0,
|
||||
"TopCount": "1"
|
||||
},
|
||||
"ID": "a0c98a2d500949ac867577b3f08ccc7b"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
|
||||
"ConditionAndCommandPairList": [
|
||||
{
|
||||
"Condition": {
|
||||
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
|
||||
"SubConditions": [
|
||||
{
|
||||
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
|
||||
"SubConditions": [
|
||||
{
|
||||
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
|
||||
"param": {
|
||||
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
|
||||
"ParamObject": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=任务.任务状态"
|
||||
}
|
||||
},
|
||||
"value": "0",
|
||||
"compareType": 3,
|
||||
"LeftBracket": 1
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
|
||||
"param": {
|
||||
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
|
||||
"ParamObject": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=任务.任务状态"
|
||||
}
|
||||
},
|
||||
"value": "1",
|
||||
"compareType": 5,
|
||||
"RightBracket": 1
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
|
||||
"param": {
|
||||
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
|
||||
"ParamObject": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=任务.任务类型"
|
||||
}
|
||||
},
|
||||
"value": "计划"
|
||||
}
|
||||
],
|
||||
"RelationType": 1
|
||||
},
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
|
||||
"TableName": "任务工时表",
|
||||
"UpdateType": "delete",
|
||||
"ShowConfirm": true,
|
||||
"ConfirmText": "您确定要删除吗?",
|
||||
"RowsToUpdate": 1,
|
||||
"RowsToUpdateCondition": {
|
||||
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
|
||||
"SubConditions": [
|
||||
{
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "任务ID",
|
||||
"GUID": "8cff3e41-b713-4545-bbde-04d10c988366"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=任务ID"
|
||||
}
|
||||
},
|
||||
{
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "执行人",
|
||||
"GUID": "0611afcf-09d9-46a0-9163-e09bae749db7"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=执行人"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": "0",
|
||||
"Message": "删除成功"
|
||||
}
|
||||
],
|
||||
"ID": "bcf6dfc0-78df-49b5-a949-debefb8592f4"
|
||||
},
|
||||
{
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": "400",
|
||||
"Message": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=\"当前任务状态为[\"&任务.任务状态文本&\"],无法删除人员工时!\""
|
||||
}
|
||||
}
|
||||
],
|
||||
"ID": "6d98122d-fb75-41a3-b1a5-bf6e995961ee"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -89,7 +89,7 @@
|
||||
"BindingInfo": {
|
||||
"TableName": "任务表",
|
||||
"ColumnName": "项目ID",
|
||||
"GUID": "476915c6-9f07-472d-811d-e9bf755d9a86"
|
||||
"GUID": "b1249d88-174d-4f42-b82e-87c775a5ec16"
|
||||
},
|
||||
"ColumnName": "项目ID"
|
||||
},
|
||||
@@ -97,7 +97,7 @@
|
||||
"BindingInfo": {
|
||||
"TableName": "任务表",
|
||||
"ColumnName": "任务状态",
|
||||
"GUID": "a6fdfb70-5702-4441-aae4-a4e2668e9a9d"
|
||||
"GUID": "dfd8dba3-a9e7-46af-82b0-e6346ced04c1"
|
||||
},
|
||||
"ColumnName": "任务状态"
|
||||
},
|
||||
@@ -105,7 +105,7 @@
|
||||
"BindingInfo": {
|
||||
"TableName": "任务表",
|
||||
"ColumnName": "任务状态",
|
||||
"GUID": "5cc6c7bd-a28e-4a17-919b-95b077220eb0",
|
||||
"GUID": "17d042b8-e5cd-423f-a4f2-5bfca0a2de16",
|
||||
"RelationBinding": {
|
||||
"RelatedTable": "任务状态",
|
||||
"RelatedColumn": "状态码",
|
||||
@@ -118,7 +118,7 @@
|
||||
"BindingInfo": {
|
||||
"TableName": "任务表",
|
||||
"ColumnName": "执行者",
|
||||
"GUID": "a0985b41-d1c6-42fa-89e6-8ed2713b1137",
|
||||
"GUID": "45d69552-542b-431e-9153-d5f2f886ac89",
|
||||
"AttachType": {
|
||||
"$type": "ForguncyDataAccess.UserColumnAttachObj, ForguncyDataAccess",
|
||||
"UserColumnAttachType": 5,
|
||||
@@ -133,7 +133,7 @@
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "任务表",
|
||||
"ColumnName": "ID",
|
||||
"GUID": "b1bd5f41-82ac-4f03-8fbd-70fb9d4163ab"
|
||||
"GUID": "77617259-ecbf-4a0a-943a-bc9523d74a4a"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
@@ -143,7 +143,7 @@
|
||||
"NullFormulaValueQueryPolicy": 0,
|
||||
"TopCount": "1"
|
||||
},
|
||||
"ID": "c077cc8306b84173a03c0a6116534769"
|
||||
"ID": "40fc605c55a049edb4ddfa172010d1fa"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
|
||||
@@ -168,16 +168,16 @@
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=工时数"
|
||||
},
|
||||
"ID": "55e088f3319448dea371fa65e45574ef"
|
||||
"ID": "3c523ae8bad44c56803f29297f525e6a"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "分配天数",
|
||||
"ParameterValue": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=DATEDIF(开始日期,结束日期,\"d\")"
|
||||
"SerializeProperty": "=DATEDIF(开始日期,结束日期,\"d\")+1"
|
||||
},
|
||||
"ID": "afa02bcb06164873a38cc14099b5730c"
|
||||
"ID": "47a4bd79866c44a68d4a8130857e0e0e"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ServerTransactionCommand, ServerDesignerCommon",
|
||||
@@ -201,7 +201,7 @@
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=开始日期+(index-1)"
|
||||
},
|
||||
"ID": "d8f653d8f3e743caabfff54e9fa8f8c4"
|
||||
"ID": "60a04c424d0b4a51a96e2eb557cf1df9"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
|
||||
@@ -230,7 +230,7 @@
|
||||
"BindingInfo": {
|
||||
"TableName": "View_任务工时统计",
|
||||
"ColumnName": "计划工时",
|
||||
"GUID": "706de071-f8e9-46a2-9c01-40ae14c375fc"
|
||||
"GUID": "c293ccd3-0a01-450a-9c96-4a22b5f40bba"
|
||||
},
|
||||
"ColumnName": "计划工时"
|
||||
}
|
||||
@@ -243,7 +243,7 @@
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "View_任务工时统计",
|
||||
"ColumnName": "任务ID",
|
||||
"GUID": "220b4ba7-c4e3-4f52-95ec-5a1a282e1765"
|
||||
"GUID": "88d7be4e-bac7-4366-9e82-5ec0e43d3cde"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
@@ -255,7 +255,7 @@
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "View_任务工时统计",
|
||||
"ColumnName": "执行人",
|
||||
"GUID": "28ce7db3-ff64-4ce7-b1b6-b4b3be6acbe4"
|
||||
"GUID": "45422432-e2a6-4c0e-ae7f-85d15794298f"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
@@ -267,7 +267,7 @@
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "View_任务工时统计",
|
||||
"ColumnName": "工时日期",
|
||||
"GUID": "3a0cd37f-b1dd-4750-b41d-45d44ff181d7"
|
||||
"GUID": "b38537dd-3794-42b1-b349-46edd53fbca9"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
@@ -279,16 +279,7 @@
|
||||
"NullFormulaValueQueryPolicy": 0,
|
||||
"TopCount": "1"
|
||||
},
|
||||
"ID": "01839807d75b49669d94ea08af7a40cd"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "计算本次分配工时",
|
||||
"ParameterValue": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=IF(index>=分配天数,待分配工时,ROUNDDOWN(工时数/分配天数,1))"
|
||||
},
|
||||
"ID": "4f5d9e30584c4ae79cfd818467975213"
|
||||
"ID": "1a7c7a0561d24027953d7057ac3caa93"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
|
||||
@@ -348,102 +339,154 @@
|
||||
}
|
||||
}
|
||||
],
|
||||
"ID": "98b50752-349a-4f25-b57a-5ce140ac2ce4"
|
||||
},
|
||||
{
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
|
||||
"TableName": "任务工时表",
|
||||
"UpdateType": "add",
|
||||
"ShowConfirm": false,
|
||||
"UpdateBindingValues": [
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "项目ID",
|
||||
"GUID": "fd71f2a5-845b-4775-a877-0649e37ba693"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=任务信息.项目ID"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "任务ID",
|
||||
"GUID": "05e48271-1a3d-4795-bdd5-cb1c645293ac"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=任务ID"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "工时日期",
|
||||
"GUID": "6691a7d6-6d9e-4b5d-baf8-49b9124edd82"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=当前日期"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "工时类型",
|
||||
"GUID": "21286054-452a-4a3b-aea7-994254804b38"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=工时类型"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "执行人",
|
||||
"GUID": "7c4c1809-a688-4564-b5c7-3fcb4083324f"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=执行者"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "执行内容",
|
||||
"GUID": "92d5bc0e-8bb8-4a90-a896-c8dcf5c37edc"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=进展内容"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "工时",
|
||||
"GUID": "429a69c0-101e-411c-b38e-854c0adf2657"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=计算本次分配工时"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"ID": "ac35628d-4bd0-4163-905e-a627bdd70880"
|
||||
"ID": "b539d26d-1d71-4ce6-b60b-527c90f86132"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"ID": "5f045248-1e2c-4eb1-b457-bd29b481c4b0"
|
||||
"ID": "d6558544-652c-44af-81eb-31dec04f33b2"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"$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": "cb78ce7bdd4c440b9b449d7af1470fd9"
|
||||
}
|
||||
],
|
||||
"ID": "52096b70-4bfb-4135-9f7c-a3a984edea0b"
|
||||
},
|
||||
{
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "计算本次分配工时",
|
||||
"ParameterValue": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=待分配工时"
|
||||
},
|
||||
"ID": "308e266c05e3417f9d13962caff1095b"
|
||||
}
|
||||
],
|
||||
"ID": "60f32b23-a3f2-4b49-b84a-11eb342d4799"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "待分配工时",
|
||||
"ParameterValue": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=ROUNDUP(待分配工时-计算本次分配工时,1)"
|
||||
},
|
||||
"ID": "0a0b3c873fcf4de9b94766fc7c44005e"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
|
||||
"TableName": "任务工时表",
|
||||
"UpdateType": "add",
|
||||
"ShowConfirm": false,
|
||||
"UpdateBindingValues": [
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "项目ID",
|
||||
"GUID": "62460558-f2bd-4b87-8cea-6fc0dadf3b39"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=任务信息.项目ID"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "任务ID",
|
||||
"GUID": "acc1cf0b-5748-40bc-b1b2-5bb59df509a1"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=任务ID"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "工时日期",
|
||||
"GUID": "d8afca37-aace-413f-8d57-1fba6d54b77c"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=当前日期"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "工时类型",
|
||||
"GUID": "1dd01750-f4f3-4c1d-9afb-37c8caa80b30"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=工时类型"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "执行人",
|
||||
"GUID": "29749b4c-60d8-4963-9ced-4fc1c4d52d67"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=执行者"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "执行内容",
|
||||
"GUID": "3e99bd55-10d7-4f5d-9dd8-a866365961a2"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=进展内容"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "工时",
|
||||
"GUID": "d9623657-4a05-4e47-a927-0e188c5fa69a"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=计算本次分配工时"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -457,7 +500,7 @@
|
||||
"Message": "提交工时成功"
|
||||
}
|
||||
],
|
||||
"ID": "53b4c905-c899-4ff9-bcf9-99a3a4fb830e"
|
||||
"ID": "67983164-51fb-452a-ad85-bab842928a39"
|
||||
},
|
||||
{
|
||||
"CommandList": [
|
||||
@@ -470,11 +513,26 @@
|
||||
}
|
||||
}
|
||||
],
|
||||
"ID": "8a07858b-3d0d-40f4-8514-d8915cf1cf0e"
|
||||
"ID": "876ca00c-e70e-4e57-beb3-7f440cb828b8"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"CatchCommandPart": {
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=ExceptionCode"
|
||||
},
|
||||
"Message": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=ExceptionMessage"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user