{"Message":"1","MessageType":2,"Modules":[{"State":1,"Type":15,"Name":"ServerCommand/新增项目发布记录"}],"Version":"v1"}

This commit is contained in:
cuckooent
2024-08-17 10:34:28 +08:00
parent 512c127296
commit 408a69ea40
2 changed files with 53 additions and 31 deletions

View File

@@ -1586,16 +1586,7 @@
}, },
{ {
"ModuleName": "ServerCommand/新增项目发布记录", "ModuleName": "ServerCommand/新增项目发布记录",
"State": 1, "ModuleType": 15
"LockedBy": {
"UserName": "cuckooent",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-08-17T10:33:03.99144+08:00",
"ModuleType": 15,
"ToRemoveFiles": [
"ServerCommands\\项目\\新增项目发布记录.json"
]
}, },
{ {
"ModuleName": "ServerCommand/新增或修改项目", "ModuleName": "ServerCommand/新增或修改项目",

View File

@@ -69,7 +69,7 @@
"TableValueType": 1, "TableValueType": 1,
"BindingInfos": [ "BindingInfos": [
{ {
"GUID": "9048b7a1-2f7b-4f2a-bcf2-1a2335072cf2", "GUID": "d716ec59-a03a-4c4f-8135-dff3ff28bf43",
"BindingInfo": { "BindingInfo": {
"TableName": "项目表", "TableName": "项目表",
"ColumnName": "项目状态", "ColumnName": "项目状态",
@@ -92,7 +92,7 @@
}, },
"NullFormulaValueQueryPolicy": 0 "NullFormulaValueQueryPolicy": 0
}, },
"ID": "365256dddaf64526a7c390fc078f8b3e" "ID": "5dab3fb9a681415b99f64200ab84bfa1"
}, },
{ {
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
@@ -119,7 +119,7 @@
"TableValueType": 1, "TableValueType": 1,
"BindingInfos": [ "BindingInfos": [
{ {
"GUID": "5c2ad450-39e6-427e-a249-8586576e2cec", "GUID": "045e05de-9121-49de-8679-b3de9096e54f",
"BindingInfo": { "BindingInfo": {
"TableName": "项目版本", "TableName": "项目版本",
"ColumnName": "版本名称", "ColumnName": "版本名称",
@@ -141,7 +141,7 @@
} }
} }
}, },
"ID": "63a5811bbb8041c0bd4b1e631aa872d4" "ID": "3416908ef31a4e73b1785cee422ef189"
}, },
{ {
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
@@ -197,7 +197,7 @@
}, },
"NullFormulaValueQueryPolicy": 0 "NullFormulaValueQueryPolicy": 0
}, },
"ID": "79c7e79d2d1a4763be61e6f11f2e3ba5" "ID": "680811f5daaa4a1d8eacd23b503d4fed"
}, },
{ {
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
@@ -228,7 +228,7 @@
"BindingInfo": { "BindingInfo": {
"TableName": "项目发布记录", "TableName": "项目发布记录",
"ColumnName": "项目ID", "ColumnName": "项目ID",
"GUID": "41e0cdef-affc-4f7b-a300-f2cc2f875bea" "GUID": "7d966506-9eb7-419c-bf77-085ec11cb7b5"
}, },
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -239,7 +239,7 @@
"BindingInfo": { "BindingInfo": {
"TableName": "项目发布记录", "TableName": "项目发布记录",
"ColumnName": "版本ID", "ColumnName": "版本ID",
"GUID": "36d138eb-68a6-4edd-b33c-2d1ce775f0f0" "GUID": "9ff3ac72-1720-4839-873e-7f9b03a7becb"
}, },
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -250,7 +250,7 @@
"BindingInfo": { "BindingInfo": {
"TableName": "项目发布记录", "TableName": "项目发布记录",
"ColumnName": "发布版本号", "ColumnName": "发布版本号",
"GUID": "a0952341-e7c2-47ab-8da5-9a1a5293182a" "GUID": "06581d8c-9962-42b5-af49-fa03b1e9cc64"
}, },
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -261,7 +261,7 @@
"BindingInfo": { "BindingInfo": {
"TableName": "项目发布记录", "TableName": "项目发布记录",
"ColumnName": "发布人", "ColumnName": "发布人",
"GUID": "e39edd23-20eb-429f-8f92-2b7b43b376d7" "GUID": "6a36add2-a256-4231-9315-75bf07f0ae71"
}, },
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -272,7 +272,7 @@
"BindingInfo": { "BindingInfo": {
"TableName": "项目发布记录", "TableName": "项目发布记录",
"ColumnName": "发布时间", "ColumnName": "发布时间",
"GUID": "577b6adc-ba9d-4802-83ae-db7739a724c3" "GUID": "222add61-f491-444c-9731-c9d0284fc961"
}, },
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -283,7 +283,7 @@
"BindingInfo": { "BindingInfo": {
"TableName": "项目发布记录", "TableName": "项目发布记录",
"ColumnName": "发布内容", "ColumnName": "发布内容",
"GUID": "44b0c55a-5db8-4abd-a7b9-0d1c4dafb5bb" "GUID": "ba627a4e-168c-4587-bd7d-9a0723d0d8c2"
}, },
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -292,6 +292,37 @@
} }
] ]
}, },
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "项目版本",
"ShowConfirm": false,
"RowsToUpdate": 1,
"RowsToUpdateCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "项目版本",
"ColumnName": "ID",
"GUID": "ccd28522-918a-4bba-b463-df8a9ea121c5"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=版本ID"
}
},
"UpdateBindingValues": [
{
"BindingInfo": {
"TableName": "项目版本",
"ColumnName": "最新版本号",
"GUID": "e6589e54-ec14-435c-a3b7-718952f2d2f2"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=版本号"
}
}
]
},
{ {
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon", "$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "项目动态", "TableName": "项目动态",
@@ -302,7 +333,7 @@
"BindingInfo": { "BindingInfo": {
"TableName": "项目动态", "TableName": "项目动态",
"ColumnName": "项目ID", "ColumnName": "项目ID",
"GUID": "abaa2b8a-6a1c-4eaf-ab8e-236de9d329da" "GUID": "5a3eacc4-5cee-408a-b06e-9911e9bcc724"
}, },
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -313,7 +344,7 @@
"BindingInfo": { "BindingInfo": {
"TableName": "项目动态", "TableName": "项目动态",
"ColumnName": "项目动态", "ColumnName": "项目动态",
"GUID": "ff783fad-76f9-4deb-91c8-56c75ee11c53" "GUID": "d14bc793-5a01-4605-b01a-76900e9465b8"
}, },
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -324,7 +355,7 @@
"BindingInfo": { "BindingInfo": {
"TableName": "项目动态", "TableName": "项目动态",
"ColumnName": "执行人", "ColumnName": "执行人",
"GUID": "5fea254a-acf9-46e2-81ec-9d559434a914" "GUID": "9e56f7ea-82eb-4457-bf64-f7145ff7c7d7"
}, },
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -335,7 +366,7 @@
"BindingInfo": { "BindingInfo": {
"TableName": "项目动态", "TableName": "项目动态",
"ColumnName": "类型", "ColumnName": "类型",
"GUID": "ca36555f-9ac7-4e19-b297-d8a8a608431f" "GUID": "780475ea-a2ef-4ebe-a46e-bdbac7a6ded6"
}, },
"Value": "3" "Value": "3"
} }
@@ -349,7 +380,7 @@
"Message": "新增成功" "Message": "新增成功"
} }
], ],
"ID": "a4965cba-bfd7-4023-8a5e-696246049a94" "ID": "b1a6eb96-7fd5-4a7e-932a-2bb690010ff5"
}, },
{ {
"CommandList": [ "CommandList": [
@@ -359,12 +390,12 @@
"Message": "该版本号已被使用,请更换版本号后重试!" "Message": "该版本号已被使用,请更换版本号后重试!"
} }
], ],
"ID": "e7005405-7ed9-41a5-843b-398b275f9209" "ID": "d142d95c-5c50-494f-9897-3cccebec18a6"
} }
] ]
} }
], ],
"ID": "97b656f3-4efe-4afb-9788-81acf103c291" "ID": "1c1d75be-6567-4902-98cf-6fb6997fcb24"
}, },
{ {
"CommandList": [ "CommandList": [
@@ -374,12 +405,12 @@
"Message": "版本不存在,请重新指定要发布的版本" "Message": "版本不存在,请重新指定要发布的版本"
} }
], ],
"ID": "278ef0e1-1a2e-43f5-bc69-17e5c05f2adc" "ID": "5e7db63d-2be3-4fd5-93b9-2d8f1d9af786"
} }
] ]
} }
], ],
"ID": "316c6629-a273-45c4-8422-e7e079dff1a7" "ID": "33c577a2-d8ac-42c5-b023-f64edc8a4d61"
}, },
{ {
"CommandList": [ "CommandList": [
@@ -389,7 +420,7 @@
"Message": "项目不存在" "Message": "项目不存在"
} }
], ],
"ID": "442dba59-a808-4e51-8f4c-37dde4d9a58f" "ID": "9e6a267c-2d3a-4691-ab57-fb1dfa7ca588"
} }
] ]
} }