{"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"}

This commit is contained in:
超哥
2024-06-19 16:45:52 +08:00
parent 5491e21b84
commit 0d4aabf056
42 changed files with 5246 additions and 1632 deletions

View File

@@ -225,7 +225,7 @@
"Message": "当前项目未指定项目经理,请指定后再试"
}
],
"ID": "bf2669ee-8268-4141-88c6-5092715f3072"
"ID": "62329720-a822-4cca-99e2-a2444ca1f95e"
}
]
},
@@ -251,7 +251,7 @@
"Message": "请指定任务执行者"
}
],
"ID": "d21c1a97-d872-4e1a-b06b-1b27436a87b2"
"ID": "2475b524-68de-4f7e-b688-2b9687af5b22"
}
]
},
@@ -277,7 +277,7 @@
"Message": "请指定任务类型"
}
],
"ID": "34d0d97a-62e1-45e9-a04e-41bfd5ed79a7"
"ID": "f51663db-7687-44bb-9f3b-1cce2682d013"
}
]
},
@@ -303,7 +303,7 @@
"Message": "请为任务指定版本"
}
],
"ID": "9d17a551-b606-4c60-ba11-052c43baa59f"
"ID": "8eab7c16-ea96-4d8d-b9e0-07546d7b5504"
}
]
},
@@ -355,7 +355,7 @@
"ID": "8f419b6c4a3f4fb5bcf81a653a34fefc"
}
],
"ID": "dde09040-6523-468d-912a-68841b21044b"
"ID": "5c733c8d-ac2b-4705-933a-d789b7385dd6"
},
{
"CommandList": [
@@ -388,7 +388,7 @@
"GUID": "717b4db9-b7be-437d-a09c-3733dc19c3bf",
"BindingInfo": {
"TableName": "任务平行视图",
"ColumnName": "计划工时",
"ColumnName": "成员计划工时",
"GUID": "85fd954d-c52d-494e-8e51-5b191456133c"
},
"ColumnName": "总计划工时"
@@ -430,7 +430,7 @@
"ID": "ac58e4cdd43c49fe9f9575e244e3479b"
}
],
"ID": "ba5b58f8-d131-4492-8c85-f0bdf00093ac"
"ID": "dab745d7-5c78-4474-bf71-cf1ec4230570"
}
],
"Comments": "严格模式下,根据是否有父任务来计算本次预算工时的上限"
@@ -464,12 +464,12 @@
}
}
],
"ID": "c2401842-ea6c-4e2c-b538-de78e6ccaf99"
"ID": "319fc2fe-698a-44cf-8bef-21fe1aadfee7"
}
]
}
],
"ID": "4b8fc3a1-7364-41e8-aca3-5492484a2ddb"
"ID": "c2608868-26f2-4627-8905-c9fcb7328ffb"
}
],
"Comments": "校验工时情况是否通过"

View File

