From 4c9a7aba428584ade11c47cd249b8b7d4420416d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B6=85=E5=93=A5?= Date: Tue, 18 Jun 2024 22:21:26 +0800 Subject: [PATCH] =?UTF-8?q?{"Message":"=E5=A2=9E=E5=8A=A0=E4=BB=BB?= =?UTF-8?q?=E5=8A=A1=E6=88=90=E5=91=98=E5=8F=98=E5=8A=A8=E6=97=B6=EF=BC=8C?= =?UTF-8?q?=E8=87=AA=E5=8A=A8=E6=8B=89=E5=85=A5=E6=88=96=E7=A7=BB=E5=87=BA?= =?UTF-8?q?Gitee=E4=BB=93=E5=BA=93=E3=80=82","MessageType":2,"Modules":[{"?= =?UTF-8?q?State":1,"Type":11,"Name":"UserService"},{"State":1,"Type":1,"N?= =?UTF-8?q?ame":"PCPage/=E5=AE=8C=E5=96=84Gitee=E8=B5=84=E6=96=99"},{"Stat?= =?UTF-8?q?e":1,"Type":15,"Name":"ServerCommand/=E6=9B=B4=E6=96=B0GITEE?= =?UTF-8?q?=E4=BF=A1=E6=81=AF"},{"State":1,"Type":15,"Name":"ServerCommand?= =?UTF-8?q?/=E7=94=A8=E6=88=B7=E7=99=BB=E5=BD=95=E6=A3=80=E6=9F=A5"},{"Sta?= =?UTF-8?q?te":1,"Type":15,"Name":"ServerCommand/=E5=9C=A8=E7=BA=BF?= =?UTF-8?q?=E8=8E=B7=E5=8F=96=E4=BB=93=E5=BA=93=E6=9F=90=E6=97=A5=E6=8F=90?= =?UTF-8?q?=E4=BA=A4=E6=95=B0=E6=8D=AE"},{"State":1,"Type":15,"Name":"Serv?= =?UTF-8?q?erCommand/=E6=96=B0=E5=A2=9E=E4=BB=BB=E5=8A=A1"},{"State":3,"Ty?= =?UTF-8?q?pe":27,"Name":"ServerCommandPrivate/=E5=88=A4=E6=96=AD=E6=98=AF?= =?UTF-8?q?=E5=90=A6=E4=B8=BA=E4=BB=93=E5=BA=93=E6=88=90=E5=91=98"},{"Stat?= =?UTF-8?q?e":3,"Type":27,"Name":"ServerCommandPrivate/=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E4=BB=93=E5=BA=93=E6=88=90=E5=91=98"},{"State":3,"Type":27,"Na?= =?UTF-8?q?me":"ServerCommandPrivate/=E7=A7=BB=E9=99=A4=E4=BB=93=E5=BA=93?= =?UTF-8?q?=E6=88=90=E5=91=98"},{"State":3,"Type":16,"Name":"TaskScheduler?= =?UTF-8?q?/=E6=B7=BB=E5=8A=A0=E4=BB=BB=E5=8A=A1=E6=88=90=E5=91=98"},{"Sta?= =?UTF-8?q?te":3,"Type":16,"Name":"TaskScheduler/=E5=88=A0=E9=99=A4?= =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E6=88=90=E5=91=98"}],"Version":"v1"}?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .collaboration | 99 +---- Pages/Git/完善Gitee资料.json | 8 +- SchedulerTasks/删除任务成员.json | 252 ++++++++++++ SchedulerTasks/添加任务成员.json | 135 +++++++ ServerCommands/Gitee/判断是否为仓库成员.json | 291 ++++++++++++++ .../Gitee/在线获取仓库某日提交数据.json | 49 +-- ServerCommands/Gitee/增加仓库成员.json | 368 ++++++++++++++++++ ServerCommands/Gitee/更新GITEE信息.json | 18 +- ServerCommands/Gitee/移除仓库成员.json | 368 ++++++++++++++++++ ServerCommands/任务/新增任务.json | 54 +-- ServerCommands/系统/用户登录检查.json | 49 +-- UserServiceDB.sqlite3 | Bin 565248 -> 565248 bytes 12 files changed, 1499 insertions(+), 192 deletions(-) create mode 100644 SchedulerTasks/删除任务成员.json create mode 100644 SchedulerTasks/添加任务成员.json create mode 100644 ServerCommands/Gitee/判断是否为仓库成员.json create mode 100644 ServerCommands/Gitee/增加仓库成员.json create mode 100644 ServerCommands/Gitee/移除仓库成员.json diff --git a/.collaboration b/.collaboration index 421ad93d..c51e3206 100644 --- a/.collaboration +++ b/.collaboration @@ -1490,18 +1490,7 @@ }, { "ModuleName": "UserService", - "State": 1, - "LockedBy": { - "UserName": "超哥", - "Email": "phoben@qq.com" - }, - "LockDateTime": "2024-06-18T21:50:17.0080313+08:00", - "ModuleType": 11, - "ToRemoveFiles": [ - "UserServiceDB.sqlite3", - "CloudStorageProvider\\data.json", - "SecurityProviderV2\\data.json" - ] + "ModuleType": 11 }, { "ModuleName": "CustomLibrary", @@ -1701,17 +1690,7 @@ }, { "ModuleName": "PCPage/完善Gitee资料", - "State": 1, - "LockedBy": { - "UserName": "超哥", - "Email": "phoben@qq.com" - }, - "LockDateTime": "2024-06-18T21:58:52.8253495+08:00", - "ModuleType": 1, - "ToRemoveFiles": [ - "Pages\\Git\\完善Gitee资料.json", - "Pages\\Git\\完善Gitee资料.rd" - ] + "ModuleType": 1 }, { "ModuleName": "Image/gitee2.svg", @@ -1719,16 +1698,7 @@ }, { "ModuleName": "ServerCommand/更新GITEE信息", - "State": 1, - "LockedBy": { - "UserName": "超哥", - "Email": "phoben@qq.com" - }, - "LockDateTime": "2024-06-18T21:59:22.7927296+08:00", - "ModuleType": 15, - "ToRemoveFiles": [ - "ServerCommands\\Gitee\\更新GITEE信息.json" - ] + "ModuleType": 15 }, { "ModuleName": "ServerCommands/OPENAPI", @@ -1960,16 +1930,7 @@ }, { "ModuleName": "ServerCommand/用户登录检查", - "State": 1, - "LockedBy": { - "UserName": "超哥", - "Email": "phoben@qq.com" - }, - "LockDateTime": "2024-06-18T22:00:10.8197296+08:00", - "ModuleType": 15, - "ToRemoveFiles": [ - "ServerCommands\\系统\\用户登录检查.json" - ] + "ModuleType": 15 }, { "ModuleName": "Notification/提醒通知", @@ -2021,16 +1982,7 @@ }, { "ModuleName": "ServerCommand/在线获取仓库某日提交数据", - "State": 1, - "LockedBy": { - "UserName": "超哥", - "Email": "phoben@qq.com" - }, - "LockDateTime": "2024-06-18T21:58:16.844169+08:00", - "ModuleType": 15, - "ToRemoveFiles": [ - "ServerCommands\\Gitee\\在线获取仓库某日提交数据.json" - ] + "ModuleType": 15 }, { "ModuleName": "PCPage/项目代码", @@ -2090,16 +2042,7 @@ }, { "ModuleName": "ServerCommand/新增任务", - "State": 1, - "LockedBy": { - "UserName": "超哥", - "Email": "phoben@qq.com" - }, - "LockDateTime": "2024-06-18T22:13:03.0786482+08:00", - "ModuleType": 15, - "ToRemoveFiles": [ - "ServerCommands\\任务\\新增任务.json" - ] + "ModuleType": 15 }, { "ModuleName": "TaskScheduler/仓库新增事件", @@ -2107,52 +2050,22 @@ }, { "ModuleName": "ServerCommandPrivate/判断是否为仓库成员", - "State": 3, - "LockedBy": { - "UserName": "超哥", - "Email": "phoben@qq.com" - }, - "LockDateTime": "2024-06-18T21:44:05.0098997+08:00", "ModuleType": 27 }, { "ModuleName": "ServerCommandPrivate/增加仓库成员", - "State": 3, - "LockedBy": { - "UserName": "超哥", - "Email": "phoben@qq.com" - }, - "LockDateTime": "2024-06-18T22:02:02.865106+08:00", "ModuleType": 27 }, { "ModuleName": "ServerCommandPrivate/移除仓库成员", - "State": 3, - "LockedBy": { - "UserName": "超哥", - "Email": "phoben@qq.com" - }, - "LockDateTime": "2024-06-18T22:09:15.648927+08:00", "ModuleType": 27 }, { "ModuleName": "TaskScheduler/添加任务成员", - "State": 3, - "LockedBy": { - "UserName": "超哥", - "Email": "phoben@qq.com" - }, - "LockDateTime": "2024-06-18T22:15:24.1859612+08:00", "ModuleType": 16 }, { "ModuleName": "TaskScheduler/删除任务成员", - "State": 3, - "LockedBy": { - "UserName": "超哥", - "Email": "phoben@qq.com" - }, - "LockDateTime": "2024-06-18T22:17:34.3958101+08:00", "ModuleType": 16 } ] \ No newline at end of file diff --git a/Pages/Git/完善Gitee资料.json b/Pages/Git/完善Gitee资料.json index 56d8cc7c..8f4678ac 100644 --- a/Pages/Git/完善Gitee资料.json +++ b/Pages/Git/完善Gitee资料.json @@ -101,8 +101,6 @@ "resize": "none" }, "DataValidationInfo": { - "NumberType": 8, - "FirstParamValue": "^((([a-zA-Z]|\\d|[!#\\$%&'\\*\\+\\-\\/=\\?\\^_`{\\|}~]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])+(\\.([a-zA-Z]|\\d|[!#\\$%&'\\*\\+\\-\\/=\\?\\^_`{\\|}~]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])+)*)|((\\x22)((((\\x20|\\x09)*(\\x0d\\x0a))?(\\x20|\\x09)+)?(([\\x01-\\x08\\x0b\\x0c\\x0e-\\x1f\\x7f]|\\x21|[\\x23-\\x5b]|[\\x5d-\\x7e]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])|(\\\\([\\x01-\\x09\\x0b\\x0c\\x0d-\\x7f]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]))))*(((\\x20|\\x09)*(\\x0d\\x0a))?(\\x20|\\x09)+)?(\\x22)))@((([a-zA-Z]|\\d|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])|(([a-zA-Z]|\\d|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])([a-zA-Z]|\\d|-|\\.|_|~|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])*([a-zA-Z]|\\d|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])))\\.)+(([a-zA-Z]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])|(([a-zA-Z]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])([a-zA-Z]|\\d|-|\\.|_|~|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])*([a-zA-Z]|[\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF])))$", "IgnoreBlank": false, "SelectedDefaultRegularExpression": "邮箱" } @@ -237,7 +235,7 @@ "ReloadData": true } ], - "ID": "d38079fa-495c-41c9-979b-8d25f815b422" + "ID": "e6c27be3-9d11-4d52-bfac-5d17ae739df3" }, { "CommandList": [ @@ -252,7 +250,7 @@ "BtnText": "知道了" } ], - "ID": "1ca969cf-e54d-4163-bb6c-29080b8b71f2" + "ID": "f0348929-cc14-4e7a-8d17-a7426e9c6346" } ] } @@ -347,4 +345,4 @@ "PaperSize": {}, "Margin": {} } -}//hGKJ+5sFud7h/kIB9wPPQHvf7z0ZN4Ftke/xIKkjspe27umTIw+q4ye6VTtdlT76h8mVhMkyTBnQgh2Wv126nDhKAXKHkbEelqRQ05ZDChgJ8BrcXrXqV2ctjZMxeOYsNEeXbLxiq9iPm5hG7musbeAWeKiZPPdrX7sSA2A537BrRwOsgvSWJObs/g1arNBbcg1rbln5A0EYYVtOVCJtBp0TuttlaZZQWF/8w3ruINSH+3UO42b960cVIJvb7aa+a+d6VCjRKIVB4pSHKeLONRWaN1+dxmntAdi+6X35SM3zT1KWIN6oO4tXQGuYcXEAaGSMwQ3edSpxz4BiqUJ9GAGRgCVOWHAS77b8hoB90gQUlO8BvRAHQ//y6t4Dz0EK7rfXZwTQdwWsYSeh145YG1C7h+drAX4loB2/dJ8gq4EkKaEr+DHHRqic5hnY62ZJZHcpNJ0JyRm2qvyc7yEv5N447wJxmS6s0+E3P0AOokXvDLGMMKPHseljGjZIrwfgPIGk4JwklEHvZ8wdBTLUqkpTZpsPNXpM44k5H3Uca5ELQDJepwzJLSv77TG4Fl+AagQQEoIB8ryu/K6owzOLm2J75BcsV6RJymTY08+sgMCUIJ5RIa+664Es7hmNf5JnYip8OMt3Tb7dI8TZTSUFBhO9DtIEg+8zEPSYF2gAvuh80E79AIJIy0QkTf1123S277XzuLHa9EIjgo76/Tiq5OWntHZZdiBz6lvrL+Kk9M3nCC/fLdikP6Xh1x9LIQPPr7GeBGVpceAmnO2xbW7QMX+tVR7QRq38aTPtXlv64420wwq+OQH9yc65vROxdBiLDbhEOBD2xknN4xCyuUu1gDtsN3TqHy2xgqGeWl3/QZeOcDzlxYP+/C/MNxNbtGCJvPhPkIgdLsed13S6HJkPdA==|920 \ No newline at end of file +}//ZoFDrRVvvN7riDqkXTJ3vhd15IYRvvZSHazAeNWJOGFQIPZcs55SlyzrsS/lYjHXmJGBBaj+NWotT4y96AkAlSK2u2DQ8IhZOQCtPVl08NMv+dGHHfl0foE8myCD5TfpTTijMOgTRPmKU253vEU4j85T8uBXFxwNL/SJ7rUspHQgqGVW/zH6ir13y1Kvt7vHSQtoGbDzmo13heN09H6zHX70poP7mE6rqpek20EZPw7CFWw5bv2qZZN0R7aaF6AVrGFIb603T00iuWH7ANxDdELERr6vL9V8JTFdIT838TxgZCAYmubiVOm88uimGvetXiELOywUWPrgwT26O7uXEJnbCaPrWrt09ddCUaeJKtus5pZ+aWsooomHF8KItF2TyXwdm0/kgjceY8A2RZtnxiMkZwXqvPhBjQKCtq/IjAoltxEbAqoN3n4Hix7mGIpDwezP22rc567D8p1tUF+bvrCxJaJ9BFstOTXO6gkg16FFghvDW0Jg6x5uxu1vsWshdMr+xF3eZ452TK4n1JfyL0l+WK0s44PMdfRJjR2aQJgdi1SPsTXVPJA/dg95PjTu9hJYKDznLl5BL5CwL64lxlrGouVjm/6ihsalq7WUspWIaauMr/K4LvwSfddSXebznepqJ/dhuw9y/iTOei8ayGWVFzcwh/CLhwR/AP+v5HTsb3ctUv+r72SrizGpIQpJVG47+8AatKoQIUgryng9NcGyQcnbhrnVTFGsyEmNfjvHB6UuvRZG4UmEyxxt7iNUrCrU283LfQeZvXIF4r8zHoB4/KJb56s7dodFvY2BWgvmNPfOWNN27CWFilCrXjONlwH9xGtHzQViNw4DAfVZpXuRoMbO3DK3Wir8puFfDP8pafrgF4zwpO3N4NTfmQd8CekvdxAuT2X0rfY+g+0lTQ==|920 \ No newline at end of file diff --git a/SchedulerTasks/删除任务成员.json b/SchedulerTasks/删除任务成员.json new file mode 100644 index 00000000..0d54a58d --- /dev/null +++ b/SchedulerTasks/删除任务成员.json @@ -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" + } + ] + } + ] +} \ No newline at end of file diff --git a/SchedulerTasks/添加任务成员.json b/SchedulerTasks/添加任务成员.json new file mode 100644 index 00000000..a785b718 --- /dev/null +++ b/SchedulerTasks/添加任务成员.json @@ -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" + } + ] + } + ] +} \ No newline at end of file diff --git a/ServerCommands/Gitee/判断是否为仓库成员.json b/ServerCommands/Gitee/判断是否为仓库成员.json new file mode 100644 index 00000000..87fc05a2 --- /dev/null +++ b/ServerCommands/Gitee/判断是否为仓库成员.json @@ -0,0 +1,291 @@ +{ + "Name": "判断是否为仓库成员", + "Enabled": true, + "Triggers": [ + { + "$type": "Forguncy.SaveLoad.InvokeTriggerSaveData, ServerDesignerCommon", + "Parameters": [ + { + "Name": "检测用户", + "DataValidationInfo": { + "IgnoreBlank": false + }, + "TestData": "linxi" + }, + { + "Name": "空间路径", + "DataValidationInfo": { + "IgnoreBlank": false + }, + "TestData": "yugasoft" + }, + { + "Name": "仓库路径", + "DataValidationInfo": { + "IgnoreBlank": false + }, + "TestData": "sst-ga-res" + } + ], + "InvokeTriggerTestData": { + "UserName": "Administrator" + } + } + ], + "Commands": [ + { + "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", + "ParameterName": "用户", + "TableValue": { + "TableName": "用户信息视图", + "TableValueType": 1, + "BindingInfos": [ + { + "GUID": "640dd92f-0bf8-4391-b3eb-f0b1dd379336", + "BindingInfo": { + "TableName": "用户信息视图", + "ColumnName": "GIT用户名", + "GUID": "cfc0c600-5d1f-41ba-ad07-8c77444e5748" + }, + "ColumnName": "GIT用户名" + }, + { + "GUID": "d2b48381-be2c-4e45-96da-5de9ed58bf8a", + "BindingInfo": { + "TableName": "用户信息视图", + "ColumnName": "GIT密码", + "GUID": "ec2222a1-0ee7-4b1a-8872-5a9f101f9495" + }, + "ColumnName": "GIT密码" + } + ], + "SqlCondition": { + "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", + "ColumnBindingInfo": { + "TableName": "用户信息视图", + "ColumnName": "用户名", + "GUID": "59cb0c69-e361-405b-8b58-c3337407a53e" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=检测用户" + } + }, + "NullFormulaValueQueryPolicy": 0, + "TopCount": "1" + }, + "ID": "b67c61c022a24531a060cb6141bbce88" + }, + { + "$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": "=用户.GIT用户名" + } + }, + "value": "%Null%", + "compareType": 1 + } + ] + }, + "CommandList": [ + { + "$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon", + "ServerCommandName": "请求令牌", + "Parameters": [ + { + "$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon", + "ParamName": "用户名", + "Value": "Administrator" + }, + { + "$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon", + "ParamName": "强制刷新", + "Value": "0" + } + ], + "ResultErrorCodeTo": { + "SerializeProperty": "code" + }, + "ResultMessageTo": { + "SerializeProperty": "msg" + }, + "ReturnPropertiesTo": [ + { + "ResultPropertyName": "最新令牌", + "ResultTo": { + "SerializeProperty": "ACCESS_TOKEN" + } + } + ], + "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.CatchExceptionCommand, ServerDesignerCommon", + "TryCommandPart": { + "CommandList": [ + { + "$type": "GETPOST.编码类.URL编码, GETPOST", + "BianmaMsg": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=用户.GIT用户名" + }, + "BianMaTpye": 1, + "BianMaFun": 1, + "FanHuiMsg": "编码用户名" + }, + { + "$type": "PostDataToWebApi.PostDataCommand, PostDataToWebApi", + "PostData": { + "DataItemType": 1, + "Data": { + "$type": "PostDataToWebApi.ObjectData, PostDataToWebApi", + "Data": [ + { + "Name": "access_token", + "DataItemType": 0, + "Data": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=ACCESS_TOKEN" + } + } + ] + } + }, + "WebUrl": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=\"https://gitee.com/api/v5/repos/\"&空间路径&\"/\"&仓库路径&\"/collaborators/\"&编码用户名" + }, + "Method": "GET", + "SuccessCallback": "// 请求成功返回的数据存储在“result”变量中\r\n// 请使用“result”变量来完成请求成功的回调 \r\n//console.log(result);", + "ErrorCallback": "// 请求中发生的错误存储在“error”变量中\r\n// 请使用“error”变量来处理异常情况 \r\nconsole.error(error);", + "NewParameter": "result", + "Header": [], + "Timeout": 10.0 + }, + { + "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", + "ErrorCode": "0", + "Message": "该成员为仓库成员", + "CustomReturns": [ + { + "ReturnPropertyName": "ACCESS_TOKEN", + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=ACCESS_TOKEN" + } + } + ] + } + ] + }, + "CatchCommandPart": { + "CommandList": [ + { + "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", + "ErrorCode": "400", + "Message": "该成员不为仓库成员", + "CustomReturns": [ + { + "ReturnPropertyName": "ACCESS_TOKEN", + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=ACCESS_TOKEN" + } + } + ] + } + ] + } + } + ], + "ID": "78826300-5643-4881-89dd-d7009b0118e8" + }, + { + "CommandList": [ + { + "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", + "ErrorCode": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=code" + }, + "Message": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=msg" + }, + "CustomReturns": [ + { + "ReturnPropertyName": "ACCESS_TOKEN" + } + ] + } + ], + "ID": "d4260203-01ec-4981-b3c3-e27dd0108830" + } + ] + } + ], + "ID": "afdf11a9-69e2-4f2b-8a75-9c5916b4f874" + }, + { + "CommandList": [ + { + "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", + "ErrorCode": "400", + "Message": "该用户尚未维护Gitee信息", + "CustomReturns": [ + { + "ReturnPropertyName": "ACCESS_TOKEN" + } + ] + } + ], + "ID": "12b76645-89df-4c44-af81-c4dcc86389f7" + } + ] + } + ], + "ReturnProperties": [ + { + "Name": "ACCESS_TOKEN" + } + ] +} \ No newline at end of file diff --git a/ServerCommands/Gitee/在线获取仓库某日提交数据.json b/ServerCommands/Gitee/在线获取仓库某日提交数据.json index 979dfeac..10532466 100644 --- a/ServerCommands/Gitee/在线获取仓库某日提交数据.json +++ b/ServerCommands/Gitee/在线获取仓库某日提交数据.json @@ -73,7 +73,7 @@ "TableValueType": 1, "BindingInfos": [ { - "GUID": "1b1aa1ce-4afa-4cc1-b1c5-31f42cc3935f", + "GUID": "8ec1b6c9-8f37-4ade-989c-296e783fbec5", "BindingInfo": { "TableName": "Git仓库表", "ColumnName": "空间路径名", @@ -82,7 +82,7 @@ "ColumnName": "空间路径名" }, { - "GUID": "117e3875-1d12-4b85-aa88-a73d87864bcb", + "GUID": "29a22111-28d2-4173-9f30-dfddfcdd7813", "BindingInfo": { "TableName": "Git仓库表", "ColumnName": "仓库路径名", @@ -91,7 +91,7 @@ "ColumnName": "仓库路径名" }, { - "GUID": "ec2d3691-f0b0-4b74-a1f0-b7b772b5da29", + "GUID": "d3fe18a4-3bb8-4152-91e2-f6c249985847", "BindingInfo": { "TableName": "Git仓库表", "ColumnName": "仓库名称", @@ -115,7 +115,7 @@ "NullFormulaValueQueryPolicy": 0, "TopCount": "1" }, - "ID": "9bfbac7e547b46b6a4d5dfee70b80159" + "ID": "fcfcb5370e254905939c4fcfe1f0abed" }, { "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", @@ -125,22 +125,13 @@ "TableValueType": 1, "BindingInfos": [ { - "GUID": "5f95867c-3663-4046-bc97-1aca1622003e", + "GUID": "1e4e0e72-98e0-4607-832f-e63ccefda9a3", "BindingInfo": { "TableName": "用户信息视图", "ColumnName": "GIT用户名", "GUID": "25b16057-d543-4975-bc69-f26ab4854843" }, "ColumnName": "GIT用户名" - }, - { - "GUID": "f2526148-7ca1-4b9f-8b33-a3eaefc2ce2d", - "BindingInfo": { - "TableName": "用户信息视图", - "ColumnName": "邮件", - "GUID": "b37b6736-6fcb-4d1f-a8da-30a86de71762" - }, - "ColumnName": "邮件" } ], "SqlCondition": { @@ -158,7 +149,7 @@ "NullFormulaValueQueryPolicy": 0, "TopCount": "1" }, - "ID": "754a819248624485a9abb5c86712753b" + "ID": "fd49088e893c4d0a93832255a8031b39" }, { "$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit", @@ -310,7 +301,7 @@ "DataItemType": 0, "Data": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=成员.邮件" + "SerializeProperty": "=成员.GIT用户名" } }, { @@ -394,7 +385,7 @@ "WithinLoop": true } ], - "ID": "7fe7f89e-526e-4f6e-ad1e-ac1a08e8c45f" + "ID": "a258b50f-36bf-4a1d-885d-1be361eb4390" }, { "CommandList": [ @@ -519,12 +510,12 @@ "OutParamaterName": "提交信息数组" } ], - "ID": "2d5372e0-a0ab-4224-aff8-0c86ac1f49b5" + "ID": "52282a14-f53e-480a-99dd-2908c9784568" } ] } ], - "ID": "f7829de8-2958-42c5-b7d3-7c6a6eb60511" + "ID": "61f8a5c6-aabc-4fda-a5be-e028e50ea688" }, { "CommandList": [ @@ -542,17 +533,17 @@ "OutParamaterName": "提交信息数组" } ], - "ID": "6b532a5c-e01c-4a11-ac5d-612c15f05c58" + "ID": "dd0a80da-41cb-45f6-bfec-b6a837e14ddb" } ] } ], - "ID": "e47d7060-4df2-4745-a399-75f08fd12ab8" + "ID": "f22c5688-163a-4e95-8905-7d5b85fa0d03" } ] } ], - "ID": "d74ce186-e831-4936-a8dc-87baad6c1079" + "ID": "c0696e40-63f3-4c92-9a0e-976717b3e286" } ] } @@ -562,7 +553,7 @@ ] } ], - "ID": "6fcbba48-75cc-40cb-8b47-b662393ede2e" + "ID": "d370850e-88bb-48d3-b651-99560ae93ec4" } ] } @@ -621,7 +612,7 @@ ] } ], - "ID": "2e877980-8a9b-4bf1-a2fc-2dc9ead7fd87" + "ID": "bfa377b7-7af0-4fdf-8ee1-cc0a9abe86a1" }, { "CommandList": [ @@ -642,12 +633,12 @@ ] } ], - "ID": "885233d6-7a6c-4e29-98ce-0eba4a16d67f" + "ID": "c8282040-a0de-423a-8f7c-a75c8fb1f982" } ] } ], - "ID": "674a600e-717d-4eca-a58f-74485a2e8b39" + "ID": "79e86084-9554-4314-8932-86b31a0e4b31" }, { "CommandList": [ @@ -662,12 +653,12 @@ ] } ], - "ID": "97568787-a3b7-4efb-bc5e-83a94f7fa580" + "ID": "5e20c3e7-eb98-4d79-9cce-3531e2164b34" } ] } ], - "ID": "fd70c2d0-8444-43b7-a271-c3f8550103d7" + "ID": "d5d28842-f9ec-4b1e-8e0d-661a3b94cb85" }, { "CommandList": [ @@ -682,7 +673,7 @@ ] } ], - "ID": "7dd39217-e80e-452c-8ab1-e2d93088127a" + "ID": "4aac35b6-1221-403a-9fac-dea084187cfd" } ] } diff --git a/ServerCommands/Gitee/增加仓库成员.json b/ServerCommands/Gitee/增加仓库成员.json new file mode 100644 index 00000000..7489bd7d --- /dev/null +++ b/ServerCommands/Gitee/增加仓库成员.json @@ -0,0 +1,368 @@ +{ + "Name": "增加仓库成员", + "Enabled": true, + "Triggers": [ + { + "$type": "Forguncy.SaveLoad.InvokeTriggerSaveData, ServerDesignerCommon", + "Parameters": [ + { + "Name": "仓库ID", + "DataValidationInfo": {}, + "TestData": "33487312" + }, + { + "Name": "成员", + "DataValidationInfo": {}, + "TestData": "linxi" + } + ], + "InvokeTriggerTestData": { + "UserName": "Administrator" + } + } + ], + "Commands": [ + { + "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", + "ParameterName": "用户", + "TableValue": { + "TableName": "用户信息视图", + "TableValueType": 1, + "BindingInfos": [ + { + "GUID": "6a0612b1-d332-4daf-a99f-a960fe3122b8", + "BindingInfo": { + "TableName": "用户信息视图", + "ColumnName": "GIT用户名", + "GUID": "25b330fd-62ed-4d0b-8ccc-cfeeb9087bb6" + }, + "ColumnName": "GIT用户名" + }, + { + "GUID": "676d1d48-bd57-4b6c-b310-a1f10b8f4edc", + "BindingInfo": { + "TableName": "用户信息视图", + "ColumnName": "GIT密码", + "GUID": "c41f664e-b1ad-4c3c-8e10-33926de9de12" + }, + "ColumnName": "GIT密码" + } + ], + "SqlCondition": { + "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", + "ColumnBindingInfo": { + "TableName": "用户信息视图", + "ColumnName": "用户名", + "GUID": "77f6497e-0a26-4e3d-92c4-4c807a455563" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=成员" + } + }, + "NullFormulaValueQueryPolicy": 0, + "TopCount": "1" + }, + "ID": "5dc79d6e7c85431bab753562cd2dbb7c" + }, + { + "$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": "=用户.GIT用户名" + } + }, + "value": "%Null%", + "compareType": 1 + } + ] + }, + "CommandList": [ + { + "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", + "ParameterName": "仓库", + "TableValue": { + "TableName": "Git仓库表", + "TableValueType": 1, + "BindingInfos": [ + { + "GUID": "02a64056-1d4a-4fba-8f15-f0f02836bdf6", + "BindingInfo": { + "TableName": "Git仓库表", + "ColumnName": "空间路径名", + "GUID": "7c1ab6bb-1e3c-41fb-a2f5-a208f902fb3d" + }, + "ColumnName": "空间路径名" + }, + { + "GUID": "1a473aee-9478-4e60-ae48-06b4493998d9", + "BindingInfo": { + "TableName": "Git仓库表", + "ColumnName": "仓库路径名", + "GUID": "549350b1-176c-40fa-957f-664b464a6fc0" + }, + "ColumnName": "仓库路径名" + } + ], + "SqlCondition": { + "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", + "ColumnBindingInfo": { + "TableName": "Git仓库表", + "ColumnName": "仓库ID", + "GUID": "a46197a1-76be-4909-a1e7-e486efac36bd" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=仓库ID" + } + }, + "NullFormulaValueQueryPolicy": 0, + "TopCount": "1" + }, + "ID": "e6bfd30904e34e50bc40ddb4f4c14f13" + }, + { + "$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": "用户名", + "Value": "Administrator" + }, + { + "$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon", + "ParamName": "强制刷新", + "Value": "0" + } + ], + "ResultErrorCodeTo": { + "SerializeProperty": "code" + }, + "ResultMessageTo": { + "SerializeProperty": "msg" + }, + "ReturnPropertiesTo": [ + { + "ResultPropertyName": "最新令牌", + "ResultTo": { + "SerializeProperty": "ACCESS_TOKEN" + } + } + ], + "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.CatchExceptionCommand, ServerDesignerCommon", + "TryCommandPart": { + "CommandList": [ + { + "$type": "GETPOST.编码类.URL编码, GETPOST", + "BianmaMsg": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=用户.GIT用户名" + }, + "BianMaTpye": 1, + "BianMaFun": 1, + "FanHuiMsg": "编码用户名" + }, + { + "$type": "PostDataToWebApi.PostDataCommand, PostDataToWebApi", + "PostData": { + "DataItemType": 1, + "Data": { + "$type": "PostDataToWebApi.ObjectData, PostDataToWebApi", + "Data": [ + { + "Name": "access_token", + "DataItemType": 0, + "Data": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=ACCESS_TOKEN" + } + }, + { + "Name": "permission", + "DataItemType": 0, + "Data": "push" + } + ] + } + }, + "WebUrl": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=\"https://gitee.com/api/v5/repos/\"&仓库.空间路径名&\"/\"&仓库.仓库路径名&\"/collaborators/\"&用户.GIT用户名" + }, + "Method": "PUT", + "SuccessCallback": "// 请求成功返回的数据存储在“result”变量中\r\n// 请使用“result”变量来完成请求成功的回调 \r\n//console.log(result);", + "ErrorCallback": "// 请求中发生的错误存储在“error”变量中\r\n// 请使用“error”变量来处理异常情况 \r\nconsole.error(error);", + "NewParameter": "result", + "Header": [], + "Timeout": 10.0 + }, + { + "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", + "ErrorCode": "0", + "Message": "设置成员权限成功" + } + ] + }, + "CatchCommandPart": { + "CommandList": [ + { + "$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon", + "TableName": "日志表", + "UpdateType": "add", + "ShowConfirm": false, + "UpdateBindingValues": [ + { + "BindingInfo": { + "TableName": "日志表", + "ColumnName": "标题", + "GUID": "f65aa440-21a2-4891-a210-053b3d216252" + }, + "Value": "新增或设置仓库成员权限" + }, + { + "BindingInfo": { + "TableName": "日志表", + "ColumnName": "内容", + "GUID": "98ae3704-38d1-4161-9c84-77d6b82678eb" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=ExceptionMessage" + } + }, + { + "BindingInfo": { + "TableName": "日志表", + "ColumnName": "类型", + "GUID": "4a4476d9-09ee-4bf4-94de-59b4921a4831" + }, + "Value": "错误" + } + ] + }, + { + "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", + "ErrorCode": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=ExceptionCode" + }, + "Message": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=ExceptionMessage" + } + } + ] + } + } + ], + "ID": "1912b598-d49d-40f8-b735-1e772d30d92c" + }, + { + "CommandList": [ + { + "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", + "ErrorCode": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=code" + }, + "Message": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=msg" + } + } + ], + "ID": "20dfb257-3661-43bc-8acd-517c2f494357" + } + ] + } + ], + "ID": "abe257cb-8d0f-49d1-8db0-37179fe1e9d6" + }, + { + "CommandList": [ + { + "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", + "ErrorCode": "400", + "Message": "仓库不存在" + } + ], + "ID": "8c1d0bea-296f-4ebb-a749-8397a4bd94eb" + } + ] + } + ], + "ID": "bb47d61d-0865-431f-82ef-db495584470a" + }, + { + "CommandList": [ + { + "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", + "ErrorCode": "400", + "Message": "该用户尚未维护Gitee信息" + } + ], + "ID": "b396c5b8-75ee-433f-b259-3dce60fa91c5" + } + ] + } + ] +} \ No newline at end of file diff --git a/ServerCommands/Gitee/更新GITEE信息.json b/ServerCommands/Gitee/更新GITEE信息.json index e2891629..689ab05b 100644 --- a/ServerCommands/Gitee/更新GITEE信息.json +++ b/ServerCommands/Gitee/更新GITEE信息.json @@ -62,7 +62,7 @@ "TableValueType": 1, "BindingInfos": [ { - "GUID": "f93daff7-8a41-4e6d-ae95-c5da5cf2d4ea", + "GUID": "1b272cc8-ff24-4aa1-9795-10b22b504bbf", "BindingInfo": { "TableName": "用户信息视图", "ColumnName": "用户名", @@ -71,7 +71,7 @@ "ColumnName": "用户名" }, { - "GUID": "e492c62f-3726-431f-a9b8-f0803767cb90", + "GUID": "4e191c4a-ccc0-485a-bd61-0ebecf122d49", "BindingInfo": { "TableName": "用户信息视图", "ColumnName": "全名", @@ -80,11 +80,11 @@ "ColumnName": "全名" }, { - "GUID": "e4431bdd-85fc-4c72-970f-74bbba378349", + "GUID": "a0ee631b-9b0d-48a1-b2d1-66c9e0922682", "BindingInfo": { "TableName": "用户信息视图", "ColumnName": "邮件", - "GUID": "07d2c92f-708b-46a8-9610-3c326740dd88" + "GUID": "614d14c1-d3eb-474c-8645-4e7aa800c8e0" }, "ColumnName": "邮件" } @@ -104,7 +104,7 @@ "NullFormulaValueQueryPolicy": 0, "TopCount": "1" }, - "ID": "3f0ffb1d3f7f4655b6e6d27fe8b598f3" + "ID": "24f1c159d1b34db09b2072799a47af8d" }, { "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", @@ -254,7 +254,7 @@ "Message": "保存成功" } ], - "ID": "014e33da-3afd-4d65-80e7-af7fd58ced10" + "ID": "e3fb5ae4-5c30-4dec-b023-fd90122c56ad" }, { "CommandList": [ @@ -270,7 +270,7 @@ } } ], - "ID": "e6d43ff4-be74-45c3-b98a-7a140635f32d" + "ID": "f9b92651-b74c-4412-8c67-08fc1d94d3fd" } ] } @@ -293,7 +293,7 @@ } } ], - "ID": "465ea1cc-084f-4a65-8d72-4db87b5030d2" + "ID": "6f596371-4112-4fb8-8540-fdd7acd494a6" }, { "CommandList": [ @@ -303,7 +303,7 @@ "Message": "用户不存在" } ], - "ID": "81378159-d987-4662-a42b-0abef3076cf0" + "ID": "60237801-d71e-4138-8ac8-a3545c6894b9" } ] } diff --git a/ServerCommands/Gitee/移除仓库成员.json b/ServerCommands/Gitee/移除仓库成员.json new file mode 100644 index 00000000..09b5eccd --- /dev/null +++ b/ServerCommands/Gitee/移除仓库成员.json @@ -0,0 +1,368 @@ +{ + "Name": "移除仓库成员", + "Enabled": true, + "Triggers": [ + { + "$type": "Forguncy.SaveLoad.InvokeTriggerSaveData, ServerDesignerCommon", + "Parameters": [ + { + "Name": "仓库ID", + "DataValidationInfo": {}, + "TestData": "33487312" + }, + { + "Name": "成员", + "DataValidationInfo": {}, + "TestData": "linxi" + } + ], + "InvokeTriggerTestData": { + "UserName": "Administrator" + } + } + ], + "Commands": [ + { + "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", + "ParameterName": "用户", + "TableValue": { + "TableName": "用户信息视图", + "TableValueType": 1, + "BindingInfos": [ + { + "GUID": "df6a32b1-d7cb-413b-b2cc-d8f27bf2c9fc", + "BindingInfo": { + "TableName": "用户信息视图", + "ColumnName": "GIT用户名", + "GUID": "e438c713-665c-4543-8db0-f6f2e8871874" + }, + "ColumnName": "GIT用户名" + }, + { + "GUID": "90a46275-cffe-4a54-9752-01f8e0275e6f", + "BindingInfo": { + "TableName": "用户信息视图", + "ColumnName": "GIT密码", + "GUID": "893a696a-d88b-4edf-b38e-8353676a1429" + }, + "ColumnName": "GIT密码" + } + ], + "SqlCondition": { + "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", + "ColumnBindingInfo": { + "TableName": "用户信息视图", + "ColumnName": "用户名", + "GUID": "717f7d03-bd00-4d30-afb1-bba8f53cb052" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=成员" + } + }, + "NullFormulaValueQueryPolicy": 0, + "TopCount": "1" + }, + "ID": "f1bea57b26664cdf87370f409f603b4a" + }, + { + "$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": "=用户.GIT用户名" + } + }, + "value": "%Null%", + "compareType": 1 + } + ] + }, + "CommandList": [ + { + "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", + "ParameterName": "仓库", + "TableValue": { + "TableName": "Git仓库表", + "TableValueType": 1, + "BindingInfos": [ + { + "GUID": "02a64056-1d4a-4fba-8f15-f0f02836bdf6", + "BindingInfo": { + "TableName": "Git仓库表", + "ColumnName": "空间路径名", + "GUID": "7c1ab6bb-1e3c-41fb-a2f5-a208f902fb3d" + }, + "ColumnName": "空间路径名" + }, + { + "GUID": "1a473aee-9478-4e60-ae48-06b4493998d9", + "BindingInfo": { + "TableName": "Git仓库表", + "ColumnName": "仓库路径名", + "GUID": "549350b1-176c-40fa-957f-664b464a6fc0" + }, + "ColumnName": "仓库路径名" + } + ], + "SqlCondition": { + "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", + "ColumnBindingInfo": { + "TableName": "Git仓库表", + "ColumnName": "仓库ID", + "GUID": "a46197a1-76be-4909-a1e7-e486efac36bd" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=仓库ID" + } + }, + "NullFormulaValueQueryPolicy": 0, + "TopCount": "1" + }, + "ID": "e6bfd30904e34e50bc40ddb4f4c14f13" + }, + { + "$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": "用户名", + "Value": "Administrator" + }, + { + "$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon", + "ParamName": "强制刷新", + "Value": "0" + } + ], + "ResultErrorCodeTo": { + "SerializeProperty": "code" + }, + "ResultMessageTo": { + "SerializeProperty": "msg" + }, + "ReturnPropertiesTo": [ + { + "ResultPropertyName": "最新令牌", + "ResultTo": { + "SerializeProperty": "ACCESS_TOKEN" + } + } + ], + "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.CatchExceptionCommand, ServerDesignerCommon", + "TryCommandPart": { + "CommandList": [ + { + "$type": "GETPOST.编码类.URL编码, GETPOST", + "BianmaMsg": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=用户.GIT用户名" + }, + "BianMaTpye": 1, + "BianMaFun": 1, + "FanHuiMsg": "编码用户名" + }, + { + "$type": "PostDataToWebApi.PostDataCommand, PostDataToWebApi", + "PostData": { + "DataItemType": 1, + "Data": { + "$type": "PostDataToWebApi.ObjectData, PostDataToWebApi", + "Data": [ + { + "Name": "access_token", + "DataItemType": 0, + "Data": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=ACCESS_TOKEN" + } + }, + { + "Name": "permission", + "DataItemType": 0, + "Data": "push" + } + ] + } + }, + "WebUrl": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=\"https://gitee.com/api/v5/repos/\"&仓库.空间路径名&\"/\"&仓库.仓库路径名&\"/collaborators/\"&用户.GIT用户名" + }, + "Method": "DELETE", + "SuccessCallback": "// 请求成功返回的数据存储在“result”变量中\r\n// 请使用“result”变量来完成请求成功的回调 \r\n//console.log(result);", + "ErrorCallback": "// 请求中发生的错误存储在“error”变量中\r\n// 请使用“error”变量来处理异常情况 \r\nconsole.error(error);", + "NewParameter": "result", + "Header": [], + "Timeout": 10.0 + }, + { + "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", + "ErrorCode": "0", + "Message": "移除仓库成员成功" + } + ] + }, + "CatchCommandPart": { + "CommandList": [ + { + "$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon", + "TableName": "日志表", + "UpdateType": "add", + "ShowConfirm": false, + "UpdateBindingValues": [ + { + "BindingInfo": { + "TableName": "日志表", + "ColumnName": "标题", + "GUID": "9046e6da-5463-4803-a641-d1fad357b253" + }, + "Value": "新增或设置仓库成员权限" + }, + { + "BindingInfo": { + "TableName": "日志表", + "ColumnName": "内容", + "GUID": "afe9fd41-27a3-4b2b-aba3-3133a683e47f" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=ExceptionMessage" + } + }, + { + "BindingInfo": { + "TableName": "日志表", + "ColumnName": "类型", + "GUID": "fae3516e-e6cd-4c64-b52a-f9c2117a5882" + }, + "Value": "错误" + } + ] + }, + { + "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", + "ErrorCode": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=ExceptionCode" + }, + "Message": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=ExceptionMessage" + } + } + ] + } + } + ], + "ID": "15b702b3-ce05-4303-b67a-32691c3a7cae" + }, + { + "CommandList": [ + { + "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", + "ErrorCode": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=code" + }, + "Message": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=msg" + } + } + ], + "ID": "b2a2c697-7517-43d8-9d3d-ee0650f646f4" + } + ] + } + ], + "ID": "3ea737e9-e66f-4914-971e-a5cff0413a74" + }, + { + "CommandList": [ + { + "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", + "ErrorCode": "400", + "Message": "仓库不存在" + } + ], + "ID": "fb449859-9055-48f2-8b9c-990625558c40" + } + ] + } + ], + "ID": "92808d85-2c9f-44c4-8051-69d36714abd6" + }, + { + "CommandList": [ + { + "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", + "ErrorCode": "400", + "Message": "该用户尚未维护Gitee信息" + } + ], + "ID": "bc6ea8be-e4e6-44cc-92b5-2d0ab45ab267" + } + ] + } + ] +} \ No newline at end of file diff --git a/ServerCommands/任务/新增任务.json b/ServerCommands/任务/新增任务.json index 123b2d5a..dbc31f79 100644 --- a/ServerCommands/任务/新增任务.json +++ b/ServerCommands/任务/新增任务.json @@ -163,7 +163,7 @@ "ID": "d01552992a0c4569864d9ac2ed82875b" } ], - "ID": "27d8d05a-878e-4e38-9c50-22db2b8ff7de" + "ID": "c995ccbd-f613-44ff-8af6-319a1de3b6a0" }, { "CommandList": [ @@ -174,12 +174,12 @@ "ID": "100407c5ad3545a4927cc51a64cc94ba" } ], - "ID": "e6d7d559-2e5b-4b9c-aed1-0a8d20cfd618" + "ID": "cc0cb7c8-3629-4003-a956-526b8cca6522" } ] } ], - "ID": "5b452186-29b1-4bf5-a235-68d0a3c9ec15" + "ID": "0b738736-143a-4933-b958-ab5d57001c8a" }, { "CommandList": [ @@ -190,7 +190,7 @@ "ID": "918e2a12022e4e8080c14ece366ea9bb" } ], - "ID": "dba9b261-35e4-40ef-9aec-5d72b3f23500" + "ID": "f357f4f5-1cdd-4e51-93cf-006110341ca7" } ] }, @@ -207,7 +207,7 @@ "BindingInfo": { "TableName": "任务表", "ColumnName": "项目ID", - "GUID": "f9ec393d-8d91-4100-a061-4000a1efa466" + "GUID": "dc072ecc-6a39-4b89-823e-3b506835fd34" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", @@ -218,7 +218,7 @@ "BindingInfo": { "TableName": "任务表", "ColumnName": "父任务ID", - "GUID": "8abe972a-9e9a-4284-b5aa-ec017f7bd5bc" + "GUID": "ca2e99de-c2c1-4b56-8a31-b3d5297b9f9f" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", @@ -229,7 +229,7 @@ "BindingInfo": { "TableName": "任务表", "ColumnName": "层级", - "GUID": "bf9ce170-29db-4e2b-9a8f-cc0c607c0b40" + "GUID": "130c875e-97d5-4768-9bf0-2d7cc3382a41" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", @@ -240,7 +240,7 @@ "BindingInfo": { "TableName": "任务表", "ColumnName": "任务名称", - "GUID": "96c8814e-76d4-4f80-a544-814645d51e74" + "GUID": "787e796c-f835-4d78-bfee-2c9a2ca9e9a5" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", @@ -251,7 +251,7 @@ "BindingInfo": { "TableName": "任务表", "ColumnName": "任务负责人", - "GUID": "71a6f6ea-dfa3-4934-8c3f-11f41f2d0e76" + "GUID": "e6f56e04-b2ff-4544-a881-92b3ecd34fa7" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", @@ -262,7 +262,7 @@ "BindingInfo": { "TableName": "任务表", "ColumnName": "开始时间", - "GUID": "8b8f4a4e-4f9c-40ff-87d6-b0263672a9fb" + "GUID": "c22adf72-35c9-4dd1-847f-b17fee4c176f" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", @@ -273,7 +273,7 @@ "BindingInfo": { "TableName": "任务表", "ColumnName": "结束时间", - "GUID": "9f9baac3-9371-4c73-b1c6-a74905a322f5" + "GUID": "d6bac9cc-4a50-43a9-b3db-ff3803dd24d5" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", @@ -284,7 +284,7 @@ "BindingInfo": { "TableName": "任务表", "ColumnName": "任务类型", - "GUID": "80c6447d-fbd3-4de8-99ba-eeea1e771879" + "GUID": "aa643e09-009e-4a1b-bd11-28ab9b9f6dd0" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", @@ -295,7 +295,7 @@ "BindingInfo": { "TableName": "任务表", "ColumnName": "分组ID", - "GUID": "8433c670-ecc4-4900-9afc-5cd8f7cdcaf9" + "GUID": "1cf52157-3f80-494d-b7c7-5f5db4985dd1" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", @@ -306,7 +306,7 @@ "BindingInfo": { "TableName": "任务表", "ColumnName": "版本", - "GUID": "0c84b620-db82-480e-99a6-3d4b9c144aac" + "GUID": "a3e59d0f-67ce-40b3-8666-219bfea3b55f" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", @@ -317,7 +317,7 @@ "BindingInfo": { "TableName": "任务表", "ColumnName": "任务说明", - "GUID": "292b556c-dffd-479c-909b-d5e35b76de63" + "GUID": "eca6f71a-f927-4329-9f24-9d68d09fd8f3" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", @@ -328,7 +328,7 @@ "BindingInfo": { "TableName": "任务表", "ColumnName": "备注", - "GUID": "033feb75-297d-4008-8770-ec851df03961" + "GUID": "604a8cda-eaf6-4f12-82ae-9275a717db4f" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", @@ -339,7 +339,7 @@ "BindingInfo": { "TableName": "任务表", "ColumnName": "任务预算工时", - "GUID": "66e19b74-0698-48d2-b4dd-f4632946aac2" + "GUID": "c4f1b83d-a502-46d5-be9f-3a71fb3bef41" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", @@ -350,7 +350,7 @@ "BindingInfo": { "TableName": "任务表", "ColumnName": "进度", - "GUID": "3e4340de-7c19-4f70-bcff-7dc04ef58914" + "GUID": "4fa004a7-fc87-4e04-b1dc-83de4ee4f804" }, "Value": "0" }, @@ -358,7 +358,7 @@ "BindingInfo": { "TableName": "任务表", "ColumnName": "功能名称", - "GUID": "8141a094-e012-4617-8815-82567e51efc4" + "GUID": "4f6ba417-c67b-4839-b9e0-54e651a67f29" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", @@ -369,14 +369,14 @@ "BindingInfo": { "TableName": "任务表", "ColumnName": "功能描述", - "GUID": "10903cc6-fe1e-4ac0-9fd8-40a3a68bf474" + "GUID": "8f4998e0-6968-4177-817f-2e1191edfb39" } }, { "BindingInfo": { "TableName": "任务表", "ColumnName": "收集反馈", - "GUID": "42892121-82fd-470e-862d-6ff11e3ff6d9" + "GUID": "914f7518-9fa5-40a9-8e54-32239ae76e20" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", @@ -387,7 +387,7 @@ "BindingInfo": { "TableName": "任务表", "ColumnName": "任务状态", - "GUID": "e0cfab6c-5942-43ba-a89c-1dffaba21de9" + "GUID": "84d61c90-ef6b-4e51-9949-77866f5395f5" }, "Value": "0" } @@ -404,7 +404,7 @@ "BindingInfo": { "TableName": "任务成员表", "ColumnName": "项目ID", - "GUID": "82a795d5-dff0-42c0-ba86-ba438076c0ad" + "GUID": "290f47b2-9327-46ac-91da-48a97304e898" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", @@ -415,7 +415,7 @@ "BindingInfo": { "TableName": "任务成员表", "ColumnName": "任务ID", - "GUID": "dc5bfad5-ecd8-4ba8-aa05-74efe3e78b74" + "GUID": "4967920c-4c61-4690-b15c-bf9fafbc6559" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", @@ -426,7 +426,7 @@ "BindingInfo": { "TableName": "任务成员表", "ColumnName": "任务成员", - "GUID": "c3c840c1-c010-481b-a4ea-f0ef86925a67" + "GUID": "a0d9f861-caf8-43df-a942-0c862af59da5" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", @@ -493,7 +493,7 @@ ] } ], - "ID": "425d89dd-d4ea-4733-bb9c-7dd1fe62ab63" + "ID": "f5a7f9cd-a8a8-4503-bdae-1de2fdd76551" }, { "CommandList": [ @@ -512,7 +512,7 @@ ] } ], - "ID": "3ae26b74-a588-49d8-beb9-fe32e20bccec" + "ID": "53fefe07-7f1c-4a7a-a16c-10398165419d" } ] } diff --git a/ServerCommands/系统/用户登录检查.json b/ServerCommands/系统/用户登录检查.json index a84de91c..87f9e964 100644 --- a/ServerCommands/系统/用户登录检查.json +++ b/ServerCommands/系统/用户登录检查.json @@ -65,7 +65,7 @@ }, "NullFormulaValueQueryPolicy": 0 }, - "ID": "0611ce7a4e8746aa9d044a136e71f256" + "ID": "8abbcee08d8c413dbed21601f8f7940b" }, { "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", @@ -144,10 +144,10 @@ } } ], - "ID": "3c94e6961f59412397003157b58e4f97" + "ID": "11518a616b094f43ba03d51ec355ed96" } ], - "ID": "f86996b1-c49b-44c0-9061-6da04d0cb2fe" + "ID": "4a145f73-ec81-4433-95d6-a0277c514680" } ] }, @@ -159,7 +159,7 @@ "TableValueType": 1, "BindingInfos": [ { - "GUID": "5d6049b7-e57a-44b2-8aa3-0f4d3dba9259", + "GUID": "737ba7a1-1bd1-4fc4-a9bf-c4d0e0c14960", "BindingInfo": { "TableName": "用户信息视图", "ColumnName": "用户名", @@ -168,7 +168,7 @@ "ColumnName": "用户名" }, { - "GUID": "ae79ff7a-4e78-4948-8734-59de62ec815f", + "GUID": "02eb17f6-264f-47ab-a232-d093b10332bd", "BindingInfo": { "TableName": "用户信息视图", "ColumnName": "全名", @@ -177,16 +177,7 @@ "ColumnName": "全名" }, { - "GUID": "f39d5273-8cdd-4372-b769-32bf007963f9", - "BindingInfo": { - "TableName": "用户信息视图", - "ColumnName": "邮件", - "GUID": "5ca729fc-02ec-4bed-830a-465c5a4af83a" - }, - "ColumnName": "邮件" - }, - { - "GUID": "5e41c04a-276f-4d1a-bf28-a8beb710ed2e", + "GUID": "225c0e6a-ff13-44a0-8b9c-c08264c87087", "BindingInfo": { "TableName": "用户信息视图", "ColumnName": "有效", @@ -195,7 +186,7 @@ "ColumnName": "有效" }, { - "GUID": "090595ec-f730-43a0-b00d-50ea0379158f", + "GUID": "eebce87b-4edd-4810-bfaf-3689d0f49d6b", "BindingInfo": { "TableName": "用户信息视图", "ColumnName": "角色", @@ -204,7 +195,7 @@ "ColumnName": "角色" }, { - "GUID": "196e8e5b-62e4-48bb-a832-ab91345549b6", + "GUID": "5a8e6ca1-8ad2-4112-aa10-23390619d568", "BindingInfo": { "TableName": "用户信息视图", "ColumnName": "组织上级", @@ -213,7 +204,7 @@ "ColumnName": "组织上级" }, { - "GUID": "85a59332-3723-4b7d-845b-7eb1399129b1", + "GUID": "ce13ef50-27e5-4fa0-95d6-d3af621cb8a7", "BindingInfo": { "TableName": "用户信息视图", "ColumnName": "负荷", @@ -222,7 +213,7 @@ "ColumnName": "负荷" }, { - "GUID": "00c98dd7-243c-41ba-82f0-212591951078", + "GUID": "0931c53d-202d-4ce7-b118-f6dbc5b3d94e", "BindingInfo": { "TableName": "用户信息视图", "ColumnName": "默认时薪", @@ -231,7 +222,7 @@ "ColumnName": "默认时薪" }, { - "GUID": "e56b5e4b-c1fc-46c0-be0e-1ae7efd161fd", + "GUID": "d3867fc4-27fc-4182-a884-4b0045e5be5f", "BindingInfo": { "TableName": "用户信息视图", "ColumnName": "GIT用户名", @@ -240,7 +231,7 @@ "ColumnName": "GIT用户名" }, { - "GUID": "0855d12b-7a81-46af-bca9-7fa00414d299", + "GUID": "7d04ac61-a167-4f48-b0ee-5ccd6089ab31", "BindingInfo": { "TableName": "用户信息视图", "ColumnName": "GIT密码", @@ -249,7 +240,7 @@ "ColumnName": "GIT密码" }, { - "GUID": "b41c8a44-cd6f-4a66-b23f-215221a534af", + "GUID": "2d3ec105-9701-4a40-b9f2-fb67df34ea77", "BindingInfo": { "TableName": "用户信息视图", "ColumnName": "公司", @@ -258,7 +249,7 @@ "ColumnName": "公司" }, { - "GUID": "017f041b-f125-419d-aa69-ca882eb1a344", + "GUID": "e09891db-df68-4888-8af9-2ed63c46e8d2", "BindingInfo": { "TableName": "用户信息视图", "ColumnName": "部门", @@ -267,7 +258,7 @@ "ColumnName": "部门" }, { - "GUID": "90d2fb01-15ea-4545-9327-8e9ea0f1415f", + "GUID": "90ddaaf0-c7f5-4c34-a72e-d6a4e3803078", "BindingInfo": { "TableName": "用户信息视图", "ColumnName": "小组", @@ -291,7 +282,7 @@ "NullFormulaValueQueryPolicy": 0, "TopCount": "1" }, - "ID": "044049dc6b7f4ee39323a8b040347378" + "ID": "6abe2f6a515f4dd998f6674b6a48bf50" }, { "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", @@ -384,10 +375,10 @@ } } ], - "ID": "f63d01584dce4c369f1abcfe6c6a871a" + "ID": "5aaaef1a24d842a18ce87024d2cbff7b" } ], - "ID": "93720d0e-27dc-4f63-886b-aab375f4fa4b" + "ID": "1aac1baa-622d-43f3-85ff-bee640c0c9ab" } ] }, @@ -481,10 +472,10 @@ } } ], - "ID": "b10acf98d0c64d9b9ddd5048246d88d2" + "ID": "da259cd75df340d4be185ce075a0df64" } ], - "ID": "50f81c54-2c07-4e74-9a5c-4a7dc26562ab" + "ID": "a4e5817f-618a-4bd5-8350-ad67db75174a" } ] }, diff --git a/UserServiceDB.sqlite3 b/UserServiceDB.sqlite3 index 4d636ff5aad9fc330eddac26145137ea01e44fde..a919c9725324e712ea138f187d48aeca4690249e 100644 GIT binary patch delta 295 zcmZoTpww_cX@a!iVg?3=E+B@1#S?Xm85eI%_+`f^-5hPdJ=&ger2?}U-?{1R35=>7 zeE<1g^WES(w^>nP7M}};G#djWCnJLftDqE^C9lC!Qkj;TnVp)GDkKROQdDQnsc5=CjJ_r1s?notjvsz z($XMON(w|uN`goUiS{Y=jN7NwGo?B(s%-zYpNVS$4ilzN$!FG-2b-V)HbH|MWP%18 fh*SrgrY_NbB%c|GS%8=oh}nRcefyDo4jTgi^4CL0 delta 150 zcmZoTpww_cX@a!idm)@0{qWoBg5 ZU~4~;&kV#YK+FonAU^x{Bl#RQ1^{D|EXDu;