{"Message":"增加任务成员变动时,自动拉入或移出Gitee仓库。","MessageType":2,"Modules":[{"State":1,"Type":11,"Name":"UserService"},{"State":1,"Type":1,"Name":"PCPage/完善Gitee资料"},{"State":1,"Type":15,"Name":"ServerCommand/更新GITEE信息"},{"State":1,"Type":15,"Name":"ServerCommand/用户登录检查"},{"State":1,"Type":15,"Name":"ServerCommand/在线获取仓库某日提交数据"},{"State":1,"Type":15,"Name":"ServerCommand/新增任务"},{"State":3,"Type":27,"Name":"ServerCommandPrivate/判断是否为仓库成员"},{"State":3,"Type":27,"Name":"ServerCommandPrivate/增加仓库成员"},{"State":3,"Type":27,"Name":"ServerCommandPrivate/移除仓库成员"},{"State":3,"Type":16,"Name":"TaskScheduler/添加任务成员"},{"State":3,"Type":16,"Name":"TaskScheduler/删除任务成员"}],"Version":"v1"}

This commit is contained in:
超哥
2024-06-18 22:21:26 +08:00
parent a58577f50e
commit 4c9a7aba42
12 changed files with 1499 additions and 192 deletions

View File

@@ -0,0 +1,252 @@
{
"Name": "删除任务成员",
"Enabled": true,
"Triggers": [
{
"$type": "Forguncy.SaveLoad.EndDBDeleteTriggerSaveData, ServerDesignerCommon",
"DataParamName": "变更数据",
"TableNameParamName": "数据表名",
"PrimaryKeyParamName": "主键",
"OperatorParamName": "操作人",
"OperationTimeParamName": "操作时间",
"SelectTables": [
"任务成员表"
]
}
],
"Commands": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "任务成员表",
"TableValue": {
"TableName": "任务成员表",
"TableValueType": 1,
"BindingInfos": [
{
"GUID": "7a00c483-c53d-4472-9d4d-7e8da8d98cda",
"BindingInfo": {
"TableName": "任务成员表",
"ColumnName": "任务ID",
"GUID": "11a01503-503d-4cd4-b030-1533e813344c",
"RelationBinding": {
"RelatedTable": "任务平行视图",
"RelatedColumn": "ID",
"DisplayColumn": "版本",
"NextRelationBinding": {
"RelatedTable": "项目版本",
"RelatedColumn": "ID",
"DisplayColumn": "仓库ID"
}
}
},
"ColumnName": "仓库ID"
},
{
"GUID": "f18d9de6-db9d-41f4-9417-7b1a731832ee",
"BindingInfo": {
"TableName": "任务成员表",
"ColumnName": "任务成员",
"GUID": "8fd1a862-1a40-456c-b747-95f2cc5736e9"
},
"ColumnName": "任务成员"
},
{
"GUID": "fe139fc4-ecec-4fcd-a0c7-a551eea755d9",
"BindingInfo": {
"TableName": "任务成员表",
"ColumnName": "任务ID",
"GUID": "a4b5128a-7fa3-4976-8afc-3fcd3d70495e",
"RelationBinding": {
"RelatedTable": "任务平行视图",
"RelatedColumn": "ID",
"DisplayColumn": "版本"
}
},
"ColumnName": "版本"
}
],
"SqlCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "任务成员表",
"ColumnName": "ID",
"GUID": "baaaa696-72d5-4465-bb10-fcd820685a6d"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=主键.ID"
}
},
"NullFormulaValueQueryPolicy": 0,
"TopCount": "1"
},
"ID": "45a9bcad07f04bfa8238d483a1b77a25"
},
{
"$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": "5b359ad4-e3f0-4d78-9a0f-e2b75b87d3ab",
"RelationBinding": {
"RelatedTable": "任务平行视图",
"RelatedColumn": "ID",
"DisplayColumn": "版本",
"NextRelationBinding": {
"RelatedTable": "项目版本",
"RelatedColumn": "ID",
"DisplayColumn": "仓库ID"
}
}
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务成员表.仓库ID"
}
},
{
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "任务成员表",
"ColumnName": "任务成员",
"GUID": "354f7bc1-a0ba-4b5a-a78d-70f253c97975"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务成员表.任务成员"
}
},
{
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"CompareType": 1,
"ColumnBindingInfo": {
"TableName": "任务成员表",
"ColumnName": "ID",
"GUID": "0bb67d92-134d-497e-bd52-9e2ec276f5e7"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=主键.ID"
}
}
]
},
"NullFormulaValueQueryPolicy": 0
},
"ID": "1d5b3aede57d4506b9efea90dcc85b85"
},
{
"$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": "=任务成员表.仓库ID"
}
},
"value": "%Null%",
"compareType": 1
},
"CommandList": [
{
"$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"
},
"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.ReturnCommand, ServerDesignerCommon",
"ErrorCode": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=code"
},
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=msg"
}
}
],
"ID": "51337041-0f56-4b56-9763-a5d4a7272c98"
},
{
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": "尚有其他任务中加入该仓库,取消移除"
}
],
"ID": "4e23ca46-d655-4f92-8bc6-8e8b7c1f3c8d"
}
]
}
],
"ID": "f4acecd3-cf02-455f-9887-1f593780beae"
},
{
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": "该任务版本未绑定仓库"
}
],
"ID": "24439c9f-27e9-4083-9d26-b6196c43a11d"
}
]
}
]
}

View File

@@ -0,0 +1,135 @@
{
"Name": "添加任务成员",
"Enabled": true,
"Triggers": [
{
"$type": "Forguncy.SaveLoad.EndDBInsertTriggerSaveData, ServerDesignerCommon",
"DataParamName": "变更数据",
"TableNameParamName": "数据表名",
"PrimaryKeyParamName": "主键",
"OperatorParamName": "操作人",
"OperationTimeParamName": "操作时间",
"SelectTables": [
"任务成员表"
]
}
],
"Commands": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "任务成员表",
"TableValue": {
"TableName": "任务成员表",
"TableValueType": 1,
"BindingInfos": [
{
"GUID": "bc469306-891a-455a-bf27-36895f1c2142",
"BindingInfo": {
"TableName": "任务成员表",
"ColumnName": "任务ID",
"GUID": "53455ba9-9b93-4d54-a52e-e59aca7bb0a0",
"RelationBinding": {
"RelatedTable": "任务平行视图",
"RelatedColumn": "ID",
"DisplayColumn": "版本",
"NextRelationBinding": {
"RelatedTable": "项目版本",
"RelatedColumn": "ID",
"DisplayColumn": "仓库ID"
}
}
},
"ColumnName": "仓库ID"
},
{
"GUID": "e73b68d9-8b35-42ff-9c76-3b70ab1c9b06",
"BindingInfo": {
"TableName": "任务成员表",
"ColumnName": "任务成员",
"GUID": "8860c399-59b1-4480-ad8e-326cab1d3b7a"
},
"ColumnName": "任务成员"
}
],
"SqlCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "任务成员表",
"ColumnName": "ID",
"GUID": "374ed20e-67dd-4af1-a9e8-cddc35d887d1"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=主键.ID"
}
},
"NullFormulaValueQueryPolicy": 0,
"TopCount": "1"
},
"ID": "766b5c6e24104778a42f6abd8737d27a"
},
{
"$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": "=任务成员表.仓库ID"
}
},
"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.ReturnCommand, ServerDesignerCommon",
"ErrorCode": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=code"
},
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=msg"
}
}
],
"ID": "6ac8bfb6-d2ff-4dee-905e-0a137c22ee31"
}
]
}
]
}