@@ -173,6 +173,95 @@
"value": "1"
},
"CommandList": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "子任务总预算工时",
"TableValue": {
"TableName": "任务表",
"TableValueType": 1,
"BindingInfos": [
{
"GUID": "40bd1e33-4105-4ded-8088-c30758b2397d",
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "总任务预算工时",
"GUID": "511457d9-7abf-404b-82ae-ba26a29ab5a8"
},
"ColumnName": "总任务预算工时"
}
],
"SqlCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "任务表",
"ColumnName": "父任务ID",
"GUID": "d129907c-cb5f-4eb3-bf88-b3aa460dfb44"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务ID"
}
},
"NullFormulaValueQueryPolicy": 0
},
"ID": "de31cf4feec24851abbeeaab23503aba"
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"Condition": {
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
"SubConditions": [
{
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=子任务总预算工时"
}
},
"value": "%Null%",
"compareType": 1
},
{
"$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.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "400",
"Message": "此操作会导致子任务预算工时不足,无法修改!",
"CustomReturns": [
{
"ReturnPropertyName": "新工时",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务表.任务预算工时"
}
}
]
}
],
"ID": "08d32666-d901-4736-8b9d-f3a37b9b3f72"
}
]
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
@@ -199,7 +288,7 @@
"ID": "e583a0048e5044a0b325443e28146bdb"
}
],
"ID": "ca412410-4961-425b-bcbd-78e522a2b526"
"ID": "c3e577e2-28e8-46f1-bb0d-0bed874a00b3"
},
{
"CommandList": [
@@ -232,7 +321,7 @@
"GUID": "2375b49f-a344-481d-b24f-255535146b39",
"BindingInfo": {
"TableName": "任务平行视图",
"ColumnName": "计划工时",
"ColumnName": "成员计划工时",
"GUID": "9644df0b-6bd7-483b-8aaf-96d5c3fa435a"
},
"ColumnName": "总计划工时"
@@ -265,7 +354,7 @@
"ID": "423c3d6d0618419c9eac630be5066c46"
}
],
"ID": "d213848d-aed2-41b6-a65a-d385ef1edbb9"
"ID": "2aa16f65-1c6d-44aa-96ca-127cf34ed417"
}
],
"Comments": "严格模式下,根据是否有父任务来计算本次预算工时的上限"
@@ -304,12 +393,12 @@
]
}
],
"ID": "97dfa6d6-3f61-4f65-b209-2acaa2f36726"
"ID": "a466e785-7cc9-4ce8-a45f-3204e491ed05"
}
]
}
],
"ID": "5e9cf66f-56d4-4903-8dd3-d32a9ac9990c"
"ID": "56c7dbed-d2e5-428f-86dc-f27e0e1d489f"
}
]
},

View File

@@ -0,0 +1,187 @@
{
"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
}
}
]
}
],
"Commands": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "任务",
"TableValue": {
"TableName": "任务表",
"TableValueType": 1,
"BindingInfos": [
{
"GUID": "9089264a-9960-47ef-a49a-5743c08640c6",
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "任务名称",
"GUID": "73c60fba-bd79-4f57-b4ef-42b92b67277d"
},
"ColumnName": "任务名称"
}
],
"SqlCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "任务表",
"ColumnName": "ID",
"GUID": "3bf2db8b-2426-41bd-adbc-8644d0d2291f"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ID"
}
},
"NullFormulaValueQueryPolicy": 0
},
"ID": "f271187c52664eec87b48c9847835c47"
},
{
"$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.RequestServerCommand, ServerDesignerCommon",
"ServerCommandName": "递归检测子任务",
"Parameters": [
{
"$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": "=任务.任务名称"
}
}
],
"ResultErrorCodeTo": {
"SerializeProperty": "code"
},
"ResultMessageTo": {
"SerializeProperty": "msg"
},
"RefreshAfterFinish": true,
"CheckDataValidation": true
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=code"
}
},
"value": "0"
},
"CommandList": [
{
"$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon",
"ServerCommandName": "递归删除任务",
"Parameters": [
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "ID",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ID"
}
}
],
"ResultErrorCodeTo": {
"SerializeProperty": "code"
},
"ResultMessageTo": {
"SerializeProperty": "msg"
},
"RefreshAfterFinish": true,
"CheckDataValidation": true
},
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=code"
},
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=msg"
}
}
],
"ID": "7c9bda40-0a4a-4559-92ce-5907bb66e66a"
},
{
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "400",
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=msg&\",无法删除任务\""
}
}
],
"ID": "17b821a5-c0a6-4672-81eb-9981faef639d"
}
]
}
],
"ID": "466dc6bc-bb11-46c8-a79f-c4325930cea3"
}
]
}
]
}

View File

