{"Message":"完善日报里的\"从Gitee分析\"日志内容功能","MessageType":2,"Modules":[{"State":1,"Type":7,"Name":"Table/项目版本"},{"State":1,"Type":1,"Name":"PCPage/新增报工"},{"State":1,"Type":9,"Name":"Theme"},{"State":1,"Type":12,"Name":"CustomLibrary"},{"State":1,"Type":27,"Name":"ServerCommandPrivate/删除一个仓库WebHook"},{"State":1,"Type":7,"Name":"Table/Git仓库表"},{"State":1,"Type":15,"Name":"ServerCommand/GitCallback"},{"State":1,"Type":1,"Name":"PCPage/选择Git仓库"},{"State":1,"Type":15,"Name":"ServerCommand/同步一个仓库到表"},{"State":1,"Type":15,"Name":"ServerCommand/搜索仓库"},{"State":1,"Type":27,"Name":"ServerCommandPrivate/列出仓库的WebHooks"},{"State":1,"Type":15,"Name":"ServerCommand/获取单个仓库信息"},{"State":1,"Type":15,"Name":"ServerCommand/从Gitee提取报工"},{"State":3,"Type":15,"Name":"ServerCommand/获取某仓库分支"},{"State":3,"Type":1,"Name":"PCPage/分支选择"},{"State":3,"Type":1,"Name":"PCPage/完善Gitee资料"},{"State":3,"Type":38,"Name":"Image/gitee2.svg"},{"State":3,"Type":38,"Name":"Image/gitee1.svg"},{"State":3,"Type":15,"Name":"ServerCommand/更新GITEE信息"}],"Version":"v1"}
This commit is contained in:
@@ -87,7 +87,7 @@
|
||||
"BindingInfo": {
|
||||
"TableName": "Git_事件记录",
|
||||
"ColumnName": "事件名称",
|
||||
"GUID": "b5698686-4edb-4a65-a2e5-45ed333fadc5"
|
||||
"GUID": "efbbf095-19cd-4dae-92ec-a0f26a2efbcd"
|
||||
},
|
||||
"Value": "签入工程"
|
||||
},
|
||||
@@ -95,7 +95,7 @@
|
||||
"BindingInfo": {
|
||||
"TableName": "Git_事件记录",
|
||||
"ColumnName": "hook_id",
|
||||
"GUID": "fd4a5dbb-e0ad-4bf7-9322-d9adf645eb32"
|
||||
"GUID": "21366caf-c74c-4981-a013-6a7a67f6477d"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
@@ -106,7 +106,7 @@
|
||||
"BindingInfo": {
|
||||
"TableName": "Git_事件记录",
|
||||
"ColumnName": "事件内容",
|
||||
"GUID": "df11c98f-3267-4f64-94db-e7770898100e"
|
||||
"GUID": "c854b847-0492-418f-b8ff-ec205e556c75"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
@@ -117,7 +117,7 @@
|
||||
"BindingInfo": {
|
||||
"TableName": "Git_事件记录",
|
||||
"ColumnName": "空间路径",
|
||||
"GUID": "65e021d0-421e-4513-b77d-627a293cca44"
|
||||
"GUID": "4982e365-0843-42f7-aff4-1aff311903fd"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
@@ -128,7 +128,7 @@
|
||||
"BindingInfo": {
|
||||
"TableName": "Git_事件记录",
|
||||
"ColumnName": "仓库名称",
|
||||
"GUID": "6e0426ba-e02d-4d5b-978f-02aaa78e2f1d"
|
||||
"GUID": "c4d72e32-e0a7-4857-8cb1-df2f89597883"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
@@ -139,7 +139,7 @@
|
||||
"BindingInfo": {
|
||||
"TableName": "Git_事件记录",
|
||||
"ColumnName": "仓库路径",
|
||||
"GUID": "9a4a577a-89ff-45fe-9403-b76a61ca264e"
|
||||
"GUID": "e12eb196-adc5-4aeb-95bc-c2f7d6eedbec"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
@@ -150,7 +150,7 @@
|
||||
"BindingInfo": {
|
||||
"TableName": "Git_事件记录",
|
||||
"ColumnName": "url",
|
||||
"GUID": "132e4684-4a02-4380-8595-93f2780e327a"
|
||||
"GUID": "4c3e3d4f-2dd9-4e3a-a49f-d90d31a16a7b"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
@@ -161,7 +161,7 @@
|
||||
"BindingInfo": {
|
||||
"TableName": "Git_事件记录",
|
||||
"ColumnName": "提交人",
|
||||
"GUID": "0f80fa89-fa73-4a11-abfb-700ebd4bee12"
|
||||
"GUID": "347d5182-7b19-4a6f-8e5d-fc4612078592"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
@@ -172,7 +172,7 @@
|
||||
"BindingInfo": {
|
||||
"TableName": "Git_事件记录",
|
||||
"ColumnName": "git用户名",
|
||||
"GUID": "4b26a8fd-1245-4a97-acdd-f474f45f7cfd"
|
||||
"GUID": "527d6e11-d777-454e-9677-3ec7fadb6a0f"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
@@ -183,12 +183,23 @@
|
||||
"BindingInfo": {
|
||||
"TableName": "Git_事件记录",
|
||||
"ColumnName": "仓库ID",
|
||||
"GUID": "61b0a85a-db65-4576-9e9f-29c51865599e"
|
||||
"GUID": "cf208007-6e12-4fd0-8cf5-fe0f4f1b3632"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=钩子数据.repository.id"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "Git_事件记录",
|
||||
"ColumnName": "日期",
|
||||
"GUID": "38c80d5e-0881-40ed-811f-d45eb2a521ce"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=钩子数据.head_commit.committer.timestamp"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -198,7 +209,7 @@
|
||||
"Message": "签入已被记录"
|
||||
}
|
||||
],
|
||||
"ID": "61cdb37b-e3df-4ec8-b55d-6cc16166bcbd"
|
||||
"ID": "b9cf1980-a636-4a10-a6f5-e53f0711f9db"
|
||||
},
|
||||
{
|
||||
"CommandList": [
|
||||
@@ -250,7 +261,8 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"ID": "870440a4356a42c68a1979afdc94a1d5"
|
||||
"ID": "7a9485e728ea41d3b1481daa62b7036b",
|
||||
"Disabled": true
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
|
||||
@@ -278,7 +290,7 @@
|
||||
"BindingInfo": {
|
||||
"TableName": "Git_事件记录",
|
||||
"ColumnName": "事件名称",
|
||||
"GUID": "987654e9-a86d-4983-98c3-1d5c2b94733f"
|
||||
"GUID": "0e6e01aa-5695-4e80-ac62-9e64cf34a86c"
|
||||
},
|
||||
"Value": "签出模块"
|
||||
},
|
||||
@@ -286,7 +298,7 @@
|
||||
"BindingInfo": {
|
||||
"TableName": "Git_事件记录",
|
||||
"ColumnName": "hook_id",
|
||||
"GUID": "bca8da11-66d8-4365-b254-881fd7e5dcd7"
|
||||
"GUID": "dcf94894-2c9e-418e-966c-4f1e23906f71"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
@@ -297,7 +309,7 @@
|
||||
"BindingInfo": {
|
||||
"TableName": "Git_事件记录",
|
||||
"ColumnName": "事件内容",
|
||||
"GUID": "7eef9be6-a388-4e96-9b01-758d8efd041e"
|
||||
"GUID": "30f62c72-9b5b-468e-8913-dc78bfac2738"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
@@ -308,7 +320,7 @@
|
||||
"BindingInfo": {
|
||||
"TableName": "Git_事件记录",
|
||||
"ColumnName": "空间路径",
|
||||
"GUID": "69513fe0-9c5a-402a-9315-2e25e0d97ed1"
|
||||
"GUID": "d97f0ab6-fad1-4d96-b62f-aa4f65cc42e4"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
@@ -319,7 +331,7 @@
|
||||
"BindingInfo": {
|
||||
"TableName": "Git_事件记录",
|
||||
"ColumnName": "仓库名称",
|
||||
"GUID": "039c74bf-f727-4425-b446-8c39180ff5a3"
|
||||
"GUID": "15b9e3d3-cb05-475b-988f-e59667daa4c8"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
@@ -330,7 +342,7 @@
|
||||
"BindingInfo": {
|
||||
"TableName": "Git_事件记录",
|
||||
"ColumnName": "仓库路径",
|
||||
"GUID": "6b130a65-144f-449d-a106-59551eb02836"
|
||||
"GUID": "5dd5f4c1-9a4a-4308-a1d2-437ad831b120"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
@@ -341,7 +353,7 @@
|
||||
"BindingInfo": {
|
||||
"TableName": "Git_事件记录",
|
||||
"ColumnName": "url",
|
||||
"GUID": "b0b69598-37b2-42a0-b2a9-ae2a841bbf35"
|
||||
"GUID": "2f2a853b-0673-4a3b-b18c-d10b1ba53b40"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
@@ -352,7 +364,7 @@
|
||||
"BindingInfo": {
|
||||
"TableName": "Git_事件记录",
|
||||
"ColumnName": "提交人",
|
||||
"GUID": "103181f1-6b88-4a0f-acf5-3abe972d80b0"
|
||||
"GUID": "c0f7d5f9-d752-413e-b346-476b1c544f9d"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
@@ -363,7 +375,7 @@
|
||||
"BindingInfo": {
|
||||
"TableName": "Git_事件记录",
|
||||
"ColumnName": "git用户名",
|
||||
"GUID": "e5bfa05a-f1f9-4aa7-be57-adc7318bf57e"
|
||||
"GUID": "8c8e0a31-8990-4a0b-9b8c-94d084cb6681"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
@@ -374,7 +386,7 @@
|
||||
"BindingInfo": {
|
||||
"TableName": "Git_事件记录",
|
||||
"ColumnName": "仓库ID",
|
||||
"GUID": "2da4c9d9-7976-4cb5-b058-85b95eea804c"
|
||||
"GUID": "e71e0310-04a8-4a38-886d-c297c63044e1"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
@@ -384,9 +396,10 @@
|
||||
]
|
||||
}
|
||||
],
|
||||
"ID": "b183a29c-3c17-4c4c-9de2-2b5ab4a32f01"
|
||||
"ID": "12489899-d76f-4750-b786-fc6d7473bd14"
|
||||
}
|
||||
]
|
||||
],
|
||||
"Disabled": true
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
@@ -394,12 +407,12 @@
|
||||
"Message": "忽略非签入事件"
|
||||
}
|
||||
],
|
||||
"ID": "a372f8cc-845f-42c5-870b-66e27f536a22"
|
||||
"ID": "2e4c36df-ab04-47b2-aa99-bb1085ff5228"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"ID": "0e35e22f-578c-4d58-baee-93e4256386f5"
|
||||
"ID": "635f8496-5932-492c-80b8-2ac48a2a04a1"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -41,6 +41,13 @@
|
||||
"IgnoreBlank": false
|
||||
},
|
||||
"TestData": "Administrator"
|
||||
},
|
||||
{
|
||||
"Name": "任务ID",
|
||||
"DataValidationInfo": {
|
||||
"IgnoreBlank": false
|
||||
},
|
||||
"TestData": "12"
|
||||
}
|
||||
],
|
||||
"InvokeTriggerTestData": {
|
||||
@@ -57,7 +64,7 @@
|
||||
"TableValueType": 1,
|
||||
"BindingInfos": [
|
||||
{
|
||||
"GUID": "8f82e754-66c0-4b46-8096-452e5b638a47",
|
||||
"GUID": "46366003-75e0-4903-87a0-dcf074895064",
|
||||
"BindingInfo": {
|
||||
"TableName": "用户信息视图",
|
||||
"ColumnName": "GIT用户名",
|
||||
@@ -81,7 +88,46 @@
|
||||
"NullFormulaValueQueryPolicy": 0,
|
||||
"TopCount": "1"
|
||||
},
|
||||
"ID": "bbf27a5a9c66482f85c63fea495e0214"
|
||||
"ID": "8391e0732ab841529e2174dc037526ea"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "任务",
|
||||
"TableValue": {
|
||||
"TableName": "任务表",
|
||||
"TableValueType": 1,
|
||||
"BindingInfos": [
|
||||
{
|
||||
"GUID": "0e59cb25-2e18-48bc-8977-c383f267b674",
|
||||
"BindingInfo": {
|
||||
"TableName": "任务表",
|
||||
"ColumnName": "版本",
|
||||
"GUID": "dde5bb9b-eca1-4a75-8842-48e549ca0dfb",
|
||||
"RelationBinding": {
|
||||
"RelatedTable": "项目版本",
|
||||
"RelatedColumn": "ID",
|
||||
"DisplayColumn": "仓库ID"
|
||||
}
|
||||
},
|
||||
"ColumnName": "仓库ID"
|
||||
}
|
||||
],
|
||||
"SqlCondition": {
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "任务表",
|
||||
"ColumnName": "ID",
|
||||
"GUID": "b704bc09-9556-4e08-bf59-03af3049108f"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=任务ID"
|
||||
}
|
||||
},
|
||||
"NullFormulaValueQueryPolicy": 0,
|
||||
"TopCount": "1"
|
||||
},
|
||||
"ID": "a958acc5408244d390156e9085776e6e"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
|
||||
@@ -93,227 +139,13 @@
|
||||
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
|
||||
"ParamObject": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=用户.GIT用户名"
|
||||
"SerializeProperty": "=任务"
|
||||
}
|
||||
},
|
||||
"value": "%Null%",
|
||||
"compareType": 1
|
||||
},
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "计算天数",
|
||||
"ParameterValue": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=DATEDIF(开始日期,结束日期,\"d\")"
|
||||
},
|
||||
"ID": "839247702b97432483704b323205cd67"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "总工时",
|
||||
"ParameterValue": "0",
|
||||
"ID": "73122483179048b18313028406573a8f"
|
||||
},
|
||||
{
|
||||
"$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit",
|
||||
"InParamater": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=事件列表"
|
||||
},
|
||||
"OutParamaterName": "事件列表"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.LoopCommand, ServerDesignerCommon",
|
||||
"LoopInfo": {
|
||||
"$type": "Forguncy.Model.CountLoopInfo, ServerDesignerCommon",
|
||||
"LoopCount": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=计算天数+1"
|
||||
},
|
||||
"LoopIndexParamName": "index",
|
||||
"LoopItemParamName": "当前天数"
|
||||
},
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "当前日期",
|
||||
"ParameterValue": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=开始日期+index-1"
|
||||
},
|
||||
"ID": "d4a5f61ea18f4cc7a24de21472568421"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "Gitee事件",
|
||||
"TableValue": {
|
||||
"TableName": "Git_事件记录",
|
||||
"BindingInfos": [
|
||||
{
|
||||
"GUID": "8c52173d-d148-4903-b056-fb3b5e4271df",
|
||||
"BindingInfo": {
|
||||
"TableName": "Git_事件记录",
|
||||
"ColumnName": "日期",
|
||||
"GUID": "12eed73a-37a4-4ab4-9850-53a04c017263"
|
||||
},
|
||||
"ColumnName": "日期"
|
||||
},
|
||||
{
|
||||
"GUID": "03433246-583c-4fc6-bad5-16ba014ae315",
|
||||
"BindingInfo": {
|
||||
"TableName": "Git_事件记录",
|
||||
"ColumnName": "事件内容",
|
||||
"GUID": "c2d0070c-3266-465c-865d-90e48ee75302"
|
||||
},
|
||||
"ColumnName": "事件内容"
|
||||
}
|
||||
],
|
||||
"SqlCondition": {
|
||||
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
|
||||
"SubConditions": [
|
||||
{
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "Git_事件记录",
|
||||
"ColumnName": "git用户名",
|
||||
"GUID": "0057124f-d1b6-4f02-a3d8-1affcc691fed"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=用户.GIT用户名"
|
||||
}
|
||||
},
|
||||
{
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "Git_事件记录",
|
||||
"ColumnName": "日期",
|
||||
"GUID": "6f2040a7-9a8d-449f-982d-85c6c73ab517"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=当前日期"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"NullFormulaValueQueryPolicy": 0,
|
||||
"OrderBySqlCondition": {
|
||||
"OrderByColumns": [
|
||||
{
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "Git_事件记录",
|
||||
"ColumnName": "日期",
|
||||
"GUID": "d1eb816a-334f-46ce-9738-4740009be374"
|
||||
},
|
||||
"Order": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"ID": "09aaf1a2b4ed4c7ba9769efd0ffff595"
|
||||
},
|
||||
{
|
||||
"$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": "=Gitee事件.Count"
|
||||
}
|
||||
},
|
||||
"value": "0",
|
||||
"compareType": 2
|
||||
},
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "最小时间",
|
||||
"ParameterValue": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=Gitee事件.0.日期"
|
||||
},
|
||||
"ID": "c5dc990dffbc47e18c0f4a1db5c1381e"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "最大时间",
|
||||
"ParameterValue": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=GETPARAM(\"Gitee事件.\"&Gitee事件.Count-1&\".日期\")"
|
||||
},
|
||||
"ID": "7c19014644ba4fcfae80f801b077dbed"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "今日工时",
|
||||
"ParameterValue": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=IFERROR(ROUND((最大时间-最小时间)*24,1),0)"
|
||||
},
|
||||
"ID": "9dc82b30c38a47b98eed930ce1f0db4d"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "总工时",
|
||||
"ParameterValue": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=总工时+今日工时"
|
||||
},
|
||||
"ID": "3cf8b482c8914dce850e9cb334ebcd33"
|
||||
},
|
||||
{
|
||||
"$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit",
|
||||
"InParamater": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=Gitee事件"
|
||||
},
|
||||
"Operation": 16,
|
||||
"OperationParamaterAName": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=CHAR(10)"
|
||||
},
|
||||
"OperationParamaterBName": "事件内容",
|
||||
"OutParamaterName": "事件内容拼接"
|
||||
},
|
||||
{
|
||||
"$type": "CollectionOperationKit.ServerSideObjectOp, CollectionOperationKit",
|
||||
"OperationParamaterPairs": [
|
||||
{
|
||||
"Name": "内容",
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=事件内容拼接"
|
||||
}
|
||||
}
|
||||
],
|
||||
"OutParamaterName": "今日数据"
|
||||
},
|
||||
{
|
||||
"$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit",
|
||||
"InParamater": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=事件列表"
|
||||
},
|
||||
"Operation": 4,
|
||||
"OperationParamaterAName": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=今日数据"
|
||||
},
|
||||
"OutParamaterName": "事件列表"
|
||||
}
|
||||
],
|
||||
"ID": "5bc82618-62a0-4ad7-81de-4a4ae40003fb"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
|
||||
"ConditionAndCommandPairList": [
|
||||
@@ -324,109 +156,185 @@
|
||||
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
|
||||
"ParamObject": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=事件列表.Count"
|
||||
"SerializeProperty": "=用户.GIT用户名"
|
||||
}
|
||||
},
|
||||
"value": "0",
|
||||
"compareType": 2
|
||||
"value": "%Null%",
|
||||
"compareType": 1
|
||||
},
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "CollectionOperationKit.ServerSideObjectOp, CollectionOperationKit",
|
||||
"OperationParamaterPairs": [
|
||||
{
|
||||
"Name": "事件列表",
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=事件列表"
|
||||
}
|
||||
}
|
||||
],
|
||||
"OutParamaterName": "数据源"
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "计算天数",
|
||||
"ParameterValue": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=DATEDIF(开始日期,结束日期,\"d\")"
|
||||
},
|
||||
"ID": "1f3988569f6f469fa81277a93360312c"
|
||||
},
|
||||
{
|
||||
"$type": "MustachePlugin.Render, MustachePlugin",
|
||||
"DataSrouce": "{{#事件列表}}\r\n{{内容}}\r\n{{/事件列表}}",
|
||||
"UseCustomsDataHash": true,
|
||||
"CustomsDataHash": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=数据源"
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "总工时",
|
||||
"ParameterValue": "0",
|
||||
"ID": "73122483179048b18313028406573a8f"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "Gitee事件",
|
||||
"TableValue": {
|
||||
"TableName": "Git_事件记录",
|
||||
"BindingInfos": [
|
||||
{
|
||||
"GUID": "6bafd44a-35f7-4cc8-afc3-d06f8ba7b421",
|
||||
"BindingInfo": {
|
||||
"TableName": "Git_事件记录",
|
||||
"ColumnName": "事件内容",
|
||||
"GUID": "c2d0070c-3266-465c-865d-90e48ee75302"
|
||||
},
|
||||
"ColumnName": "事件内容"
|
||||
}
|
||||
],
|
||||
"SqlCondition": {
|
||||
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
|
||||
"SubConditions": [
|
||||
{
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"CompareType": 3,
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "Git_事件记录",
|
||||
"ColumnName": "日期",
|
||||
"GUID": "6f2040a7-9a8d-449f-982d-85c6c73ab517"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=开始日期"
|
||||
}
|
||||
},
|
||||
{
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"CompareType": 3,
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "Git_事件记录",
|
||||
"ColumnName": "日期",
|
||||
"GUID": "5a6061db-576d-4083-b830-58e94583f2f0"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=结束日期"
|
||||
}
|
||||
},
|
||||
{
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "Git_事件记录",
|
||||
"ColumnName": "git用户名",
|
||||
"GUID": "0057124f-d1b6-4f02-a3d8-1affcc691fed"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=用户.GIT用户名"
|
||||
}
|
||||
},
|
||||
{
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "Git_事件记录",
|
||||
"ColumnName": "仓库ID",
|
||||
"GUID": "1e4558ce-b6b5-465e-aff1-ba427e4bb9d0"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=任务.仓库ID"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"NullFormulaValueQueryPolicy": 0,
|
||||
"OrderBySqlCondition": {
|
||||
"OrderByColumns": [
|
||||
{
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "Git_事件记录",
|
||||
"ColumnName": "日期",
|
||||
"GUID": "d1eb816a-334f-46ce-9738-4740009be374"
|
||||
},
|
||||
"Order": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"SetMaxRecursionDepth": 512,
|
||||
"ResultTo": "输出结果"
|
||||
"ID": "2cb377727f324c1ca26920b7ae0c1401"
|
||||
},
|
||||
{
|
||||
"$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit",
|
||||
"InParamater": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=Gitee事件"
|
||||
},
|
||||
"Operation": 16,
|
||||
"OperationParamaterAName": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=CHAR(10)"
|
||||
},
|
||||
"OperationParamaterBName": "事件内容",
|
||||
"OutParamaterName": "获取工作内容"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": "0",
|
||||
"Message": "生成成功",
|
||||
"Message": "获取成功",
|
||||
"CustomReturns": [
|
||||
{
|
||||
"ReturnPropertyName": "工时",
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=总工时"
|
||||
}
|
||||
},
|
||||
{
|
||||
"ReturnPropertyName": "工作内容",
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=输出结果"
|
||||
"SerializeProperty": "=获取工作内容"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"ID": "0e598871-c20f-4ca0-abca-cf1feca9c43d"
|
||||
"ID": "e47946cd-e4d2-408f-86f7-44e46767465c"
|
||||
},
|
||||
{
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": "400",
|
||||
"Message": "无Gitee记录",
|
||||
"Message": "您尚未设置Gitee信息,请前往\"个人中心\"设置后再试",
|
||||
"CustomReturns": [
|
||||
{
|
||||
"ReturnPropertyName": "工时"
|
||||
},
|
||||
{
|
||||
"ReturnPropertyName": "工作内容"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"ID": "17cdfa64-1f6b-4a59-9670-949c6c3f5f2a"
|
||||
"ID": "bccc5e99-5617-45b3-8b4a-95a0acd27026"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"ID": "e0f0e898-5752-4cbb-a33a-6d032e73734d"
|
||||
"ID": "f075c648-5586-49c0-816c-95d1283782dc"
|
||||
},
|
||||
{
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": "400",
|
||||
"Message": "您尚未设置Gitee信息,请前往\"个人中心\"设置后再试",
|
||||
"Message": "任务不存在",
|
||||
"CustomReturns": [
|
||||
{
|
||||
"ReturnPropertyName": "工时"
|
||||
},
|
||||
{
|
||||
"ReturnPropertyName": "工作内容"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"ID": "3b95baba-3c99-45c2-b1cb-feaed60baf11"
|
||||
"ID": "141b8b4f-b94d-4491-bac9-642eed38e19d"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"ReturnProperties": [
|
||||
{
|
||||
"Name": "工时"
|
||||
},
|
||||
{
|
||||
"Name": "工作内容"
|
||||
}
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
"TableValueType": 1,
|
||||
"BindingInfos": [
|
||||
{
|
||||
"GUID": "ba26ad6b-e153-4018-acbf-19fd62234227",
|
||||
"GUID": "c6eb66bd-c1e2-4bf4-ad2d-549a68fb23f2",
|
||||
"BindingInfo": {
|
||||
"TableName": "用户信息视图",
|
||||
"ColumnName": "GIT用户名",
|
||||
@@ -43,7 +43,7 @@
|
||||
"ColumnName": "GIT用户名"
|
||||
},
|
||||
{
|
||||
"GUID": "88d30da5-84dc-4d11-b8ef-f8f545176b56",
|
||||
"GUID": "30c3f423-ad80-474d-ae90-2e7dc076bddb",
|
||||
"BindingInfo": {
|
||||
"TableName": "用户信息视图",
|
||||
"ColumnName": "GIT密码",
|
||||
@@ -67,7 +67,7 @@
|
||||
"NullFormulaValueQueryPolicy": 0,
|
||||
"TopCount": "1"
|
||||
},
|
||||
"ID": "46e29f04b4fd462f8586231d02327d70"
|
||||
"ID": "22c08c26600240308f2761ba08d0b396"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
@@ -291,7 +291,7 @@
|
||||
}
|
||||
}
|
||||
],
|
||||
"ID": "f3b11adb-460b-462a-a407-eb24c1edf879"
|
||||
"ID": "f727fc1a-5bda-49c8-a1c1-b54e23d0d412"
|
||||
},
|
||||
{
|
||||
"CommandList": [
|
||||
@@ -315,12 +315,12 @@
|
||||
]
|
||||
}
|
||||
],
|
||||
"ID": "5151823f-c28b-4635-a478-2b8d6a34cc97"
|
||||
"ID": "4fde08ac-6a64-4142-bf48-755405561889"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"ID": "0fe2bd70-2110-4273-a51b-c8cc82e24dff"
|
||||
"ID": "d3cb6dd1-113a-45ea-877e-0437029ad157"
|
||||
},
|
||||
{
|
||||
"CommandList": [
|
||||
@@ -338,7 +338,7 @@
|
||||
]
|
||||
}
|
||||
],
|
||||
"ID": "76ade898-cb5c-498d-a048-1ce527c4ccdc"
|
||||
"ID": "820d4a45-8033-4364-b172-008343f6154b"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
"TableValueType": 1,
|
||||
"BindingInfos": [
|
||||
{
|
||||
"GUID": "6984ed49-645c-4768-a88a-0edc4f34c65c",
|
||||
"GUID": "0f5789c1-7d47-4c09-8653-74a57374d6c6",
|
||||
"BindingInfo": {
|
||||
"TableName": "Git仓库表",
|
||||
"ColumnName": "空间路径名",
|
||||
@@ -47,7 +47,7 @@
|
||||
"ColumnName": "空间路径名"
|
||||
},
|
||||
{
|
||||
"GUID": "27c330a3-65da-4a14-9f71-81aebbc73575",
|
||||
"GUID": "8dc4402a-90d4-4e1b-98c6-7b53573085c2",
|
||||
"BindingInfo": {
|
||||
"TableName": "Git仓库表",
|
||||
"ColumnName": "仓库路径名",
|
||||
@@ -56,7 +56,7 @@
|
||||
"ColumnName": "仓库路径名"
|
||||
},
|
||||
{
|
||||
"GUID": "bd5c6119-0f98-41ae-a979-aa49b426d2bf",
|
||||
"GUID": "994df018-43ca-4427-98a9-3e3e0bde686c",
|
||||
"BindingInfo": {
|
||||
"TableName": "Git仓库表",
|
||||
"ColumnName": "Callback_url",
|
||||
@@ -80,7 +80,7 @@
|
||||
"NullFormulaValueQueryPolicy": 0,
|
||||
"TopCount": "1"
|
||||
},
|
||||
"ID": "69431f6041fc4cd9b99b4d2e12383acf"
|
||||
"ID": "203a79b333264e53af68232a742b899f"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
|
||||
@@ -279,7 +279,7 @@
|
||||
}
|
||||
}
|
||||
],
|
||||
"ID": "67e6f1f4-5eff-49e0-8926-27d1856fb5c1"
|
||||
"ID": "035835d7-f6e7-427e-a1d5-5908f7839a9d"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -314,7 +314,7 @@
|
||||
]
|
||||
}
|
||||
],
|
||||
"ID": "8716d4a2-58e3-4aea-b167-741ed33baac8"
|
||||
"ID": "096965ab-99e0-45ab-ae27-fa6c7783bd79"
|
||||
},
|
||||
{
|
||||
"CommandList": [
|
||||
@@ -330,12 +330,12 @@
|
||||
}
|
||||
}
|
||||
],
|
||||
"ID": "71262bf0-6d26-4719-a357-b07f85494bc9"
|
||||
"ID": "8f0c41d9-1e33-41ce-b3de-14694861b5a4"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"ID": "0fc6c357-c23c-4d12-9f93-86d3a4225087"
|
||||
"ID": "584c3d0c-dc78-4d8e-81f9-0478dcb4ce3b"
|
||||
},
|
||||
{
|
||||
"CommandList": [
|
||||
@@ -345,7 +345,7 @@
|
||||
"Message": "仓库不存在!"
|
||||
}
|
||||
],
|
||||
"ID": "3b7d20e5-423a-453e-ab46-154da6fda2b2"
|
||||
"ID": "433f6e82-7a58-495a-8145-97e68592c45d"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -288,7 +288,7 @@
|
||||
]
|
||||
}
|
||||
],
|
||||
"ID": "e1c14211-bea3-40a2-8209-c05ac6641717"
|
||||
"ID": "a807f4c6-100b-472a-95dd-2e5945c7ecff"
|
||||
},
|
||||
{
|
||||
"CommandList": [
|
||||
@@ -423,7 +423,7 @@
|
||||
]
|
||||
}
|
||||
],
|
||||
"ID": "51e42604-f5c1-4cf3-949e-0b42df31b38d"
|
||||
"ID": "72407f25-0b64-4d48-9d81-046afe8ec1e1"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -506,7 +506,7 @@
|
||||
"Message": "仓库创建并订阅成功!"
|
||||
}
|
||||
],
|
||||
"ID": "b1a21ca4-fcba-4dd3-8b59-04b34652ed03"
|
||||
"ID": "20254a52-621f-403a-837c-282f2ebd98fa"
|
||||
},
|
||||
{
|
||||
"CommandList": [
|
||||
@@ -519,12 +519,12 @@
|
||||
}
|
||||
}
|
||||
],
|
||||
"ID": "cb1079c2-3bc9-41fd-9ec1-b68eb25ec4aa"
|
||||
"ID": "8ca6caf7-69f3-4117-986e-5ab47308dad9"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"ID": "b2af65ed-7f3e-4128-8ae9-113cba32e899"
|
||||
"ID": "f3f1ed3c-07e5-477d-b11c-40ab7f9b074c"
|
||||
},
|
||||
{
|
||||
"CommandList": [
|
||||
@@ -534,7 +534,7 @@
|
||||
"Message": "仓库创建成功!"
|
||||
}
|
||||
],
|
||||
"ID": "bb33de37-3a08-4b5e-af09-01bd14a2b97d"
|
||||
"ID": "50f342ef-01b8-41f2-8fca-977e82a25f1c"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
"TableValueType": 1,
|
||||
"BindingInfos": [
|
||||
{
|
||||
"GUID": "ee5b35a4-06a6-4a2a-a665-b58156b9fc15",
|
||||
"GUID": "a564604d-afc6-4ae3-ba16-93247cd2cb06",
|
||||
"BindingInfo": {
|
||||
"TableName": "用户信息视图",
|
||||
"ColumnName": "GIT用户名",
|
||||
@@ -66,7 +66,7 @@
|
||||
"ColumnName": "GIT用户名"
|
||||
},
|
||||
{
|
||||
"GUID": "6ea48354-141a-4d2c-8285-ab8b1988f367",
|
||||
"GUID": "d7dfb6d7-1cef-471a-b3aa-dad8ccac3dfe",
|
||||
"BindingInfo": {
|
||||
"TableName": "用户信息视图",
|
||||
"ColumnName": "GIT密码",
|
||||
@@ -90,7 +90,7 @@
|
||||
"NullFormulaValueQueryPolicy": 0,
|
||||
"TopCount": "1"
|
||||
},
|
||||
"ID": "c64d23df7d3a47e69f731f0c19239ba5"
|
||||
"ID": "2528034657f241fda14936569d9936c6"
|
||||
},
|
||||
{
|
||||
"$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit",
|
||||
@@ -111,7 +111,7 @@
|
||||
{
|
||||
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
|
||||
"ParamName": "强制刷新",
|
||||
"Value": "1"
|
||||
"Value": "0"
|
||||
}
|
||||
],
|
||||
"ResultErrorCodeTo": {
|
||||
@@ -151,7 +151,7 @@
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "url",
|
||||
"ParameterValue": "https://gitee.com/api/v5/user/repos",
|
||||
"ID": "0cc32b8ca0f9411c8519262b7971b1a1"
|
||||
"ID": "da756c8347b240f4b7c2919872ba9fec"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.CatchExceptionCommand, ServerDesignerCommon",
|
||||
@@ -331,6 +331,13 @@
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=Item.hooks_url"
|
||||
}
|
||||
},
|
||||
{
|
||||
"Name": "默认分支",
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=Item.default_branch"
|
||||
}
|
||||
}
|
||||
],
|
||||
"OutParamaterName": "仓库信息"
|
||||
@@ -392,7 +399,7 @@
|
||||
}
|
||||
}
|
||||
],
|
||||
"ID": "df25692d-cba6-4ab0-b6de-62c3e1e81010"
|
||||
"ID": "905f8668-d05d-4891-9665-f0ece366c5ec"
|
||||
},
|
||||
{
|
||||
"CommandList": [
|
||||
@@ -420,7 +427,7 @@
|
||||
]
|
||||
}
|
||||
],
|
||||
"ID": "aff3d917-7f65-423d-b16a-e5ef80688026"
|
||||
"ID": "575165db-6124-4d97-a157-010dc25f90d3"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
"TableValueType": 1,
|
||||
"BindingInfos": [
|
||||
{
|
||||
"GUID": "dd93bbf6-7dde-4b30-a406-f63a596548dd",
|
||||
"GUID": "a51be233-ca58-4c9d-9a49-eb451a36ca5d",
|
||||
"BindingInfo": {
|
||||
"TableName": "用户信息视图",
|
||||
"ColumnName": "GIT用户名",
|
||||
@@ -66,7 +66,7 @@
|
||||
"ColumnName": "GIT用户名"
|
||||
},
|
||||
{
|
||||
"GUID": "fc4b6fc7-a13c-4bcf-9882-7e1f7086016f",
|
||||
"GUID": "bd4f2bf5-cb84-44c9-ba5c-9745b7296460",
|
||||
"BindingInfo": {
|
||||
"TableName": "用户信息视图",
|
||||
"ColumnName": "GIT密码",
|
||||
@@ -90,7 +90,7 @@
|
||||
"NullFormulaValueQueryPolicy": 0,
|
||||
"TopCount": "1"
|
||||
},
|
||||
"ID": "1a4b1507a7cd4d63968f95f0133280dc"
|
||||
"ID": "8324578b86584ff8b9d23602b4759aeb"
|
||||
},
|
||||
{
|
||||
"$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit",
|
||||
@@ -111,7 +111,7 @@
|
||||
{
|
||||
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
|
||||
"ParamName": "强制刷新",
|
||||
"Value": "1"
|
||||
"Value": "0"
|
||||
}
|
||||
],
|
||||
"ResultErrorCodeTo": {
|
||||
@@ -318,7 +318,7 @@
|
||||
}
|
||||
}
|
||||
],
|
||||
"ID": "d1816a0e-2d2b-4158-b493-5a03e61fd0bf"
|
||||
"ID": "c16630e5-da7b-418b-98bd-8cade075ff36"
|
||||
},
|
||||
{
|
||||
"CommandList": [
|
||||
@@ -343,7 +343,7 @@
|
||||
]
|
||||
}
|
||||
],
|
||||
"ID": "6619a91b-442d-42b1-879c-43335891ba82"
|
||||
"ID": "219ca079-7c23-4f3f-957a-175807a09cfa"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
371
ServerCommands/Gitee/获取某仓库分支.json
Normal file
371
ServerCommands/Gitee/获取某仓库分支.json
Normal file
@@ -0,0 +1,371 @@
|
||||
{
|
||||
"Name": "获取某仓库分支",
|
||||
"Enabled": true,
|
||||
"Triggers": [
|
||||
{
|
||||
"$type": "Forguncy.SaveLoad.PostRequestTriggerSaveData, ServerDesignerCommon",
|
||||
"Permission": {
|
||||
"PermissionData": {
|
||||
"$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionData, Forguncy.RbacPermission.Core",
|
||||
"permissionResource": {
|
||||
"$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionResource, Forguncy.RbacPermission.Core"
|
||||
},
|
||||
"permissionBindings": [
|
||||
{
|
||||
"$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionBinding, Forguncy.RbacPermission.Core",
|
||||
"roleNames": [
|
||||
"FGC_LoginUser"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"Parameters": [
|
||||
{
|
||||
"Name": "用户名",
|
||||
"DataValidationInfo": {
|
||||
"IgnoreBlank": false
|
||||
},
|
||||
"TestData": "Administrator"
|
||||
},
|
||||
{
|
||||
"Name": "仓库ID",
|
||||
"DataValidationInfo": {
|
||||
"IgnoreBlank": false
|
||||
},
|
||||
"TestData": "33487312"
|
||||
}
|
||||
],
|
||||
"InvokeTriggerTestData": {
|
||||
"UserName": "Administrator"
|
||||
}
|
||||
}
|
||||
],
|
||||
"Commands": [
|
||||
{
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "当前用户",
|
||||
"TableValue": {
|
||||
"TableName": "用户信息视图",
|
||||
"TableValueType": 1,
|
||||
"BindingInfos": [
|
||||
{
|
||||
"GUID": "63aa6b40-aefd-41c2-91ff-ffdbe5ca9065",
|
||||
"BindingInfo": {
|
||||
"TableName": "用户信息视图",
|
||||
"ColumnName": "GIT用户名",
|
||||
"GUID": "662b2f45-2280-460c-8779-47a746e6319e"
|
||||
},
|
||||
"ColumnName": "GIT用户名"
|
||||
},
|
||||
{
|
||||
"GUID": "fef0405d-1cf9-43ea-ba28-ed59a8b1688a",
|
||||
"BindingInfo": {
|
||||
"TableName": "用户信息视图",
|
||||
"ColumnName": "GIT密码",
|
||||
"GUID": "339ee5aa-23f4-47b8-96ff-d0e5c766e1a1"
|
||||
},
|
||||
"ColumnName": "GIT密码"
|
||||
}
|
||||
],
|
||||
"SqlCondition": {
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "用户信息视图",
|
||||
"ColumnName": "用户名",
|
||||
"GUID": "d2703b93-a7e5-4967-abd0-75f2906e28d4"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=用户名"
|
||||
}
|
||||
},
|
||||
"NullFormulaValueQueryPolicy": 0,
|
||||
"TopCount": "1"
|
||||
},
|
||||
"ID": "d86d5faca9b240dab3c1709b42211323"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon",
|
||||
"ServerCommandName": "请求令牌",
|
||||
"Parameters": [
|
||||
{
|
||||
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
|
||||
"ParamName": "用户名",
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=用户名"
|
||||
}
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
|
||||
"ParamName": "强制刷新",
|
||||
"Value": "0"
|
||||
}
|
||||
],
|
||||
"ResultErrorCodeTo": {
|
||||
"SerializeProperty": "code"
|
||||
},
|
||||
"ResultMessageTo": {
|
||||
"SerializeProperty": "msg"
|
||||
},
|
||||
"ReturnPropertiesTo": [
|
||||
{
|
||||
"ResultPropertyName": "最新令牌",
|
||||
"ResultTo": {
|
||||
"SerializeProperty": "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.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "仓库",
|
||||
"TableValue": {
|
||||
"TableName": "Git仓库表",
|
||||
"TableValueType": 1,
|
||||
"BindingInfos": [
|
||||
{
|
||||
"GUID": "60acd7bb-f3ce-4aaf-8cf6-29c4e06adc31",
|
||||
"BindingInfo": {
|
||||
"TableName": "Git仓库表",
|
||||
"ColumnName": "空间路径名",
|
||||
"GUID": "6263c854-542e-4df0-a3ea-6ea5c9fb9100"
|
||||
},
|
||||
"ColumnName": "空间路径名"
|
||||
},
|
||||
{
|
||||
"GUID": "47ede713-1c30-4c70-878e-6cc82f79b222",
|
||||
"BindingInfo": {
|
||||
"TableName": "Git仓库表",
|
||||
"ColumnName": "仓库路径名",
|
||||
"GUID": "fe8b4447-00d9-4f7f-94f9-1bbcc801da38"
|
||||
},
|
||||
"ColumnName": "仓库路径名"
|
||||
}
|
||||
],
|
||||
"SqlCondition": {
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "Git仓库表",
|
||||
"ColumnName": "仓库ID",
|
||||
"GUID": "f68e8430-3956-4143-9408-0e92899d4516"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=仓库ID"
|
||||
}
|
||||
},
|
||||
"TopCount": "1"
|
||||
},
|
||||
"ID": "61efaba6b39a44c3a33a0d251eb70ae6"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "url",
|
||||
"ParameterValue": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=\"https://gitee.com/api/v5/repos/\"&仓库.空间路径名&\"/\"&仓库.仓库路径名&\"/branches\""
|
||||
},
|
||||
"ID": "0a8b384cb5ed47bebbcfabf787647380"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.CatchExceptionCommand, ServerDesignerCommon",
|
||||
"TryCommandPart": {
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit",
|
||||
"OutParamaterName": "分支列表"
|
||||
},
|
||||
{
|
||||
"$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": "=TOKEN"
|
||||
}
|
||||
},
|
||||
{
|
||||
"Name": "sort",
|
||||
"DataItemType": 0,
|
||||
"Data": "updated"
|
||||
},
|
||||
{
|
||||
"Name": "direction",
|
||||
"DataItemType": 0,
|
||||
"Data": "desc"
|
||||
},
|
||||
{
|
||||
"Name": "page",
|
||||
"DataItemType": 0,
|
||||
"Data": 1
|
||||
},
|
||||
{
|
||||
"Name": "per_page",
|
||||
"DataItemType": 0,
|
||||
"Data": 100
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"JsonString": "",
|
||||
"WebUrl": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=url"
|
||||
},
|
||||
"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": 100.0
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.LoopCommand, ServerDesignerCommon",
|
||||
"LoopInfo": {
|
||||
"$type": "Forguncy.Model.CountLoopInfo, ServerDesignerCommon",
|
||||
"LoopCount": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=result"
|
||||
},
|
||||
"LoopItemParamName": "Item"
|
||||
},
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "CollectionOperationKit.ServerSideObjectOp, CollectionOperationKit",
|
||||
"OperationParamaterPairs": [
|
||||
{
|
||||
"Name": "分支名称",
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=Item.name"
|
||||
}
|
||||
},
|
||||
{
|
||||
"Name": "最后更新时间",
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=TEXT(Item.commit.commit.committer.date,\"yyyy-mm-dd hh:mm:ss\")"
|
||||
}
|
||||
},
|
||||
{
|
||||
"Name": "最后更新人",
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=Item.commit.commit.committer.name"
|
||||
}
|
||||
}
|
||||
],
|
||||
"OutParamaterName": "分支信息"
|
||||
},
|
||||
{
|
||||
"$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit",
|
||||
"InParamater": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=分支列表"
|
||||
},
|
||||
"Operation": 4,
|
||||
"OperationParamaterAName": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=分支信息"
|
||||
},
|
||||
"OutParamaterName": "分支列表"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": "0",
|
||||
"Message": "获取成功",
|
||||
"CustomReturns": [
|
||||
{
|
||||
"ReturnPropertyName": "分支列表",
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=分支列表"
|
||||
},
|
||||
"Remark": "[\r\n{\"分支名称\":\"\",\"最后更新时间\":\"\",\"最后更新人\":\"\"}\r\n]"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"CatchCommandPart": {
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": "400",
|
||||
"Message": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=result.message"
|
||||
},
|
||||
"CustomReturns": [
|
||||
{
|
||||
"ReturnPropertyName": "分支列表",
|
||||
"Remark": "[\r\n{\"分支名称\":\"\",\"最后更新时间\":\"\",\"最后更新人\":\"\"}\r\n]"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"ID": "dc853222-924d-49d1-a1b5-42ec24712061"
|
||||
},
|
||||
{
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=code"
|
||||
},
|
||||
"Message": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=msg"
|
||||
},
|
||||
"CustomReturns": [
|
||||
{
|
||||
"ReturnPropertyName": "分支列表",
|
||||
"Remark": "[\r\n{\"分支名称\":\"\",\"最后更新时间\":\"\",\"最后更新人\":\"\"}\r\n]"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"ID": "a2d5b142-9601-4f20-9d42-facbea586b03"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"ReturnProperties": [
|
||||
{
|
||||
"Name": "分支列表",
|
||||
"Remark": "[\r\n{\"分支名称\":\"\",\"最后更新时间\":\"\",\"最后更新人\":\"\"}\r\n]"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user