{"Message":"重构GItee仓库绑定版本逻辑","MessageType":2,"Modules":[{"State":1,"Type":1,"Name":"PCPage/项目版本管理"},{"State":1,"Type":1,"Name":"PCPage/任务版本详情"},{"State":1,"Type":1,"Name":"PCPage/项目岗位配置"},{"State":1,"Type":1,"Name":"PCPage/任务-任务信息"},{"State":1,"Type":1,"Name":"PCPage/新增任务"},{"State":1,"Type":1,"Name":"PCPage/新增报工"},{"State":1,"Type":1,"Name":"PCPage/个人中心-基本信息"},{"State":1,"Type":8,"Name":"ApplicationSetting"},{"State":1,"Type":7,"Name":"Table/Git仓库表"},{"State":1,"Type":15,"Name":"ServerCommand/GitCallback"},{"State":1,"Type":7,"Name":"Table/Git_事件记录"},{"State":1,"Type":1,"Name":"PCPage/选择Git仓库"},{"State":1,"Type":15,"Name":"ServerCommand/同步一个仓库到表"},{"State":1,"Type":15,"Name":"ServerCommand/搜索仓库"},{"State":1,"Type":15,"Name":"ServerCommand/从Gitee提取报工"},{"State":1,"Type":15,"Name":"ServerCommand/获取某仓库分支"},{"State":1,"Type":1,"Name":"PCPage/分支选择"},{"State":1,"Type":1,"Name":"PCPage/完善Gitee资料"},{"State":1,"Type":15,"Name":"ServerCommand/同步仓库的所有提交"},{"State":3,"Type":15,"Name":"ServerCommand/在线获取仓库某日提交数据"}],"Version":"v1"}

This commit is contained in:
超哥
2024-06-18 11:35:20 +08:00
parent 843bcd1808
commit bf6fcdc9db
22 changed files with 1625 additions and 975 deletions

File diff suppressed because one or more lines are too long

View File

@@ -26,14 +26,14 @@
"DataValidationInfo": {
"IgnoreBlank": false
},
"TestData": "2024-06-13"
"TestData": "2024-06-16"
},
{
"Name": "结束日期",
"DataValidationInfo": {
"IgnoreBlank": false
},
"TestData": "2024-06-13"
"TestData": "2024-06-16"
},
{
"Name": "用户",
@@ -47,7 +47,7 @@
"DataValidationInfo": {
"IgnoreBlank": false
},
"TestData": "12"
"TestData": "1"
}
],
"InvokeTriggerTestData": {
@@ -64,7 +64,7 @@
"TableValueType": 1,
"BindingInfos": [
{
"GUID": "46366003-75e0-4903-87a0-dcf074895064",
"GUID": "69d8c1ee-a506-4394-b555-d677c7d67873",
"BindingInfo": {
"TableName": "用户信息视图",
"ColumnName": "GIT用户名",
@@ -88,7 +88,7 @@
"NullFormulaValueQueryPolicy": 0,
"TopCount": "1"
},
"ID": "8391e0732ab841529e2174dc037526ea"
"ID": "402bd344cfca42359c04befcc43281eb"
},
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
@@ -98,7 +98,7 @@
"TableValueType": 1,
"BindingInfos": [
{
"GUID": "0e59cb25-2e18-48bc-8977-c383f267b674",
"GUID": "a0951355-4309-4cb6-ad68-64b157cbb953",
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "版本",
@@ -127,7 +127,7 @@
"NullFormulaValueQueryPolicy": 0,
"TopCount": "1"
},
"ID": "a958acc5408244d390156e9085776e6e"
"ID": "53d55dafedf84348b4e169d77995ba21"
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
@@ -170,13 +170,13 @@
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=DATEDIF(开始日期,结束日期,\"d\")"
},
"ID": "1f3988569f6f469fa81277a93360312c"
"ID": "048771b03aa5416a895bd851b7627f55"
},
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "总工时",
"ParameterValue": "0",
"ID": "73122483179048b18313028406573a8f"
"ID": "ad995e7f70654432b1f0484ef0ba2576"
},
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
@@ -185,7 +185,7 @@
"TableName": "Git_事件记录",
"BindingInfos": [
{
"GUID": "6bafd44a-35f7-4cc8-afc3-d06f8ba7b421",
"GUID": "51124d2e-a47f-4e12-a8a5-7b9e54a89b01",
"BindingInfo": {
"TableName": "Git_事件记录",
"ColumnName": "事件内容",
@@ -263,7 +263,7 @@
]
}
},
"ID": "2cb377727f324c1ca26920b7ae0c1401"
"ID": "21794093a6d44ebda680c4016a96ee16"
},
{
"$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit",
@@ -294,7 +294,7 @@
]
}
],
"ID": "e47946cd-e4d2-408f-86f7-44e46767465c"
"ID": "78a97a6d-7e86-48bc-8d26-54ddd3560680"
},
{
"CommandList": [
@@ -309,12 +309,12 @@
]
}
],
"ID": "bccc5e99-5617-45b3-8b4a-95a0acd27026"
"ID": "3ef014f6-b415-417d-a979-6c25454ecc8e"
}
]
}
],
"ID": "f075c648-5586-49c0-816c-95d1283782dc"
"ID": "1158e869-e6a9-4e62-bf87-fba184080455"
},
{
"CommandList": [
@@ -329,7 +329,7 @@
]
}
],
"ID": "141b8b4f-b94d-4491-bac9-642eed38e19d"
"ID": "a1ad3c0c-131f-4168-bb33-f8b0a75c9daa"
}
]
}

