diff --git a/.collaboration b/.collaboration index 4c1e757c..dd52144a 100644 --- a/.collaboration +++ b/.collaboration @@ -1582,16 +1582,7 @@ }, { "ModuleName": "ServerCommand/新增项目发布记录", - "State": 1, - "LockedBy": { - "UserName": "cuckooent", - "Email": "phoben@qq.com" - }, - "LockDateTime": "2024-09-03T12:11:51.0239044+08:00", - "ModuleType": 15, - "ToRemoveFiles": [ - "ServerCommands\\项目\\新增项目发布记录.json" - ] + "ModuleType": 15 }, { "ModuleName": "ServerCommand/新增或修改项目", diff --git a/ServerCommands/项目/新增项目发布记录.json b/ServerCommands/项目/新增项目发布记录.json index 7f99d490..acece8c6 100644 --- a/ServerCommands/项目/新增项目发布记录.json +++ b/ServerCommands/项目/新增项目发布记录.json @@ -73,7 +73,7 @@ "TableValueType": 1, "BindingInfos": [ { - "GUID": "343d9a24-396f-4eb5-9538-776ed4c810e0", + "GUID": "689d57aa-7d54-4fdc-b703-bdb4f9801e17", "BindingInfo": { "TableName": "项目表", "ColumnName": "项目状态", @@ -96,7 +96,7 @@ }, "NullFormulaValueQueryPolicy": 0 }, - "ID": "a66561b0a1ac4f6d8a16b68b3c686bb1" + "ID": "ab759c57a68b4381be18f90430a838b6" }, { "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", @@ -123,7 +123,7 @@ "TableValueType": 1, "BindingInfos": [ { - "GUID": "7a0e7a39-d01a-408b-9da3-c48801db0561", + "GUID": "ae4694dd-f3b8-4d5a-b611-0d4d3d2c4d3d", "BindingInfo": { "TableName": "项目版本", "ColumnName": "版本名称", @@ -145,7 +145,7 @@ } } }, - "ID": "3f90c5eb3b89426f935cd981c5e5d65f" + "ID": "9538d6e8806c48c3b57ed58b01ad1347" }, { "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", @@ -201,7 +201,7 @@ }, "NullFormulaValueQueryPolicy": 0 }, - "ID": "e9e9861d7b5a4ac8931eb2f81698e287" + "ID": "20a38baedfbf4361b74fcd6ee65f94b3" }, { "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", @@ -380,55 +380,77 @@ ] }, { - "$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit", - "Operation": 17, - "OperationParamaterAName": ",", - "OperationParamaterBName": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=反馈ID列表" - }, - "OutParamaterName": "反馈ID数组" - }, - { - "$type": "Forguncy.Model.LoopCommand, ServerDesignerCommon", - "LoopInfo": { - "$type": "Forguncy.Model.CountLoopInfo, ServerDesignerCommon", - "LoopCount": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=反馈ID数组" - }, - "LoopItemParamName": "当前反馈ID" - }, - "CommandList": [ + "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", + "ConditionAndCommandPairList": [ { - "$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon", - "ServerCommandName": "项目反馈发布完毕", - "Parameters": [ - { - "$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon", - "ParamName": "反馈ID", - "Value": { + "Condition": { + "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", + "param": { + "$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon", + "ParamObject": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=当前反馈ID" + "SerializeProperty": "=反馈ID列表" } }, + "value": "%Null%", + "compareType": 1 + }, + "CommandList": [ { - "$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon", - "ParamName": "发布记录ID", - "Value": { + "$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit", + "Operation": 17, + "OperationParamaterAName": ",", + "OperationParamaterBName": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=新记录.ID" - } + "SerializeProperty": "=反馈ID列表" + }, + "OutParamaterName": "反馈ID数组" + }, + { + "$type": "Forguncy.Model.LoopCommand, ServerDesignerCommon", + "LoopInfo": { + "$type": "Forguncy.Model.CountLoopInfo, ServerDesignerCommon", + "LoopCount": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=反馈ID数组" + }, + "LoopItemParamName": "当前反馈ID" + }, + "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": "发布记录ID", + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=新记录.ID" + } + } + ], + "ResultErrorCodeTo": { + "SerializeProperty": "code" + }, + "ResultMessageTo": { + "SerializeProperty": "msg" + }, + "RefreshAfterFinish": true, + "CheckDataValidation": true + } + ] } ], - "ResultErrorCodeTo": { - "SerializeProperty": "code" - }, - "ResultMessageTo": { - "SerializeProperty": "msg" - }, - "RefreshAfterFinish": true, - "CheckDataValidation": true + "ID": "32eb9b66-48ec-44f2-9e62-8004bdc0f478" } ] }, @@ -438,7 +460,7 @@ "Message": "新增成功" } ], - "ID": "0d82b1a4-7017-4096-a33d-9b60b723366f" + "ID": "6451145c-3872-4bb6-98fa-efe5814e7ace" }, { "CommandList": [ @@ -448,12 +470,12 @@ "Message": "该版本号已被使用,请更换版本号后重试!" } ], - "ID": "42f54ae1-82f5-4fc2-84ca-d18e8d8ce62f" + "ID": "dbb0f89e-df4e-4d82-8e92-6a118df7e87a" } ] } ], - "ID": "330816b9-bbed-476a-a509-e38e97140f2d" + "ID": "0a28f7da-527c-44a3-8f60-eda7121e8f1b" }, { "CommandList": [ @@ -463,12 +485,12 @@ "Message": "版本不存在,请重新指定要发布的版本" } ], - "ID": "a8cbc44f-16a1-4c54-aaa5-41990c9a20ba" + "ID": "d2c2ebad-fb50-4e7a-83fb-cd806eaf36fe" } ] } ], - "ID": "10395fca-a6e0-4100-a076-92f839468977" + "ID": "9eccac9a-1f01-4df3-ac91-fe0442d94d06" }, { "CommandList": [ @@ -478,7 +500,7 @@ "Message": "项目不存在" } ], - "ID": "8e44474f-aa11-4385-9c80-02b29a8d20d7" + "ID": "bb295bfb-7c50-43d1-9265-06134be8f4a5" } ] }