@@ -1,5 +1,5 @@
{
"Name": "新增任务",
"Name": "发起任务(废弃)",
"Enabled": true,
"Triggers": [
{
@@ -163,7 +163,7 @@
"ID": "d01552992a0c4569864d9ac2ed82875b"
}
],
"ID": "c995ccbd-f613-44ff-8af6-319a1de3b6a0"
"ID": "31d64392-94a8-4189-a644-ad2f0e42dac9"
},
{
"CommandList": [
@@ -174,12 +174,12 @@
"ID": "100407c5ad3545a4927cc51a64cc94ba"
}
],
"ID": "cc0cb7c8-3629-4003-a956-526b8cca6522"
"ID": "9cb8d3b5-1cf1-48e0-807d-fdeac73a34cd"
}
]
}
],
"ID": "0b738736-143a-4933-b958-ab5d57001c8a"
"ID": "3426f5af-5cbd-43ba-ade1-c5d48337d9c0"
},
{
"CommandList": [
@@ -190,7 +190,7 @@
"ID": "918e2a12022e4e8080c14ece366ea9bb"
}
],
"ID": "f357f4f5-1cdd-4e51-93cf-006110341ca7"
"ID": "0446ced2-ad94-44ae-bb69-de390789baac"
}
]
},
@@ -493,7 +493,7 @@
]
}
],
"ID": "f5a7f9cd-a8a8-4503-bdae-1de2fdd76551"
"ID": "a458a273-a6b9-4349-914b-b5adfdc7f4d1"
},
{
"CommandList": [
@@ -512,7 +512,7 @@
]
}
],
"ID": "53fefe07-7f1c-4a7a-a16c-10398165419d"
"ID": "d9d1feb6-0716-485a-801a-03affc4715a0"
}
]
}

View File

@@ -0,0 +1,182 @@
{
"Name": "递归删除任务",
"Description": "递归检测任务是否存在子任务报工",
"Enabled": true,
"Triggers": [
{
"$type": "Forguncy.SaveLoad.InvokeTriggerSaveData, ServerDesignerCommon",
"Parameters": [
{
"Name": "ID",
"DataValidationInfo": {
"IgnoreBlank": false
},
"TestData": "3"
}
],
"InvokeTriggerTestData": {
"UserName": "Administrator"
}
}
],
"Commands": [
{
"$type": "Forguncy.Model.ServerTransactionCommand, ServerDesignerCommon",
"CommandList": [
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "任务表",
"UpdateType": "delete",
"ShowConfirm": true,
"ConfirmText": "您确定要删除吗?",
"RowsToUpdate": 1,
"RowsToUpdateCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "任务表",
"ColumnName": "ID",
"GUID": "19fa4119-38bc-4ff0-8b12-fa4323c7c445"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ID"
}
}
},
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "任务工时表",
"UpdateType": "delete",
"ShowConfirm": true,
"ConfirmText": "您确定要删除吗?",
"RowsToUpdate": 1,
"RowsToUpdateCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "任务工时表",
"ColumnName": "任务ID",
"GUID": "68b3209b-faac-41f4-a455-289e1c561c90"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ID"
}
}
},
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "任务成员表",
"UpdateType": "delete",
"ShowConfirm": true,
"ConfirmText": "您确定要删除吗?",
"RowsToUpdate": 1,
"RowsToUpdateCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "任务成员表",
"ColumnName": "任务ID",
"GUID": "6bcdc22b-896b-48c1-b095-d16062d9998c"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ID"
}
}
},
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "任务评论表",
"UpdateType": "delete",
"ShowConfirm": true,
"ConfirmText": "您确定要删除吗?",
"RowsToUpdate": 1,
"RowsToUpdateCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "任务评论表",
"ColumnName": "任务ID",
"GUID": "e7483d6d-5162-4038-9b9c-cbb9e2888043"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ID"
}
}
}
]
},
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "子任务列表",
"TableValue": {
"TableName": "任务表",
"BindingInfos": [
{
"GUID": "9d359938-d06a-4b4b-92bd-daa4612739e6",
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "ID",
"GUID": "e2484615-328c-427a-9f51-82990fe8c1c7"
},
"ColumnName": "ID"
}
],
"SqlCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "任务表",
"ColumnName": "父任务ID",
"GUID": "1b5ffdad-96a9-4758-aa3d-3df34e594df8"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ID"
}
},
"NullFormulaValueQueryPolicy": 0,
"TopCount": "1"
},
"ID": "4becb21f6fbb40ea8c0fd8f9b369e678"
},
{
"$type": "Forguncy.Model.LoopCommand, ServerDesignerCommon",
"LoopInfo": {
"$type": "Forguncy.Model.CountLoopInfo, ServerDesignerCommon",
"LoopCount": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=子任务列表"
},
"LoopItemParamName": "Item"
},
"CommandList": [
{
"$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon",
"ServerCommandName": "递归删除任务",
"Parameters": [
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "ID",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Item.ID"
}
}
],
"ResultErrorCodeTo": {
"SerializeProperty": "code"
},
"ResultMessageTo": {
"SerializeProperty": "msg"
},
"RefreshAfterFinish": true,
"CheckDataValidation": true
}
]
},
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": "删除完成"
}
]
}