View File

@@ -71,7 +71,10 @@
"Name": "默认分支",
"DataValidationInfo": {}
}
]
],
"InvokeTriggerTestData": {
"UserName": "Administrator"
}
}
],
"Commands": [
@@ -88,7 +91,7 @@
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "当前用户",
"ParameterValue": "%CurrentUser%",
"ID": "f738695b16964509a000739e1d871902"
"ID": "1dd4782fe94f4a11941ae75c0bfc282c"
},
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
@@ -98,7 +101,7 @@
"TableValueType": 1,
"BindingInfos": [
{
"GUID": "0e7da4a8-d338-4585-b6f4-6ae272aea45f",
"GUID": "2103657e-50c4-48c0-bb28-21b1c95f28aa",
"BindingInfo": {
"TableName": "Git仓库表",
"ColumnName": "订阅成功",
@@ -122,7 +125,7 @@
"NullFormulaValueQueryPolicy": 0,
"TopCount": "1"
},
"ID": "20e643f89e194c438087b618ea1c338d"
"ID": "a705fda09a50494186c5584333d88fc8"
},
{
"$type": "Forguncy.Model.ServerTransactionCommand, ServerDesignerCommon",
@@ -153,7 +156,7 @@
"BindingInfo": {
"TableName": "Git仓库表",
"ColumnName": "仓库ID",
"GUID": "01d07583-5eb6-405f-b484-29a8d7106f5a"
"GUID": "6adb9f20-7e82-4699-b558-6ecee2653c09"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -164,7 +167,7 @@
"BindingInfo": {
"TableName": "Git仓库表",
"ColumnName": "空间路径名",
"GUID": "7f004ded-49f9-49ce-aaed-9068c13ce993"
"GUID": "94846f43-0a6f-40ee-b2e6-83f59c05a4a9"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -175,7 +178,7 @@
"BindingInfo": {
"TableName": "Git仓库表",
"ColumnName": "空间名称",
"GUID": "4a5fcc35-c665-48d1-83f1-28c63a734fe9"
"GUID": "e82b75f1-2032-450f-b0ee-ab508bc0fa1d"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -186,7 +189,7 @@
"BindingInfo": {
"TableName": "Git仓库表",
"ColumnName": "仓库路径名",
"GUID": "f0441eff-3746-44c5-942f-1faa63881cd3"
"GUID": "eea7bc5d-66a2-44cd-9c1b-4c898fd49c6a"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -197,7 +200,7 @@
"BindingInfo": {
"TableName": "Git仓库表",
"ColumnName": "仓库名称",
"GUID": "17792e75-3eb5-4f6d-8eea-7bcac52935eb"
"GUID": "561f1d4e-38b7-4e26-8098-c56a8d4c9c8b"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -208,7 +211,7 @@
"BindingInfo": {
"TableName": "Git仓库表",
"ColumnName": "仓库地址",
"GUID": "e43337e6-136b-4973-a4c8-2da5df10b62c"
"GUID": "b79b52bd-1ccc-40b7-8fe3-6739e34398f5"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -219,7 +222,7 @@
"BindingInfo": {
"TableName": "Git仓库表",
"ColumnName": "仓库描述",
"GUID": "3fc25384-f0f3-40ed-95fd-a3642a72d4d1"
"GUID": "a6b61d0f-c37c-4e38-b24c-a06a10911842"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -230,7 +233,7 @@
"BindingInfo": {
"TableName": "Git仓库表",
"ColumnName": "仓库成员",
"GUID": "5e2f02ce-30e4-4fdd-8c07-9d0fa86a8e16"
"GUID": "4ebd6aef-84f4-4d04-abe4-e0c4ce78a14c"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -241,7 +244,7 @@
"BindingInfo": {
"TableName": "Git仓库表",
"ColumnName": "创建人",
"GUID": "3ae9fe6a-fbe5-4cc4-b0f4-7359c4884e9a"
"GUID": "68ffe807-9d1b-419a-b8e5-88977ab05b7b"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -252,7 +255,7 @@
"BindingInfo": {
"TableName": "Git仓库表",
"ColumnName": "创建人头像",
"GUID": "d4fe3175-f107-442e-82a1-d08b4083cf2b"
"GUID": "fe861d19-f466-4e43-96a5-bff6c89ed158"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -263,7 +266,7 @@
"BindingInfo": {
"TableName": "Git仓库表",
"ColumnName": "Callback_url",
"GUID": "6fe0d807-fe6f-457e-8ed8-26a9b11e28ae"
"GUID": "b01b60e0-20cc-40bc-877b-75d84018c6de"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -274,7 +277,7 @@
"BindingInfo": {
"TableName": "Git仓库表",
"ColumnName": "hook_api_url",
"GUID": "e5897052-f6e0-405b-9689-91d47fc17020"
"GUID": "b87fb425-c4bb-407c-bbd9-d90d5cfea992"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -285,7 +288,7 @@
"BindingInfo": {
"TableName": "Git仓库表",
"ColumnName": "订阅成功",
"GUID": "fecb5c5e-7f64-41f2-8233-1950f0e42b55"
"GUID": "fd497669-e4c4-463a-bef4-b4add036384f"
},
"Value": "0"
},
@@ -293,7 +296,7 @@
"BindingInfo": {
"TableName": "Git仓库表",
"ColumnName": "默认分支",
"GUID": "3b464c6f-277b-4666-998c-ee88dfebc54b"
"GUID": "9c785663-d269-413e-9b3b-1d8163dc2e78"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -304,7 +307,7 @@
"BindingInfo": {
"TableName": "Git仓库表",
"ColumnName": "拉取人员",
"GUID": "89afc82d-2392-444e-a70b-5b3120f0198c"
"GUID": "f4a55dcb-d85b-4263-bbfe-1e990a39c69c"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -314,7 +317,7 @@
]
}
],
"ID": "063d5e71-2067-4b57-ab73-a90e9c3f156f"
"ID": "86c56d0c-4d09-48e4-9eb0-96b808d89dbe"
},
{
"CommandList": [
@@ -340,7 +343,7 @@
"BindingInfo": {
"TableName": "Git仓库表",
"ColumnName": "空间路径名",
"GUID": "041ebae7-da1f-43df-a747-66f663ec5585"
"GUID": "e95ccec9-8e00-4478-8e7a-b18dfd6bc83e"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -351,7 +354,7 @@
"BindingInfo": {
"TableName": "Git仓库表",
"ColumnName": "空间名称",
"GUID": "8acc8c3b-e022-42ef-9450-abacf3fcd0d2"
"GUID": "ad7a894a-8c65-44a7-a70e-a0593e038866"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -362,7 +365,7 @@
"BindingInfo": {
"TableName": "Git仓库表",
"ColumnName": "仓库路径名",
"GUID": "2cc89fea-2197-4cf0-8502-b11dca95f55f"
"GUID": "1edfa77c-92a3-430e-965f-15afd1212d09"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -373,7 +376,7 @@
"BindingInfo": {
"TableName": "Git仓库表",
"ColumnName": "仓库名称",
"GUID": "2838661d-8f4f-45dd-91ca-abd1b1372585"
"GUID": "fdd8cb58-5f17-4e26-a3d3-a73b985fefa7"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -384,7 +387,7 @@
"BindingInfo": {
"TableName": "Git仓库表",
"ColumnName": "仓库地址",
"GUID": "2e5df0c6-8d60-4c7a-a587-69dede5444cb"
"GUID": "33ae0ef1-12c5-4727-8561-2dbbc96e67ef"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -395,7 +398,7 @@
"BindingInfo": {
"TableName": "Git仓库表",
"ColumnName": "仓库描述",
"GUID": "053d8b3b-ee50-4fda-a985-84268d9cd2df"
"GUID": "fbd8e474-2010-4e5c-8295-0f5ae0092af1"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -406,7 +409,7 @@
"BindingInfo": {
"TableName": "Git仓库表",
"ColumnName": "仓库成员",
"GUID": "c731ebd0-c516-4da9-b143-6399697db393"
"GUID": "994e6d2d-9eed-47f9-bc3e-62973495c45d"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -417,7 +420,7 @@
"BindingInfo": {
"TableName": "Git仓库表",
"ColumnName": "创建人",
"GUID": "cba933c6-5a47-43f3-ae1e-331f9b72a0d7"
"GUID": "c4546402-cef1-4b98-ada8-1856a410496c"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -428,7 +431,7 @@
"BindingInfo": {
"TableName": "Git仓库表",
"ColumnName": "创建人头像",
"GUID": "697c21b2-2f18-41f2-bbc3-730719276295"
"GUID": "910d2883-d6d7-49b7-b730-c8bd24df1f12"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -439,7 +442,7 @@
"BindingInfo": {
"TableName": "Git仓库表",
"ColumnName": "hook_api_url",
"GUID": "89a225d4-5f79-47fd-934c-b146e56ca3ba"
"GUID": "d8990b5c-4417-49e7-a5f7-8d8d9a24f7cb"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -449,7 +452,7 @@
]
}
],
"ID": "39943da2-0a3d-4f37-842c-6734d58d96fc"
"ID": "e63f93a5-1f2f-4286-bcf3-6b015d3f4e01"
}
]
}
@@ -466,6 +469,10 @@
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=仓库ID"
}
},
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "分支名"
}
],
"ResultErrorCodeTo": {
@@ -554,7 +561,7 @@
"Message": "仓库创建并订阅成功!"
}
],
"ID": "20b8e4fe-a403-4f09-b3cb-4cc4da42fb4e"
"ID": "ee322151-c151-4ca2-b21c-5fc4927829e4"
},
{
"CommandList": [
@@ -567,12 +574,12 @@
}
}
],
"ID": "09991e26-2d6e-4e32-8f44-165c10530922"
"ID": "a6276d3e-6fe9-418f-9a1e-f865463db454"
}
]
}
],
"ID": "a8630c8c-2e3a-4692-8e97-bfb03b27cdd8"
"ID": "25642aaf-c275-4125-a6d2-766bca9ddd85"
},
{
"CommandList": [
@@ -582,7 +589,7 @@
"Message": "仓库创建成功!"
}
],
"ID": "a2d6be65-1a95-4f68-a0fe-13c8f8cce023"
"ID": "1a1d7a39-1b49-42e8-aef8-47796c021d26"
}
]
}

View File

@@ -27,6 +27,10 @@
"IgnoreBlank": false
},
"TestData": "33487312"
},
{
"Name": "分支名",
"DataValidationInfo": {}
}
],
"InvokeTriggerTestData": {
@@ -43,7 +47,7 @@
"TableValueType": 1,
"BindingInfos": [
{
"GUID": "8f4d7549-7487-4a00-9fb0-586c48ffbcaa",
"GUID": "d38e2fe4-5a7d-41c3-9538-77e8875b1048",
"BindingInfo": {
"TableName": "Git仓库表",
"ColumnName": "空间路径名",
@@ -52,7 +56,7 @@
"ColumnName": "空间路径名"
},
{
"GUID": "78335c18-7116-45a6-a3a2-e140c8f61037",
"GUID": "b5136c0c-56f4-4bef-a309-66e88e0d3973",
"BindingInfo": {
"TableName": "Git仓库表",
"ColumnName": "仓库路径名",
@@ -61,7 +65,7 @@
"ColumnName": "仓库路径名"
},
{
"GUID": "079ef811-1664-4327-94e5-8a626b4c2631",
"GUID": "dd7fffc1-a816-40c6-992a-1f9d7405e3dc",
"BindingInfo": {
"TableName": "Git仓库表",
"ColumnName": "仓库名称",
@@ -70,7 +74,7 @@
"ColumnName": "仓库名称"
},
{
"GUID": "e12536e1-bd52-46f0-81ab-24ec30a721b4",
"GUID": "cec1fc8d-1f21-4f9e-a3d1-8e01c9686840",
"BindingInfo": {
"TableName": "Git仓库表",
"ColumnName": "拉取人员",
@@ -94,7 +98,7 @@
"NullFormulaValueQueryPolicy": 0,
"TopCount": "1"
},
"ID": "aa09a0e53fae4352bd9800656a20885c"
"ID": "575825b5495d488bb5fe2954f610c5f0"
},
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
@@ -107,16 +111,33 @@
"ConditionAndCommandPairList": [
{
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=仓库"
"$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": "=仓库.拉取人员"
}
},
"value": "%Null%",
"compareType": 1
}
},
"value": "%Null%",
"compareType": 1
]
},
"CommandList": [
{
@@ -173,27 +194,6 @@
{
"$type": "Forguncy.Model.ServerTransactionCommand, ServerDesignerCommon",
"CommandList": [
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "Git_事件记录",
"UpdateType": "delete",
"ShowConfirm": true,
"ConfirmText": "您确定要删除吗?",
"RowsToUpdate": 1,
"RowsToUpdateCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "Git_事件记录",
"ColumnName": "仓库ID",
"GUID": "d46aca3e-0976-4831-b6f7-a986360290d0"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=仓库ID"
}
},
"Disabled": true
},
{
"$type": "Forguncy.Model.LoopCommand, ServerDesignerCommon",
"LoopInfo": {
@@ -226,6 +226,14 @@
"Name": "author",
"DataItemType": 0
},
{
"Name": "sha",
"DataItemType": 0,
"Data": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=分支名"
}
},
{
"Name": "since",
"DataItemType": 0
@@ -295,10 +303,11 @@
},
"CommandList": [
{
"$type": "Forguncy.Model.EndLoopCommand, ServerDesignerCommon"
"$type": "Forguncy.Model.EndLoopCommand, ServerDesignerCommon",
"WithinLoop": true
}
],
"ID": "53d78e53-fe5b-4a6d-8428-b818c107e92d"
"ID": "5330b11e-70b9-49d4-acf3-fd571818c3a5"
},
{
"CommandList": [
@@ -443,7 +452,7 @@
"BindingInfo": {
"TableName": "Git_事件记录",
"ColumnName": "仓库ID",
"GUID": "29fd0f4a-79ab-4749-a00b-cc43845c8b1b"
"GUID": "5e824315-5955-41da-be3f-f628d307c9b6"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -454,7 +463,7 @@
"BindingInfo": {
"TableName": "Git_事件记录",
"ColumnName": "事件名称",
"GUID": "c0f644a0-7341-4da5-8eea-a212b7480746"
"GUID": "a44e3498-b444-4eeb-94b2-cadffa7aaf2d"
},
"Value": "签入工程"
},
@@ -462,7 +471,7 @@
"BindingInfo": {
"TableName": "Git_事件记录",
"ColumnName": "空间路径",
"GUID": "9a162257-8e3f-4424-9ebd-a74280e5588d"
"GUID": "cc8f4f3c-1af8-4b9f-9432-c68f972c8827"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -473,7 +482,7 @@
"BindingInfo": {
"TableName": "Git_事件记录",
"ColumnName": "仓库名称",
"GUID": "5659bd30-a3ee-4f21-bef5-7c1c73deea93"
"GUID": "8f1e71da-f543-4758-95b9-888654ed6648"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -484,7 +493,7 @@
"BindingInfo": {
"TableName": "Git_事件记录",
"ColumnName": "仓库路径",
"GUID": "931058ab-e2c3-4027-8e03-5d510ced8f59"
"GUID": "f0a7745a-11b9-415d-810e-42311b11478a"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -495,7 +504,7 @@
"BindingInfo": {
"TableName": "Git_事件记录",
"ColumnName": "提交人",
"GUID": "a3e85491-4dfd-4751-ba69-597d07a65325"
"GUID": "f9e7c496-0cff-4ecb-891c-588e037987a5"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -506,7 +515,7 @@
"BindingInfo": {
"TableName": "Git_事件记录",
"ColumnName": "事件内容",
"GUID": "23d5edb5-22e0-4ec2-a1ae-b213c741a11e"
"GUID": "a5f07281-31a5-4bea-91cd-147e5f2ab6d9"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -517,7 +526,7 @@
"BindingInfo": {
"TableName": "Git_事件记录",
"ColumnName": "url",
"GUID": "af529219-2930-48b7-9998-b355efd9324f"
"GUID": "f11fd976-3bea-4288-bba6-6297a57c0598"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -528,7 +537,7 @@
"BindingInfo": {
"TableName": "Git_事件记录",
"ColumnName": "git用户名",
"GUID": "2072a5e6-8560-4a25-bcfb-dcbfc5b97c6f"
"GUID": "bffbc696-0387-425e-86bd-4ebac35e400f"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -539,7 +548,7 @@
"BindingInfo": {
"TableName": "Git_事件记录",
"ColumnName": "日期",
"GUID": "bf07eff9-44a7-4071-a77c-196540aba841"
"GUID": "bbabf6d6-15de-4746-bfbf-82aba78ee815"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -550,7 +559,7 @@
"BindingInfo": {
"TableName": "Git_事件记录",
"ColumnName": "内容得分",
"GUID": "d6e3b1b1-ac73-4f98-90b5-cfe93bd2bd9e"
"GUID": "abf39d1a-c07f-497a-94bf-b8290b5242e6"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -561,7 +570,7 @@
"BindingInfo": {
"TableName": "Git_事件记录",
"ColumnName": "sha",
"GUID": "cef6c904-210b-4d8d-8cc8-ed0dd2d0ee4f"
"GUID": "5b7e01a6-ab9b-45ac-91cf-67b7d2598d71"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -571,17 +580,17 @@
]
}
],
"ID": "2b706b0c-9243-4a12-bcf7-5ff809382ca9"
"ID": "caa36840-678a-44ca-b4ae-aefab93d8a65"
}
]
}
],
"ID": "db714b0c-d12f-4ce9-9bf4-0c7f8ec18145"
"ID": "97673824-c1d9-4d12-8214-072c500d6377"
}
]
}
],
"ID": "ca82140e-8102-4080-9e21-2d87844124cf"
"ID": "3897beac-9b94-4122-9c8c-eb8fa2230708"
}
]
}
@@ -591,7 +600,7 @@
]
}
],
"ID": "c44ba308-d0df-4e90-ab7c-2c0a460b1c2c"
"ID": "0489304b-393a-4de6-86e0-5aa25b1997dc"
}
]
}
@@ -626,7 +635,7 @@
}
}
],
"ID": "bd9ae4eb-5fa0-46d8-8b86-8a1da861c6cc"
"ID": "efa475d6-8b00-4c11-8931-c9c13b83a6dd"
},
{
"CommandList": [
@@ -642,22 +651,22 @@
}
}
],
"ID": "1b0dbf3e-b525-465c-bbf7-974a8b8fe39b"
"ID": "26befa33-2aff-46d8-8457-796f788d0c15"
}
]
}
],
"ID": "70b69c7b-8c2a-4564-90cf-2fc031fa793f"
"ID": "4b49cfde-63e1-487e-aac9-b5d716fb47c7"
},
{
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "400",
"Message": "仓库不存在或尚未同步到系统"
"Message": "仓库不存在或尚未设置拉取人员"
}
],
"ID": "62102816-fb19-4b81-8b6d-95e7b96c334c"
"ID": "7e112ca2-8e15-48b9-8f5b-10052ac14df8"
}
]
}

