{"Message":"修复任务初始化填充任务数据BUG","MessageType":2,"Modules":[{"State":2,"Type":16,"Name":"TaskScheduler/添加任务成员"},{"State":2,"Type":16,"Name":"TaskScheduler/删除任务成员"},{"State":1,"Type":27,"Name":"ServerCommandPrivate/初始化填充任务数据"},{"State":1,"Type":1,"Name":"PCPage/任务管理"},{"State":1,"Type":1,"Name":"PCPage/任务管理_列头"},{"State":1,"Type":16,"Name":"TaskScheduler/任务表更新事件"},{"State":3,"Type":16,"Name":"TaskScheduler/任务成员表变更事件"},{"State":3,"Type":16,"Name":"TaskScheduler/任务成员表删除事件"}],"Version":"v1"}

This commit is contained in:
超哥
2024-06-26 18:39:19 +08:00
parent d8d452377f
commit 71a0436eef
10 changed files with 458 additions and 274 deletions

View File

@@ -23,7 +23,25 @@
"TableValueType": 1,
"BindingInfos": [
{
"GUID": "91f87b24-b074-4377-85af-0ce3a70290e7",
"GUID": "fa80dc44-4dbb-46a5-818f-c5eace93b52e",
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "ID",
"GUID": "99f0fee8-e0f3-48ad-b4cb-56767ada0f75"
},
"ColumnName": "ID"
},
{
"GUID": "ccd4d0f1-68e6-4e06-836c-46ee1cb14116",
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "任务名称",
"GUID": "4d22167b-0d0c-48de-9d37-e6e850c943e0"
},
"ColumnName": "任务名称"
},
{
"GUID": "59e8d52c-a716-4205-91f9-bfe3dc60c55c",
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "项目ID",
@@ -32,7 +50,7 @@
"ColumnName": "项目ID"
},
{
"GUID": "419da719-9510-441d-80cc-4ee11afff767",
"GUID": "61395d0f-6f4c-4347-9f43-5bf3c5703594",
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "任务负责人",
@@ -41,7 +59,7 @@
"ColumnName": "任务负责人"
},
{
"GUID": "2adf5ff9-eb3d-4034-ba1a-b8e6e07dab95",
"GUID": "41ae5c6b-462d-4134-a717-7d62e4ad5e80",
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "FGC_Creator",
@@ -65,7 +83,7 @@
"NullFormulaValueQueryPolicy": 0,
"TopCount": "1"
},
"ID": "6e987fc3b65147938edbce374b633fb9"
"ID": "2cdd4639b4f049cbbb01195301a32385"
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
@@ -102,43 +120,103 @@
},
"CommandList": [
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "任务成员",
"UpdateType": "add",
"ShowConfirm": false,
"UpdateBindingValues": [
{
"BindingInfo": {
"TableName": "任务成员表",
"ColumnName": "项目ID",
"GUID": "36c3d1cc-3690-4afc-8177-b12641d9ab8b"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务.项目ID"
}
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "检测是否已是成员",
"TableValue": {
"TableName": "任务成员表",
"TableValueType": 3,
"SqlCondition": {
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
"SubConditions": [
{
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "任务成员表",
"ColumnName": "任务ID",
"GUID": "be9bdab1-bfd0-4426-94bc-681301098045"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ID"
}
},
{
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "任务成员表",
"ColumnName": "任务成员",
"GUID": "f2659ec4-d47a-48ea-a8a4-bc590a695dd3"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务.任务负责人"
}
}
]
},
"NullFormulaValueQueryPolicy": 0
},
"ID": "e3d8b191a3e34b89afcfc7da561b8a9a"
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"BindingInfo": {
"TableName": "任务成员表",
"ColumnName": "任务ID",
"GUID": "faca65dc-c031-453d-a5c5-0cb188d381df"
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=检测是否已是成员"
}
},
"value": "0"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ID"
}
},
{
"BindingInfo": {
"TableName": "任务成员表",
"ColumnName": "任务成员",
"GUID": "97b2d16a-cadb-469d-8384-e083836f69d2"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务.任务负责人"
}
"CommandList": [
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "任务成员表",
"UpdateType": "add",
"ShowConfirm": false,
"UpdateBindingValues": [
{
"BindingInfo": {
"TableName": "任务成员表",
"ColumnName": "项目ID",
"GUID": "942b47f1-2951-4b4c-a8f3-3e11401788e1"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务.项目ID"
}
},
{
"BindingInfo": {
"TableName": "任务成员表",
"ColumnName": "任务ID",
"GUID": "26adae20-4ba6-444b-b65a-21e72f4d53d6"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ID"
}
},
{
"BindingInfo": {
"TableName": "任务成员表",
"ColumnName": "任务成员",
"GUID": "55d5aa21-6c08-462a-a7dc-7570ec21c6b3"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务.任务负责人"
}
}
]
}
],
"ID": "3d88c8a5-236b-482c-b950-87e34dc0cd65"
}
]
},
@@ -163,58 +241,118 @@
},
"CommandList": [
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "任务成员",
"UpdateType": "add",
"ShowConfirm": false,
"UpdateBindingValues": [
{
"BindingInfo": {
"TableName": "任务成员表",
"ColumnName": "项目ID",
"GUID": "253894ad-5983-4e92-9989-ee208aaf15c9"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务.项目ID"
}
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "检测是否已是成员",
"TableValue": {
"TableName": "任务成员表",
"TableValueType": 3,
"SqlCondition": {
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
"SubConditions": [
{
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "任务成员表",
"ColumnName": "任务ID",
"GUID": "d0fa004b-b5ec-4b97-ba47-47fa8503adef"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ID"
}
},
{
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "任务成员表",
"ColumnName": "任务成员",
"GUID": "f2659ec4-d47a-48ea-a8a4-bc590a695dd3"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务.创建者"
}
}
]
},
"NullFormulaValueQueryPolicy": 0
},
"ID": "fc2da484a7cd476ea97d471e6c24be2e"
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"BindingInfo": {
"TableName": "任务成员表",
"ColumnName": "任务ID",
"GUID": "bd4be969-2724-4c5c-a4a6-51406fdf4d33"
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=检测是否已是成员"
}
},
"value": "0"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ID"
}
},
{
"BindingInfo": {
"TableName": "任务成员表",
"ColumnName": "任务成员",
"GUID": "6d96f870-c7c3-45c8-9e50-7040600cebcf"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务.创建者"
}
"CommandList": [
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "任务成员表",
"UpdateType": "add",
"ShowConfirm": false,
"UpdateBindingValues": [
{
"BindingInfo": {
"TableName": "任务成员表",
"ColumnName": "项目ID",
"GUID": "1cf6bbeb-8e96-47bd-b4d5-56eee8560d4c"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务.项目ID"
}
},
{
"BindingInfo": {
"TableName": "任务成员表",
"ColumnName": "任务ID",
"GUID": "05b0a91c-da6f-48de-ba43-40d53135f424"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ID"
}
},
{
"BindingInfo": {
"TableName": "任务成员表",
"ColumnName": "任务成员",
"GUID": "29297a84-17bc-4b2e-8424-51549229d092"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务.创建者"
}
}
]
}
],
"ID": "8516038b-dbdc-4100-b32c-e03c62d262ba"
}
]
}
],
"ID": "780ca6cd-8476-4c45-959c-33e002b99495"
"ID": "c12d3a27-35ea-40f8-b403-3af2596ec725"
}
]
}
],
"ID": "6ae7130d-bd4d-43b7-919c-6d6088dec456"
"ID": "50b453fc-f154-4432-8c0a-03fa4a0df3d9"
}
]
}
],
"ID": "5f28a4bd-e887-4c0d-b2e8-7f5e68521af5"
"ID": "3c9cd85c-aeff-4d38-9740-938d58eece2f"
}
]
},