View File

@@ -0,0 +1,204 @@
{
"Name": "递归检测子任务",
"Description": "递归检测任务是否存在子任务报工",
"Enabled": true,
"Triggers": [
{
"$type": "Forguncy.SaveLoad.InvokeTriggerSaveData, ServerDesignerCommon",
"Parameters": [
{
"Name": "ID",
"DataValidationInfo": {
"IgnoreBlank": false
},
"TestData": "3"
},
{
"Name": "任务名称",
"DataValidationInfo": {}
}
],
"InvokeTriggerTestData": {
"UserName": "Administrator"
}
}
],
"Commands": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "报工数量",
"TableValue": {
"TableName": "任务工时表",
"TableValueType": 3,
"SqlCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "任务工时表",
"ColumnName": "任务ID",
"GUID": "ecebdb4a-1630-43fe-8758-e96ec880d630"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ID"
}
}
},
"ID": "10acffd61ffd4fd6a25be9a9b260d184"
},
{
"$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": 1
},
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "400",
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=\"任务:\"&任务名称&\",存在报工记录\""
}
}
],
"ID": "594bebdc-56d5-4c88-9096-5ad90c1cb675"
},
{
"CommandList": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "子任务列表",
"TableValue": {
"TableName": "任务表",
"BindingInfos": [
{
"GUID": "5690a025-216f-4abe-93c5-b1641ba6bd44",
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "ID",
"GUID": "ac49d30c-d5e7-4dae-b774-7b39da2b0a06"
},
"ColumnName": "ID"
},
{
"GUID": "e7ad38ca-811c-4494-898c-90653797ef71",
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "任务名称",
"GUID": "db332a4b-8ba7-40d8-b678-46ab28cce50f"
},
"ColumnName": "任务名称"
}
],
"SqlCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "任务表",
"ColumnName": "父任务ID",
"GUID": "04afdcdd-e931-4562-845e-2fc6b9fedb44"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ID"
}
},
"NullFormulaValueQueryPolicy": 0,
"TopCount": "1"
},
"ID": "a7a2757fba144540898ade3a472a2932"
},
{
"$type": "Forguncy.Model.LoopCommand, ServerDesignerCommon",
"LoopInfo": {
"$type": "Forguncy.Model.CountLoopInfo, ServerDesignerCommon",
"LoopCount": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=子任务列表"
},
"LoopItemParamName": "Item"
},
"CommandList": [
{
"$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon",
"ServerCommandName": "递归检测子任务",
"Parameters": [
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "ID",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Item.ID"
}
},
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "任务名称",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Item.任务名称"
}
}
],
"ResultErrorCodeTo": {
"SerializeProperty": "code"
},
"ResultMessageTo": {
"SerializeProperty": "msg"
},
"RefreshAfterFinish": true,
"CheckDataValidation": true
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=code"
}
},
"value": "0",
"compareType": 1
},
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "400",
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=msg"
}
}
],
"ID": "b95846d2-cb40-41bc-b0dc-8a24f446e2a6"
}
]
}
]
}
],
"ID": "02a2ce99-ca54-4559-8a22-9244e40358af"
}
]
},
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": "检测通过"
}
]
}