View File

@@ -0,0 +1,760 @@
{
"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": "仓库ID",
"DataValidationInfo": {
"IgnoreBlank": false
},
"TestData": "33487312"
},
{
"Name": "分支名",
"DataValidationInfo": {},
"TestData": "版本10"
},
{
"Name": "成员用户名",
"DataValidationInfo": {
"IgnoreBlank": false
},
"TestData": "Administrator"
},
{
"Name": "开始日期",
"DataValidationInfo": {
"IgnoreBlank": false
},
"TestData": "2024-06-14"
},
{
"Name": "结束日期",
"DataValidationInfo": {
"IgnoreBlank": false
},
"TestData": "2024-06-17"
}
],
"InvokeTriggerTestData": {
"UserName": "Administrator"
}
}
],
"Commands": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "仓库",
"TableValue": {
"TableName": "Git仓库表",
"TableValueType": 1,
"BindingInfos": [
{
"GUID": "54a7c9a3-f561-449b-8b3b-4e0e55da1d73",
"BindingInfo": {
"TableName": "Git仓库表",
"ColumnName": "空间路径名",
"GUID": "9e61f919-3b74-492d-90f5-d7ffe9d57b19"
},
"ColumnName": "空间路径名"
},
{
"GUID": "b09a247f-a4fb-4ef5-bcd9-c78513dc4781",
"BindingInfo": {
"TableName": "Git仓库表",
"ColumnName": "仓库路径名",
"GUID": "29f063e2-b0ce-4470-b45b-de2f2791caa9"
},
"ColumnName": "仓库路径名"
},
{
"GUID": "48dee6ad-e67e-4eb5-8812-c7ff36232eb8",
"BindingInfo": {
"TableName": "Git仓库表",
"ColumnName": "仓库名称",
"GUID": "4f72a429-a1df-4d1b-9b8d-a55dd4af7076"
},
"ColumnName": "仓库名称"
}
],
"SqlCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "Git仓库表",
"ColumnName": "仓库ID",
"GUID": "86f0f98d-6b6b-4907-bf1a-9829f672b293"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=仓库ID"
}
},
"NullFormulaValueQueryPolicy": 0,
"TopCount": "1"
},
"ID": "58567dfba75f43489c48d665b080832c"
},
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "成员",
"TableValue": {
"TableName": "用户信息视图",
"TableValueType": 1,
"BindingInfos": [
{
"GUID": "d1f81b25-655d-4777-b555-91c9b1db1eab",
"BindingInfo": {
"TableName": "用户信息视图",
"ColumnName": "GIT用户名",
"GUID": "25b16057-d543-4975-bc69-f26ab4854843"
},
"ColumnName": "GIT用户名"
},
{
"GUID": "004e06bb-51a5-449a-9ebf-2f2209a88b57",
"BindingInfo": {
"TableName": "用户信息视图",
"ColumnName": "邮件",
"GUID": "b37b6736-6fcb-4d1f-a8da-30a86de71762"
},
"ColumnName": "邮件"
}
],
"SqlCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "用户信息视图",
"ColumnName": "用户名",
"GUID": "0ce90775-6b94-4126-b1ad-9230b078526c"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=成员用户名"
}
},
"NullFormulaValueQueryPolicy": 0,
"TopCount": "1"
},
"ID": "47ea19e71148429da9cd6657d940b4c5"
},
{
"$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit",
"OutParamaterName": "提交信息数组"
},
{
"$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.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": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=成员用户名"
}
},
{
"$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.ServerTransactionCommand, ServerDesignerCommon",
"CommandList": [
{
"$type": "Forguncy.Model.LoopCommand, ServerDesignerCommon",
"LoopInfo": {
"$type": "Forguncy.Model.CountLoopInfo, ServerDesignerCommon",
"LoopCount": "100",
"LoopIndexParamName": "循环次数",
"LoopItemParamName": "当前循环"
},
"CommandList": [
{
"$type": "Forguncy.Model.CatchExceptionCommand, ServerDesignerCommon",
"TryCommandPart": {
"CommandList": [
{
"$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": "sha",
"DataItemType": 0,
"Data": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=分支名"
}
},
{
"Name": "author",
"DataItemType": 0,
"Data": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=成员.GIT用户名"
}
},
{
"Name": "since",
"DataItemType": 0,
"Data": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=TEXT(开始日期,\"yyyy-mm-dd\")"
}
},
{
"Name": "until",
"DataItemType": 0,
"Data": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=TEXT(结束日期,\"yyyy-mm-dd\")"
}
},
{
"Name": "page",
"DataItemType": 0,
"Data": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=循环次数"
}
},
{
"Name": "per_page",
"DataItemType": 0,
"Data": 100
}
]
}
},
"WebUrl": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=\"https://gitee.com/api/v5/repos/\"&仓库.空间路径名&\"/\"&仓库.仓库路径名&\"/commits\""
},
"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.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": "=result"
}
},
"value": "%Null%"
},
{
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=result.Count"
}
},
"value": "0"
}
],
"RelationType": 1
},
"CommandList": [
{
"$type": "Forguncy.Model.EndLoopCommand, ServerDesignerCommon",
"WithinLoop": true
}
],
"ID": "8939d50a-d3ad-4ddf-9c5a-5cf7cab8cb7a"
},
{
"CommandList": [
{
"$type": "Forguncy.Model.LoopCommand, ServerDesignerCommon",
"LoopInfo": {
"$type": "Forguncy.Model.CountLoopInfo, ServerDesignerCommon",
"LoopCount": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=result"
},
"LoopItemParamName": "Item"
},
"CommandList": [
{
"$type": "SaveFormData.fillInJSONProperties, SaveFormData",
"FullJsonString": "{\r\n \"sha\": \"\",\r\n \"html_url\": \"\",\r\n \"commit\": \"\",\r\n \"committer\": \"\",\r\n \"author\": \"\"\r\n}",
"SourceJson": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Item"
},
"ResultTo": "完整ITEM"
},
{
"$type": "Forguncy.Model.CatchExceptionCommand, ServerDesignerCommon",
"TryCommandPart": {
"CommandList": [
{
"$type": "JsonUtilityCommand.JsonDeserializeCommand, JsonUtilityCommand",
"JsonString": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=完整ITEM.commit.message"
},
"SampleJson": "{\r\n \"Message\": \"签出模块 : 项目反馈\",\r\n \"MessageType\": 1,\r\n \"Modules\": [],\r\n \"Version\": \"v1\"\r\n}",
"ToParameter": "message"
},
{
"$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": "=message.MessageType"
}
},
"value": "2"
},
"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": "=完整ITEM.committer"
}
},
"value": "%Null%",
"compareType": 1
},
"CommandList": [
{
"$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit",
"InParamater": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=提交信息数组"
},
"Operation": 4,
"OperationParamaterAName": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=message.Message"
},
"OutParamaterName": "提交信息数组"
},
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "Git_事件记录",
"UpdateType": "add",
"ShowConfirm": false,
"UpdateBindingValues": [
{
"BindingInfo": {
"TableName": "Git_事件记录",
"ColumnName": "仓库ID",
"GUID": "9ce37e37-e3e9-4b31-bc35-b2dceb6338c5"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=仓库ID"
}
},
{
"BindingInfo": {
"TableName": "Git_事件记录",
"ColumnName": "事件名称",
"GUID": "f12b3f9b-714c-43b8-9526-1f48bc4c4187"
},
"Value": "签入工程"
},
{
"BindingInfo": {
"TableName": "Git_事件记录",
"ColumnName": "空间路径",
"GUID": "4bad18a5-23bf-4cbb-8f17-069778faaf2c"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=仓库.空间路径名"
}
},
{
"BindingInfo": {
"TableName": "Git_事件记录",
"ColumnName": "仓库名称",
"GUID": "61b00490-d53c-4789-846d-6b33d7010de4"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=仓库.仓库名称"
}
},
{
"BindingInfo": {
"TableName": "Git_事件记录",
"ColumnName": "仓库路径",
"GUID": "38c3a76e-979e-4544-99af-e3fcedb33798"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=仓库.仓库路径名"
}
},
{
"BindingInfo": {
"TableName": "Git_事件记录",
"ColumnName": "提交人",
"GUID": "70f98756-135a-4e38-ad6f-818fc61efed4"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=完整ITEM.committer.name"
}
},
{
"BindingInfo": {
"TableName": "Git_事件记录",
"ColumnName": "事件内容",
"GUID": "a3b39d58-d599-408f-a45d-f395f62d4e96"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=message.Message"
}
},
{
"BindingInfo": {
"TableName": "Git_事件记录",
"ColumnName": "url",
"GUID": "15970ad6-e39c-478e-b844-5247c8976522"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=完整ITEM.html_url"
}
},
{
"BindingInfo": {
"TableName": "Git_事件记录",
"ColumnName": "git用户名",
"GUID": "af262610-572d-4395-b208-c3f113605928"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=完整ITEM.committer.login"
}
},
{
"BindingInfo": {
"TableName": "Git_事件记录",
"ColumnName": "日期",
"GUID": "8926f4b8-7f20-4923-b72f-117430e70d88"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=完整ITEM.commit.committer.date"
}
},
{
"BindingInfo": {
"TableName": "Git_事件记录",
"ColumnName": "内容得分",
"GUID": "2ba07a84-2f9c-43c4-af98-18a820a4bde9"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=IF(内容得分>100,100,内容得分)"
}
},
{
"BindingInfo": {
"TableName": "Git_事件记录",
"ColumnName": "sha",
"GUID": "4b50f1cb-b821-4c19-8e64-338f187accaf"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=完整ITEM.sha"
}
}
],
"Disabled": true
}
],
"ID": "6049a564-9bf2-4fb6-b880-09e49807ed3b"
}
]
}
],
"ID": "5e9ddad9-66f4-41f7-9c42-95e1426346a7"
}
]
}
]
}
}
]
}
],
"ID": "99580a51-0499-4fcf-9a8b-6d5634cbfb39"
}
]
}
]
},
"CatchCommandPart": {
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ExceptionCode"
},
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ExceptionMessage"
},
"CustomReturns": [
{
"ReturnPropertyName": "提交信息"
}
]
}
]
}
}
]
}
]
},
{
"$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit",
"InParamater": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=提交信息数组"
},
"Operation": 16,
"OperationParamaterAName": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=CHAR(10)"
},
"OutParamaterName": "提交信息字符串"
},
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": "获取完成",
"CustomReturns": [
{
"ReturnPropertyName": "提交信息",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=提交信息字符串"
}
}
]
}
],
"ID": "6987da7d-16d2-4aa6-b8ed-cfd397e97192"
},
{
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=code"
},
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=msg"
},
"CustomReturns": [
{
"ReturnPropertyName": "提交信息"
}
]
}
],
"ID": "d1a93088-d154-48ed-8d9f-df4f2fd21c84"
}
]
}
],
"ID": "748992aa-56c0-4299-9ce8-6bff74a52902"
},
{
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "400",
"Message": "所查找的用户未登记Gitee信息",
"CustomReturns": [
{
"ReturnPropertyName": "提交信息"
}
]
}
],
"ID": "10688d9d-087e-4baa-8a4b-8d94286a0848"
}
]
}
],
"ID": "ea0affa8-ef09-4ec6-9b01-5a8c3cdee520"
},
{
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "400",
"Message": "仓库不存在或尚未同步到系统",
"CustomReturns": [
{
"ReturnPropertyName": "提交信息"
}
]
}
],
"ID": "117372da-18de-4a3e-98a7-bd9d6eebeb55"
}
]
}
],
"ReturnProperties": [
{
"Name": "提交信息"
}
]
}

View File

@@ -30,7 +30,8 @@
},
{
"Name": "关键字",
"DataValidationInfo": {}
"DataValidationInfo": {},
"TestData": "pms"
},
{
"Name": "页码",
@@ -57,7 +58,7 @@
"TableValueType": 1,
"BindingInfos": [
{
"GUID": "a564604d-afc6-4ae3-ba16-93247cd2cb06",
"GUID": "7e651c76-bd21-4591-adf6-ba5f58e32593",
"BindingInfo": {
"TableName": "用户信息视图",
"ColumnName": "GIT用户名",
@@ -66,7 +67,7 @@
"ColumnName": "GIT用户名"
},
{
"GUID": "d7dfb6d7-1cef-471a-b3aa-dad8ccac3dfe",
"GUID": "6d6a4540-718f-40ee-8ed7-68e6e101e825",
"BindingInfo": {
"TableName": "用户信息视图",
"ColumnName": "GIT密码",
@@ -90,7 +91,7 @@
"NullFormulaValueQueryPolicy": 0,
"TopCount": "1"
},
"ID": "2528034657f241fda14936569d9936c6"
"ID": "051b837a611446279c14a2abdfe7a6f5"
},
{
"$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit",
@@ -151,7 +152,7 @@
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "url",
"ParameterValue": "https://gitee.com/api/v5/user/repos",
"ID": "da756c8347b240f4b7c2919872ba9fec"
"ID": "732024d7ab3b473793a631aa754e2d01"
},
{
"$type": "Forguncy.Model.CatchExceptionCommand, ServerDesignerCommon",
@@ -399,7 +400,7 @@
}
}
],
"ID": "905f8668-d05d-4891-9665-f0ece366c5ec"
"ID": "077de884-7251-41d4-8220-a572e502a4d0"
},
{
"CommandList": [
@@ -427,7 +428,7 @@
]
}
],
"ID": "575165db-6124-4d97-a157-010dc25f90d3"
"ID": "24637197-89a2-4a0e-aa3f-fc44834e71be"
}
]
}

View File

@@ -29,11 +29,17 @@
"TestData": "Administrator"
},
{
"Name": "仓库ID",
"Name": "空间路径",
"DataValidationInfo": {
"IgnoreBlank": false
},
"TestData": "33487312"
},
{
"Name": "仓库路径",
"DataValidationInfo": {
"IgnoreBlank": false
}
}
],
"InvokeTriggerTestData": {
@@ -50,7 +56,7 @@
"TableValueType": 1,
"BindingInfos": [
{
"GUID": "63aa6b40-aefd-41c2-91ff-ffdbe5ca9065",
"GUID": "45b269e5-c4dc-4ee2-9787-346de50658ef",
"BindingInfo": {
"TableName": "用户信息视图",
"ColumnName": "GIT用户名",
@@ -59,7 +65,7 @@
"ColumnName": "GIT用户名"
},
{
"GUID": "fef0405d-1cf9-43ea-ba28-ed59a8b1688a",
"GUID": "e4f61605-c81d-40c7-af98-40c6ffd53baf",
"BindingInfo": {
"TableName": "用户信息视图",
"ColumnName": "GIT密码",
@@ -83,7 +89,7 @@
"NullFormulaValueQueryPolicy": 0,
"TopCount": "1"
},
"ID": "d86d5faca9b240dab3c1709b42211323"
"ID": "a38e01c50a6a4e30bbe7b834faeeed99"
},
{
"$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon",
@@ -136,56 +142,14 @@
"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\""
"SerializeProperty": "=\"https://gitee.com/api/v5/repos/\"&空间路径&\"/\"&仓库路径&\"/branches\""
},
"ID": "0a8b384cb5ed47bebbcfabf787647380"
"ID": "7e4968dc56584f0ca5fa27a20e013bfd"
},
{
"$type": "Forguncy.Model.CatchExceptionCommand, ServerDesignerCommon",
@@ -317,12 +281,20 @@
},
"CatchCommandPart": {
"CommandList": [
{
"$type": "GETPOST.JSON类.JSON反序列化, GETPOST",
"BianmaMsg": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=result.message"
},
"FanHuiMsg": "res"
},
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "400",
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=result.message"
"SerializeProperty": "=res.message"
},
"CustomReturns": [
{
@@ -335,7 +307,7 @@
}
}
],
"ID": "dc853222-924d-49d1-a1b5-42ec24712061"
"ID": "def1a363-5706-44ae-b7ed-0a6a2a00f973"
},
{
"CommandList": [
@@ -357,7 +329,7 @@
]
}
],
"ID": "a2d5b142-9601-4f20-9d42-facbea586b03"
"ID": "f2e2fc98-515f-4613-aa7f-65a8203145d3"
}
]
}