{"Message":"1. 更新Gtee同步逻辑,只从最后一天开始同步;\r\n2. 增加页面手动同步按钮;","MessageType":2,"Modules":[{"State":1,"Type":1,"Name":"PCPage/项目菜单"},{"State":1,"Type":7,"Name":"Table/Git仓库表"},{"State":1,"Type":15,"Name":"ServerCommand/GitCallback"},{"State":2,"Type":15,"Name":"ServerCommand/同步仓库的所有提交"},{"State":1,"Type":1,"Name":"PCPage/项目代码"},{"State":1,"Type":16,"Name":"TaskScheduler/仓库新增事件"},{"State":1,"Type":7,"Name":"Table/积分记录表"},{"State":1,"Type":31,"Name":"UserControlPage/Gitee事件记录列表"},{"State":3,"Type":38,"Name":"Image/下载.svg"},{"State":3,"Type":15,"Name":"ServerCommand/从页面同步仓库的所有提交"},{"State":3,"Type":27,"Name":"ServerCommandPrivate/同步仓库的所有提交"}],"Version":"v1"}

This commit is contained in:
超哥
2024-06-20 21:38:31 +08:00
parent 775f43fffe
commit e11a3f9fd3
14 changed files with 934 additions and 419 deletions

View File

@@ -766,17 +766,7 @@
}, },
{ {
"ModuleName": "PCPage/项目菜单", "ModuleName": "PCPage/项目菜单",
"State": 1, "ModuleType": 1
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-20T20:30:04.7867063+08:00",
"ModuleType": 1,
"ToRemoveFiles": [
"Pages\\共用\\项目菜单.json",
"Pages\\共用\\项目菜单.rd"
]
}, },
{ {
"ModuleName": "PCPage/编辑删除页面", "ModuleName": "PCPage/编辑删除页面",
@@ -1611,16 +1601,7 @@
}, },
{ {
"ModuleName": "Table/Git仓库表", "ModuleName": "Table/Git仓库表",
"State": 1, "ModuleType": 7
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-20T21:09:59.7411879+08:00",
"ModuleType": 7,
"ToRemoveFiles": [
"Tables\\Git\\Git仓库表.json"
]
}, },
{ {
"ModuleName": "Table/Git_WebHook", "ModuleName": "Table/Git_WebHook",
@@ -1632,16 +1613,7 @@
}, },
{ {
"ModuleName": "ServerCommand/GitCallback", "ModuleName": "ServerCommand/GitCallback",
"State": 1, "ModuleType": 15
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-20T20:34:27.9442182+08:00",
"ModuleType": 15,
"ToRemoveFiles": [
"ServerCommands\\Gitee\\GitCallback.json"
]
}, },
{ {
"ModuleName": "Table/日志表", "ModuleName": "Table/日志表",
@@ -1815,19 +1787,6 @@
"ModuleName": "ServerCommand/服务端命令3", "ModuleName": "ServerCommand/服务端命令3",
"ModuleType": 15 "ModuleType": 15
}, },
{
"ModuleName": "ServerCommand/同步仓库的所有提交",
"State": 2,
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-20T21:33:05.7434158+08:00",
"ModuleType": 15,
"ToRemoveFiles": [
"ServerCommands\\Gitee\\同步仓库的所有提交.json"
]
},
{ {
"ModuleName": "Image/d3148bd6742da6598200d24b4966ba9f.png", "ModuleName": "Image/d3148bd6742da6598200d24b4966ba9f.png",
"ModuleType": 38 "ModuleType": 38
@@ -2018,19 +1977,7 @@
}, },
{ {
"ModuleName": "PCPage/项目代码", "ModuleName": "PCPage/项目代码",
"State": 1, "ModuleType": 1
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-20T20:56:07.9769742+08:00",
"ModuleType": 1,
"ToRemoveFiles": [
"Pages\\项目\\项目首页\\项目首页-容器页面\\项目代码.json",
"Pages\\项目\\项目首页\\项目首页-容器页面\\项目代码.rd",
"Pages\\cb2a6325e1334f5fbcb7270deba57ec.json",
"Pages\\cb2a6325e1334f5fbcb7270deba57ec.rd"
]
}, },
{ {
"ModuleName": "image/登录方式", "ModuleName": "image/登录方式",
@@ -2086,16 +2033,7 @@
}, },
{ {
"ModuleName": "TaskScheduler/仓库新增事件", "ModuleName": "TaskScheduler/仓库新增事件",
"State": 1, "ModuleType": 16
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-20T20:55:28.0108453+08:00",
"ModuleType": 16,
"ToRemoveFiles": [
"SchedulerTasks\\仓库新增事件.json"
]
}, },
{ {
"ModuleName": "ServerCommandPrivate/判断是否为仓库成员", "ModuleName": "ServerCommandPrivate/判断是否为仓库成员",
@@ -2131,16 +2069,7 @@
}, },
{ {
"ModuleName": "Table/积分记录表", "ModuleName": "Table/积分记录表",
"State": 1, "ModuleType": 7
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-20T21:20:25.4145389+08:00",
"ModuleType": 7,
"ToRemoveFiles": [
"Tables\\KPI\\积分记录表.json"
]
}, },
{ {
"ModuleName": "ProcessItem/项目立项流程", "ModuleName": "ProcessItem/项目立项流程",
@@ -2212,19 +2141,7 @@
}, },
{ {
"ModuleName": "UserControlPage/Gitee事件记录列表", "ModuleName": "UserControlPage/Gitee事件记录列表",
"State": 1, "ModuleType": 31
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-20T21:02:56.1951988+08:00",
"ModuleType": 31,
"ToRemoveFiles": [
"UserControlPages\\Gitee事件记录列表.json",
"UserControlPages\\Gitee事件记录列表.rd",
"Pages\\8fc0150152814864a2f1c5fda59114d.json",
"Pages\\8fc0150152814864a2f1c5fda59114d.rd"
]
}, },
{ {
"ModuleName": "UserControlPage/任务统计信息", "ModuleName": "UserControlPage/任务统计信息",
@@ -2232,32 +2149,14 @@
}, },
{ {
"ModuleName": "Image/下载.svg", "ModuleName": "Image/下载.svg",
"State": 3,
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-20T21:06:33.2445779+08:00",
"ModuleType": 38 "ModuleType": 38
}, },
{ {
"ModuleName": "ServerCommand/从页面同步仓库的所有提交", "ModuleName": "ServerCommand/从页面同步仓库的所有提交",
"State": 3,
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-20T21:31:38.9584917+08:00",
"ModuleType": 15 "ModuleType": 15
}, },
{ {
"ModuleName": "ServerCommandPrivate/同步仓库的所有提交", "ModuleName": "ServerCommandPrivate/同步仓库的所有提交",
"State": 3,
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-20T21:33:05.7434762+08:00",
"ModuleType": 27 "ModuleType": 27
} }
] ]

View File

@@ -47,12 +47,18 @@
"DesignLengthInPixel": 32.0, "DesignLengthInPixel": 32.0,
"IsHidden": true "IsHidden": true
} }
},
"11": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
} }
}, },
"InLogicalVisibleIndexes": [ "InLogicalVisibleIndexes": [
10 10,
11
], ],
"Count": 11, "Count": 12,
"DefaultSize": 24.0 "DefaultSize": 24.0
}, },
"Cols": { "Cols": {
@@ -67,6 +73,11 @@
"DesignLengthInPixel": 113.0 "DesignLengthInPixel": 113.0
} }
}, },
"2": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 112.0
}
},
"3": { "3": {
"GridRowColumnDefinition": { "GridRowColumnDefinition": {
"DesignLengthInPixel": 15.0 "DesignLengthInPixel": 15.0
@@ -81,11 +92,6 @@
"GridRowColumnDefinition": { "GridRowColumnDefinition": {
"DesignLengthInPixel": 20.0 "DesignLengthInPixel": 20.0
} }
},
"2": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 112.0
}
} }
}, },
"Count": 6 "Count": 6
@@ -121,7 +127,7 @@
"LoadBindingDataOption": 1 "LoadBindingDataOption": 1
} }
], ],
"ID": "f60bf190-4898-4a45-b621-3235783e3a61" "ID": "c3ea9cf4-5d87-46e7-b8dc-6ac8b860b076"
} }
] ]
} }
@@ -241,6 +247,97 @@
}, },
"TemplateCellSource": "仓库成员" "TemplateCellSource": "仓库成员"
}, },
"8,4": {
"CellType": {
"$type": "Forguncy.ImageCellType, ServerDesignerCommon",
"CommandList": [
{
"$type": "Notiflix_Forguncy.Confirm_Command, Notiflix_Forguncy",
"Title": "提示",
"Message": "同步可能耗时较长,会在后台进行!",
"Answer": "我已确认",
"OklButton": "确认",
"CancelButton": "取消",
"Result": "按钮结果"
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon",
"cellLocations": [
{
"SerializeProperty": "=按钮结果"
}
]
},
"value": "确认"
},
"CommandList": [
{
"$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon",
"ServerCommandName": "从页面同步仓库的所有提交",
"Parameters": [
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "仓库ID",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=cb2a6325e1334f5fbcb7270deba57ec!B12"
}
},
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "分支名",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=cb2a6325e1334f5fbcb7270deba57ec!C12"
}
}
],
"ResultErrorCodeTo": {
"SerializeProperty": "code"
},
"ResultMessageTo": {
"SerializeProperty": "msg"
},
"RequestAsync": true,
"RefreshAfterFinish": true,
"CheckDataValidation": false
},
{
"$type": "Forguncy.Model.SetCellPropertyCommand, ServerDesignerCommon",
"PropertyItemsList": [
{
"TargetCells": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=cb2a6325e1334f5fbcb7270deba57ec!E9"
},
"PropertyType": 1,
"Value": false
}
]
},
{
"$type": "Notiflix_Forguncy.Notify_Command, Notiflix_Forguncy",
"Message": "已在后台开始同步,请稍后查看!"
}
],
"ID": "06c1b2be-a356-4b82-a599-73ce15ad1ea4"
}
]
}
],
"ToolTip": "同步提交记录",
"Size": 14,
"ImagePath": "Application/058_refresh_2.svg",
"BuiltIn": true,
"UseCellForeColor": true
}
},
"10,1": { "10,1": {
"TemplateCellSource": "创建人", "TemplateCellSource": "创建人",
"RulesGuidList": [ "RulesGuidList": [
@@ -249,6 +346,12 @@
}, },
"10,2": { "10,2": {
"TemplateCellSource": "ID" "TemplateCellSource": "ID"
},
"11,1": {
"TemplateCellSource": "仓库ID"
},
"11,2": {
"TemplateCellSource": "分支名称"
} }
}, },
"StyleDatas": { "StyleDatas": {
@@ -346,20 +449,22 @@
"9,3": 7, "9,3": 7,
"9,4": 7, "9,4": 7,
"10,1": 8, "10,1": 8,
"10,2": 8 "10,2": 8,
"11,1": 1,
"11,2": 1
}, },
"SheetStyle": { "SheetStyle": {
"FontFamily": 0 "FontFamily": 0
} }
}, },
"Spans": [ "Spans": [
"8,1,1,4",
"5,1,1,4", "5,1,1,4",
"3,1,1,4", "3,1,1,4",
"10,1,1,1", "10,1,1,1",
"6,1,1,2", "6,1,1,2",
"4,1,1,4", "4,1,1,4",
"1,1,1,2" "1,1,1,2",
"8,1,1,2"
], ],
"PageInfo": { "PageInfo": {
"$type": "Forguncy.Model.Pages.TemplatePage, ServerDesignerCommon", "$type": "Forguncy.Model.Pages.TemplatePage, ServerDesignerCommon",
@@ -388,4 +493,4 @@
"PaperSize": {}, "PaperSize": {},
"Margin": {} "Margin": {}
} }
}//lzXWO5ul+J0JVpULwoZGZ3PTfykLML1Gh+8YwS6puF0rTY1IU8etM7PLDR5FhIq/W7h5hic+Y4+H2ySM8Vv9sl8oDAx3v7hpJ7exg0vjJ3zCPi+HDuQqx3xGZ0qcxPrPojCHBpJtFP7+qVMiy4/4u413Fubzr44aDf/BuZkBxh4NA0Wg/aV48E3wcPNQVKCg8d+BiT8uLAzH3bHjDW6KIkyVIXo9owBKTgIj439oIvrIxFirX08clmzUvhUVzIV+iCsJtzS64qJhZlrOBbV4kZqOQKhC41Xz+M6WfNoPZ6twHHiAO535a9QbCpe9G8JDk1Po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bY+yUF2vyhMLkDn/PKlr7SVpXlYb/Kj2xflXXPpQo72vMQ6b0U8U8RP+rLGSP9hwor5HeK7w4OKLwRQBfK4reZoPlrBwjwO96XJAZdhJ6GnuXBICsLXZ/rcDD4GjnqU4KCoIWxo+cFJ9lhr0pgyMVIMvZfZxIrzZkcFHwARnCR4V5nOC/cAjVtXekINzdn3VQgMUYh8XeHa1Szbd774dp+IBBfVvKZID0VKL1H017BGcH7Fp/kz5gAOVHpsccB5bVGqPokPMCcez1Ns4kP4WY8+eIHwbokAJBKcPo7Ds0Rwmyin7lUt8RXHx46ghq6qQ3KJNSRmxcNjG9WgvITyU7huTGXEsrAsEoFziw56EZtNrgs6hdxKE28ELZR6CSZ+/EzeemKEaEJADHQvRAWs6IKoTOo43nTqd1Ht7o9V8BIm4LNwjEruEOpxHiu/tylA==|920

View File

@@ -1,5 +1,5 @@
{ {
"PageType": 2, "PageType": 2,
"ColumnCount": 6, "ColumnCount": 6,
"RowCount": 11 "RowCount": 12
} }

View File

@@ -85,7 +85,7 @@
"2,1": "项目岗位", "2,1": "项目岗位",
"3,1": "预算申请", "3,1": "预算申请",
"4,1": "邀请反馈", "4,1": "邀请反馈",
"5,1": "新增分组", "5,1": "发布上线",
"6,1": "归档项目", "6,1": "归档项目",
"7,1": "退出项目", "7,1": "退出项目",
"8,1": "移到回收站", "8,1": "移到回收站",
@@ -217,7 +217,7 @@
] ]
} }
], ],
"Text": "新增分组", "Text": "发布上线",
"TemplateKey": "链接样式", "TemplateKey": "链接样式",
"Icon": { "Icon": {
"Name": "增加.svg", "Name": "增加.svg",
@@ -422,4 +422,4 @@
"Formula": "项目菜单!$B$3" "Formula": "项目菜单!$B$3"
} }
] ]
}//1Dqj1s67YOOjr4jx/V4n9ttdbB0GUbOpturx3857iISP4HIop7ydu6oltNU+GdIWhbrnlDGxTRygDtcp4eYe6RX6VDJUGX8uuodttOxX47MdEFYIhpC9VSLcVZ5BeQ9RbqdICnx7uaOwhavMGA7JG2BC6IIiz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UrKseTyPil8h2taGpjxUit0zbmF4+Nr+m0iXxiH+ceBuPrt5Is1Evh8ZYkD5/bUYOWfs7CF3tLVWMDMeBAWigg4tnr6oy8CjbnY23vDWEBIyZjA0nGEcdY0LemkN2OSPHL7GjhIZj4ISEiA/zCwc4N8zo6xl5YFxmlW7y843xzVmq8DNgOTQ1uQtEceSrVnKtxmoLWrJ1KuY0Hk5ZBM7sfxRUP/g7krZ1i4jdceDlPtwJAR3sHvCNloYj88moIcVf+She+2/V9DWuIoLI89eK1nWlT9v731Kxgil7Or2d2HLECHtmr0ahion4tdXuOLKpPFGJL/8l1p93gIxrYJjrpnVFrisDRk9sFDFo0arffMf1TspI9JU5gM6AT3L2I5wqVWaLMV+NE/6/3o3V6QYyAdgHrpVWMxIaG43DBzPgb0jhewOHEviFgUOhrPvTPxNEK9uCtP6hKmFN5Ds2bQb2U7NRShQrmICGMCArDuFB3LoMkLkaiZB1Nfobsfka3jVw4EsHXGZ9sY+KiNFuqfH2sIeiL5/ypTiK4p/tRLj8Kiutlyp41serqJoQtBPYY0S5agpWiuXvIgSrEbBZ0cpqM9RfX59TDQ==|920

View File

@@ -525,6 +525,15 @@
} }
}, },
"ColumnName": "仓库URL" "ColumnName": "仓库URL"
},
{
"GUID": "4410d2cb-f895-469b-b037-035395d5cbad",
"BindingInfo": {
"TableName": "项目版本",
"ColumnName": "分支名称",
"GUID": "b2b53767-30f9-48e4-86a5-48f2be07ad32"
},
"ColumnName": "分支名称"
} }
], ],
"SqlCondition": { "SqlCondition": {
@@ -1255,4 +1264,4 @@
"Formula": "项目代码!$B$26" "Formula": "项目代码!$B$26"
} }
] ]
}//SzynQSMpDj1QuZWchxnxLaf1MM+wFQPlrqbTxFamc9aBfWOn1R7VVYbKFNbuwvJiDAQW9weHQgiVf0KBLqvb3jyHFPwkppF84E6a8eYCXAAgMvFw0RgIs9JhWymN967rOAVyj9n2C1m45AVaWc07UO4mOOsbfEbPV37FOZL55NRoYgv1s54MMPeLAdlFUE+N6v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7xa6b6SwxDiSt2xO6r8BrIcY47zzbzE7kN0iEXFjs6UKeZM1wwol0xCirQPD93Z0doPSS2DpMcJoYcZxE0jWa4Z1UXvEYQF2uKxXvqQoBh3MB/kZYQy1EFLFdiGqLfK9ePcw9Lp3o/tyCChqyRcIer30+TPwfqxrF57IMw9aH9XQWZTO/6yWCsEERihuP+5WZgORhdKTmpn6O5+k4P4Kwc623TI3xpMTQeR+X4HT4HLghgfXkcpvRMsHa5cxIsu1Umksyb0/1Hc9caTmsrSnGJ31L/TcsIo4TTyaF03szrldVgRYSxj/eQOtD+UU7VXOvXPtAOnRt9H85A8+Djf5CYa/ymTkL1VnERNEds93sd/301F3P7bdTmGTzaIqa/+5o5GrHTMses2DqkB8akdr2nmIPidCJktCGwUBGAOOF3Yuzi314Iz1NRdzPRTcIHxCOhWPD9rhnsefhYihXMyT362jz1h+ldPZuXmoN4Z991h4MKRXOoOnjoN2axfnUMJFCsUge0E19Ab/TJm6oeuf2IU19aoqaoK5KUFOwbb5Uiz4XFbgG4jTzvUwLA==|920

View File

@@ -23,7 +23,7 @@
"TableValueType": 1, "TableValueType": 1,
"BindingInfos": [ "BindingInfos": [
{ {
"GUID": "5ce51b6f-356c-45ae-b319-9d17473fe305", "GUID": "3b46b4ca-f9d8-42ff-b3b8-3f16ac77bf85",
"BindingInfo": { "BindingInfo": {
"TableName": "Git仓库表", "TableName": "Git仓库表",
"ColumnName": "仓库ID", "ColumnName": "仓库ID",
@@ -47,7 +47,33 @@
"NullFormulaValueQueryPolicy": 0, "NullFormulaValueQueryPolicy": 0,
"TopCount": "1" "TopCount": "1"
}, },
"ID": "679ba12e65b74705b0d6f257963a2e23" "ID": "c3b76409d13b461eb4df829ffd6281fc"
},
{
"$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": "分支名"
}
],
"ResultErrorCodeTo": {
"SerializeProperty": "code"
},
"ResultMessageTo": {
"SerializeProperty": "msg"
},
"RefreshAfterFinish": true,
"CheckDataValidation": true
}, },
{ {
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
@@ -66,32 +92,6 @@
"compareType": 1 "compareType": 1
}, },
"CommandList": [ "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": "分支名"
}
],
"ResultErrorCodeTo": {
"SerializeProperty": "code"
},
"ResultMessageTo": {
"SerializeProperty": "msg"
},
"RefreshAfterFinish": true,
"CheckDataValidation": true
},
{ {
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": { "ErrorCode": {
@@ -104,7 +104,7 @@
} }
} }
], ],
"ID": "0cddff84-18ce-4ed1-9c98-b82ee9321acf" "ID": "fbadb806-86bb-4f7d-a9e7-0d8ba7e4920a"
}, },
{ {
"CommandList": [ "CommandList": [
@@ -114,7 +114,7 @@
"Message": "仓库不存在" "Message": "仓库不存在"
} }
], ],
"ID": "cb44fec5-9b34-41a0-b1d2-e2a9f58f3a81" "ID": "3a56322c-80d1-4849-86bc-2ffabc460149"
} }
] ]
} }

View File

@@ -19,6 +19,9 @@
} }
] ]
} }
},
"InvokeTriggerTestData": {
"UserName": "Administrator"
} }
} }
], ],
@@ -84,11 +87,11 @@
{ {
"$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit", "$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit",
"Operation": 17, "Operation": 17,
"OperationParamaterAName": { "OperationParamaterAName": "/",
"OperationParamaterBName": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=钩子数据.ref" "SerializeProperty": "=钩子数据.ref"
}, },
"OperationParamaterBName": "/",
"OutParamaterName": "ref" "OutParamaterName": "ref"
}, },
{ {
@@ -116,7 +119,7 @@
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=IF(内容得分>100,100,内容得分)" "SerializeProperty": "=IF(内容得分>100,100,内容得分)"
}, },
"ID": "f0c40e1a767a47f59d53c4cf2de66cb8" "ID": "94c3f90ece7f4f1da065672d832b71bc"
}, },
{ {
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
@@ -144,7 +147,7 @@
"BindingInfo": { "BindingInfo": {
"TableName": "Git_事件记录", "TableName": "Git_事件记录",
"ColumnName": "事件名称", "ColumnName": "事件名称",
"GUID": "e3d8237d-2981-42d5-9fc2-5d2bfd05bf60" "GUID": "f5728a26-d93f-4c8d-95ce-81f96969dd0a"
}, },
"Value": "签入工程" "Value": "签入工程"
}, },
@@ -152,7 +155,7 @@
"BindingInfo": { "BindingInfo": {
"TableName": "Git_事件记录", "TableName": "Git_事件记录",
"ColumnName": "hook_id", "ColumnName": "hook_id",
"GUID": "00547c56-457a-494c-8f96-86022934bf14" "GUID": "c87cd952-ef50-418c-893f-3a38ddb64c1a"
}, },
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -163,7 +166,7 @@
"BindingInfo": { "BindingInfo": {
"TableName": "Git_事件记录", "TableName": "Git_事件记录",
"ColumnName": "事件内容", "ColumnName": "事件内容",
"GUID": "a109b9ce-1bbd-4622-8d16-cef097c1bc2a" "GUID": "1455fcf6-d422-40f7-b96d-103a71f51a78"
}, },
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -174,7 +177,7 @@
"BindingInfo": { "BindingInfo": {
"TableName": "Git_事件记录", "TableName": "Git_事件记录",
"ColumnName": "空间路径", "ColumnName": "空间路径",
"GUID": "17a84b21-4818-4889-8fe3-fcdceb91dade" "GUID": "ed438631-1542-4734-8281-4b55b6c09990"
}, },
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -185,7 +188,7 @@
"BindingInfo": { "BindingInfo": {
"TableName": "Git_事件记录", "TableName": "Git_事件记录",
"ColumnName": "仓库名称", "ColumnName": "仓库名称",
"GUID": "59a0cc7f-f8b0-4685-a121-551f723c439e" "GUID": "4c3924b2-7d09-4dd8-a6d4-234618128853"
}, },
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -196,7 +199,7 @@
"BindingInfo": { "BindingInfo": {
"TableName": "Git_事件记录", "TableName": "Git_事件记录",
"ColumnName": "仓库路径", "ColumnName": "仓库路径",
"GUID": "784bdb0b-55ad-4910-b4ec-bafa65529fc0" "GUID": "da433dcc-a5f7-44af-8e18-49a581d58b86"
}, },
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -207,7 +210,7 @@
"BindingInfo": { "BindingInfo": {
"TableName": "Git_事件记录", "TableName": "Git_事件记录",
"ColumnName": "url", "ColumnName": "url",
"GUID": "f590a2d6-b93a-4089-bdec-2c30c471398c" "GUID": "c5802278-760f-4346-9fff-5dd169d7a167"
}, },
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -218,7 +221,7 @@
"BindingInfo": { "BindingInfo": {
"TableName": "Git_事件记录", "TableName": "Git_事件记录",
"ColumnName": "提交人", "ColumnName": "提交人",
"GUID": "00485f10-6feb-4fa0-b027-099ff6eac91b" "GUID": "3607700b-92ac-4076-959a-be225339146d"
}, },
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -229,7 +232,7 @@
"BindingInfo": { "BindingInfo": {
"TableName": "Git_事件记录", "TableName": "Git_事件记录",
"ColumnName": "git用户名", "ColumnName": "git用户名",
"GUID": "07059c00-6828-4e30-b89e-ecad8c7045cd" "GUID": "42ab09c4-d71c-4fda-b6cd-c083d0ee40c3"
}, },
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -240,7 +243,7 @@
"BindingInfo": { "BindingInfo": {
"TableName": "Git_事件记录", "TableName": "Git_事件记录",
"ColumnName": "仓库ID", "ColumnName": "仓库ID",
"GUID": "0ad23830-fd5a-4d97-ab30-d2278de68da0" "GUID": "e9d7e4e9-d2c2-4af5-9c38-c580f32afa03"
}, },
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -251,7 +254,7 @@
"BindingInfo": { "BindingInfo": {
"TableName": "Git_事件记录", "TableName": "Git_事件记录",
"ColumnName": "日期", "ColumnName": "日期",
"GUID": "24992ce1-4463-45da-b635-2d7d35ffd8d2" "GUID": "2ecf9f6b-8cb0-41df-a0fc-d54e427cd660"
}, },
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -262,7 +265,7 @@
"BindingInfo": { "BindingInfo": {
"TableName": "Git_事件记录", "TableName": "Git_事件记录",
"ColumnName": "内容得分", "ColumnName": "内容得分",
"GUID": "012c118f-89d1-4f0b-9926-7c7e53c3359e" "GUID": "1d3ac7f3-23d8-4615-b5c4-c25ff9d6cf45"
}, },
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -273,7 +276,7 @@
"BindingInfo": { "BindingInfo": {
"TableName": "Git_事件记录", "TableName": "Git_事件记录",
"ColumnName": "sha", "ColumnName": "sha",
"GUID": "88a1499b-a29b-4891-9aa8-8946c7aaff38" "GUID": "ae4a80e9-a6b0-43fc-a1a6-be84aff1b071"
}, },
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -284,7 +287,7 @@
"BindingInfo": { "BindingInfo": {
"TableName": "Git_事件记录", "TableName": "Git_事件记录",
"ColumnName": "分支", "ColumnName": "分支",
"GUID": "5abe4aec-eaaf-4a67-b05b-b1b768d6c08a" "GUID": "385c23f4-efcc-43eb-bffe-88c777f9db3b"
}, },
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -294,7 +297,7 @@
] ]
} }
], ],
"ID": "f5d81c7a-11ef-4056-a912-a74c9fd0e656" "ID": "b13cafa3-b4ef-41ee-bdb0-fbdfd6611504"
} }
] ]
}, },
@@ -306,7 +309,7 @@
"TableValueType": 1, "TableValueType": 1,
"BindingInfos": [ "BindingInfos": [
{ {
"GUID": "00bbebd3-cf38-47e0-9cd0-cd5011d2244c", "GUID": "19eeec3f-dee6-4b51-96c7-5a50412a9db9",
"BindingInfo": { "BindingInfo": {
"TableName": "用户信息视图", "TableName": "用户信息视图",
"ColumnName": "用户名", "ColumnName": "用户名",
@@ -330,7 +333,7 @@
"NullFormulaValueQueryPolicy": 0, "NullFormulaValueQueryPolicy": 0,
"TopCount": "1" "TopCount": "1"
}, },
"ID": "cacecf37904549a7b959662d7894f91d" "ID": "1a60c725ef3b4a2380ffdd8496fa830c"
}, },
{ {
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
@@ -359,7 +362,7 @@
"BindingInfo": { "BindingInfo": {
"TableName": "积分记录表", "TableName": "积分记录表",
"ColumnName": "用户", "ColumnName": "用户",
"GUID": "dcc2eab7-f5f9-401a-a00a-e3b035448c6c" "GUID": "e9513eeb-ae0a-4188-ade8-3076325b6ce5"
}, },
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -370,7 +373,7 @@
"BindingInfo": { "BindingInfo": {
"TableName": "积分记录表", "TableName": "积分记录表",
"ColumnName": "类型", "ColumnName": "类型",
"GUID": "fd54a12e-68cd-457e-8db9-5893395f298e" "GUID": "51fad653-a46a-4be6-a483-6f9b96e20379"
}, },
"Value": "GitPush" "Value": "GitPush"
}, },
@@ -378,7 +381,7 @@
"BindingInfo": { "BindingInfo": {
"TableName": "积分记录表", "TableName": "积分记录表",
"ColumnName": "分数", "ColumnName": "分数",
"GUID": "6efe5a8a-03b2-49bc-b902-1321173a9347" "GUID": "03909ab6-62b4-41e4-98e4-a2a174622fa2"
}, },
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -389,7 +392,7 @@
"BindingInfo": { "BindingInfo": {
"TableName": "积分记录表", "TableName": "积分记录表",
"ColumnName": "变动日期", "ColumnName": "变动日期",
"GUID": "85db9acb-4983-44e1-b01b-7ada81a3a897" "GUID": "cd49dcfc-a4ae-45ec-bcc1-79d71db9125c"
}, },
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -400,7 +403,7 @@
"BindingInfo": { "BindingInfo": {
"TableName": "积分记录表", "TableName": "积分记录表",
"ColumnName": "备注", "ColumnName": "备注",
"GUID": "de778986-632b-4cab-bf90-621fc732e6fa" "GUID": "33fb126a-2df3-4bc6-b91e-cf9d12577240"
}, },
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -410,7 +413,7 @@
] ]
} }
], ],
"ID": "3548ce71-6182-4937-afb5-3549ee527715" "ID": "04bcba5a-ab6c-4ae0-815e-468975f920ab"
} }
] ]
}, },
@@ -420,15 +423,65 @@
"Message": "签入已被记录" "Message": "签入已被记录"
} }
], ],
"ID": "0f88bf34-7490-4db0-8038-a5dac125d48e" "ID": "05e3b5c0-24c6-4b8b-9b8b-7b6d0aacf2b6"
} }
] ]
} }
] ]
},
"CatchCommandPart": {
"CommandList": [
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "日志表",
"UpdateType": "add",
"ShowConfirm": false,
"UpdateBindingValues": [
{
"BindingInfo": {
"TableName": "日志表",
"ColumnName": "标题",
"GUID": "0b7ad66f-04e7-456a-91ba-c329e0ff318e"
},
"Value": "CallBack"
},
{
"BindingInfo": {
"TableName": "日志表",
"ColumnName": "内容",
"GUID": "646d1de8-c6a2-48fb-8e68-9743fb1f9c0c"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ExceptionMessage"
}
},
{
"BindingInfo": {
"TableName": "日志表",
"ColumnName": "类型",
"GUID": "0f380873-1489-4994-b42f-a2d97976102d"
},
"Value": "错误"
}
]
},
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ExceptionCode"
},
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ExceptionMessage"
}
}
]
} }
} }
], ],
"ID": "43e74129-e99a-4c4e-9c83-23616e386428" "ID": "104d53d2-0226-46bd-aa08-6e4eee60e46b"
} }
] ]
} }

View File

@@ -0,0 +1,80 @@
{
"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
}
},
{
"Name": "分支名",
"DataValidationInfo": {}
}
]
}
],
"Commands": [
{
"$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"
}
}
]
}

View File

@@ -3,39 +3,23 @@
"Enabled": true, "Enabled": true,
"Triggers": [ "Triggers": [
{ {
"$type": "Forguncy.SaveLoad.PostRequestTriggerSaveData, ServerDesignerCommon", "$type": "Forguncy.SaveLoad.InvokeTriggerSaveData, 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": [ "Parameters": [
{ {
"Name": "仓库ID", "Name": "仓库ID",
"DataValidationInfo": { "DataValidationInfo": {
"IgnoreBlank": false "IgnoreBlank": false
}, },
"TestData": "32969134" "TestData": "33487312"
}, },
{ {
"Name": "分支名", "Name": "分支名",
"DataValidationInfo": {}, "DataValidationInfo": {}
"TestData": "master"
} }
], ],
"InvokeTriggerTestData": { "InvokeTriggerTestData": {
"UserName": "Administrator" "UserName": "Administrator",
"RequestTimeout": 300
} }
} }
], ],
@@ -48,7 +32,7 @@
"TableValueType": 1, "TableValueType": 1,
"BindingInfos": [ "BindingInfos": [
{ {
"GUID": "d38e2fe4-5a7d-41c3-9538-77e8875b1048", "GUID": "26dcb396-9bee-4eb2-b246-3834594ad3b5",
"BindingInfo": { "BindingInfo": {
"TableName": "Git仓库表", "TableName": "Git仓库表",
"ColumnName": "空间路径名", "ColumnName": "空间路径名",
@@ -57,7 +41,7 @@
"ColumnName": "空间路径名" "ColumnName": "空间路径名"
}, },
{ {
"GUID": "b5136c0c-56f4-4bef-a309-66e88e0d3973", "GUID": "bc4d7471-ba59-46ff-aee3-7d82e2e8e167",
"BindingInfo": { "BindingInfo": {
"TableName": "Git仓库表", "TableName": "Git仓库表",
"ColumnName": "仓库路径名", "ColumnName": "仓库路径名",
@@ -66,7 +50,7 @@
"ColumnName": "仓库路径名" "ColumnName": "仓库路径名"
}, },
{ {
"GUID": "dd7fffc1-a816-40c6-992a-1f9d7405e3dc", "GUID": "56048e33-c0ee-4b6d-ad8c-c9a88f7b7f36",
"BindingInfo": { "BindingInfo": {
"TableName": "Git仓库表", "TableName": "Git仓库表",
"ColumnName": "仓库名称", "ColumnName": "仓库名称",
@@ -75,13 +59,22 @@
"ColumnName": "仓库名称" "ColumnName": "仓库名称"
}, },
{ {
"GUID": "cec1fc8d-1f21-4f9e-a3d1-8e01c9686840", "GUID": "c4960534-043f-4291-9c95-b8a927d6683b",
"BindingInfo": { "BindingInfo": {
"TableName": "Git仓库表", "TableName": "Git仓库表",
"ColumnName": "拉取人员", "ColumnName": "拉取人员",
"GUID": "1e47126d-9b27-4586-9e85-617839459cf1" "GUID": "1e47126d-9b27-4586-9e85-617839459cf1"
}, },
"ColumnName": "拉取人员" "ColumnName": "拉取人员"
},
{
"GUID": "3b804b6a-c0ef-4c43-be07-1c1f58cd79ab",
"BindingInfo": {
"TableName": "Git仓库表",
"ColumnName": "最后事件接收日期",
"GUID": "08be87e6-b94c-4b73-86cd-03bbaafcdcc9"
},
"ColumnName": "最后事件接收日期"
} }
], ],
"SqlCondition": { "SqlCondition": {
@@ -99,13 +92,22 @@
"NullFormulaValueQueryPolicy": 0, "NullFormulaValueQueryPolicy": 0,
"TopCount": "1" "TopCount": "1"
}, },
"ID": "575825b5495d488bb5fe2954f610c5f0" "ID": "3eda6a7cb85440dea2a723990a2241e6"
},
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "同步起始日期",
"ParameterValue": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=IF(仓库.最后事件接收日期=\"\",\"\",TEXT(仓库.最后事件接收日期,\"yyyy-mm-dd hh:mm:ss\"))"
},
"ID": "799b0ab715814e4c948275f8c45aeecb"
}, },
{ {
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "同步数量", "ParameterName": "同步数量",
"ParameterValue": "0", "ParameterValue": "0",
"ID": "8574363f8b0947b1b03cc76a1b444538" "ID": "3559e701107b45919558b9f3a7dcfe0d"
}, },
{ {
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
@@ -209,66 +211,155 @@
"TryCommandPart": { "TryCommandPart": {
"CommandList": [ "CommandList": [
{ {
"$type": "PostDataToWebApi.PostDataCommand, PostDataToWebApi", "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"PostData": { "ConditionAndCommandPairList": [
"DataItemType": 1, {
"Data": { "Condition": {
"$type": "PostDataToWebApi.ObjectData, PostDataToWebApi", "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"Data": [ "param": {
{ "$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"Name": "access_token", "ParamObject": {
"DataItemType": 0,
"Data": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ACCESS_TOKEN"
}
},
{
"Name": "author",
"DataItemType": 0
},
{
"Name": "sha",
"DataItemType": 0,
"Data": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=分支名" "SerializeProperty": "=分支名"
} }
}, },
"value": "%Null%",
"compareType": 1
},
"CommandList": [
{ {
"Name": "since", "$type": "PostDataToWebApi.PostDataCommand, PostDataToWebApi",
"DataItemType": 0 "PostData": {
}, "DataItemType": 1,
{ "Data": {
"Name": "until", "$type": "PostDataToWebApi.ObjectData, PostDataToWebApi",
"DataItemType": 0 "Data": [
}, {
{ "Name": "access_token",
"Name": "page", "DataItemType": 0,
"DataItemType": 0, "Data": {
"Data": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ACCESS_TOKEN"
}
},
{
"Name": "author",
"DataItemType": 0
},
{
"Name": "sha",
"DataItemType": 0,
"Data": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=分支名"
}
},
{
"Name": "since",
"DataItemType": 0,
"Data": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=同步起始日期"
}
},
{
"Name": "until",
"DataItemType": 0
},
{
"Name": "page",
"DataItemType": 0,
"Data": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=循环次数"
}
},
{
"Name": "per_page",
"DataItemType": 0,
"Data": 100
}
]
}
},
"WebUrl": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=循环次数" "SerializeProperty": "=\"https://gitee.com/api/v5/repos/\"&仓库.空间路径名&\"/\"&仓库.仓库路径名&\"/commits\""
} },
}, "Method": "GET",
{ "SuccessCallback": "// 请求成功返回的数据存储在“result”变量中\r\n// 请使用“result”变量来完成请求成功的回调 \r\n//console.log(result);",
"Name": "per_page", "ErrorCallback": "// 请求中发生的错误存储在“error”变量中\r\n// 请使用“error”变量来处理异常情况 \r\nconsole.error(error);",
"DataItemType": 0, "NewParameter": "result",
"Data": 100 "Header": [],
"Timeout": 100.0
} }
] ],
"ID": "5ddc0fea-8381-42a9-a5e9-626b59a1eac0"
},
{
"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": "author",
"DataItemType": 0
},
{
"Name": "since",
"DataItemType": 0,
"Data": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=同步起始日期"
}
},
{
"Name": "until",
"DataItemType": 0
},
{
"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
}
],
"ID": "23b22c80-8fe9-4372-a02a-c67492547f14"
} }
}, ]
"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", "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
@@ -308,7 +399,7 @@
"WithinLoop": true "WithinLoop": true
} }
], ],
"ID": "02b1bc06-6b08-40f3-9940-346b98d114ba" "ID": "cec24241-daa8-42d7-af64-5dfaea9cb153"
}, },
{ {
"CommandList": [ "CommandList": [
@@ -416,15 +507,6 @@
"compareType": 1 "compareType": 1
}, },
"CommandList": [ "CommandList": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "同步数量",
"ParameterValue": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=同步数量+result.Count"
},
"ID": "0bfba15e31c94c6da7557d24eb34bc5c"
},
{ {
"$type": "GETPOST.正则类.正则_校验, GETPOST", "$type": "GETPOST.正则类.正则_校验, GETPOST",
"JieShouMsg": { "JieShouMsg": {
@@ -441,157 +523,346 @@
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=IF(内容有效性,0,LEN(message.Message))" "SerializeProperty": "=IF(内容有效性,0,LEN(message.Message))"
}, },
"ID": "fa3c335eefc041dea44953f44a0cc564" "ID": "7a32695f6ce542e8968e8cb1ded1a232"
}, },
{ {
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon", "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"TableName": "Git_事件记录", "ConditionAndCommandPairList": [
"UpdateType": "add",
"ShowConfirm": false,
"UpdateBindingValues": [
{ {
"BindingInfo": { "Condition": {
"TableName": "Git_事件记录", "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"ColumnName": "仓库ID", "param": {
"GUID": "5e824315-5955-41da-be3f-f628d307c9b6" "$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=IF(内容有效性,1,0)"
}
},
"value": "0"
}, },
"Value": { "CommandList": [
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", {
"SerializeProperty": "=仓库ID" "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
} "ParameterName": "同步数量",
}, "ParameterValue": {
{ "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"BindingInfo": { "SerializeProperty": "=同步数量+1"
"TableName": "Git_事件记录", },
"ColumnName": "事件名称", "ID": "d762787be83f4411a14dee04cf70b9c2"
"GUID": "a44e3498-b444-4eeb-94b2-cadffa7aaf2d" },
}, {
"Value": "签入工程" "$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
}, "TableName": "Git_事件记录",
{ "UpdateType": "add",
"BindingInfo": { "ShowConfirm": false,
"TableName": "Git_事件记录", "UpdateBindingValues": [
"ColumnName": "空间路径", {
"GUID": "cc8f4f3c-1af8-4b9f-9432-c68f972c8827" "BindingInfo": {
}, "TableName": "Git_事件记录",
"Value": { "ColumnName": "仓库ID",
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "GUID": "594da392-5262-488b-b37e-68fdf5e514b3"
"SerializeProperty": "=仓库.空间路径名" },
} "Value": {
}, "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
{ "SerializeProperty": "=仓库ID"
"BindingInfo": { }
"TableName": "Git_事件记录", },
"ColumnName": "仓库名称", {
"GUID": "8f1e71da-f543-4758-95b9-888654ed6648" "BindingInfo": {
}, "TableName": "Git_事件记录",
"Value": { "ColumnName": "事件名称",
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "GUID": "41618106-9e21-456a-9875-4649ebb408bc"
"SerializeProperty": "=仓库.仓库名称" },
} "Value": "签入工程"
}, },
{ {
"BindingInfo": { "BindingInfo": {
"TableName": "Git_事件记录", "TableName": "Git_事件记录",
"ColumnName": "仓库路径", "ColumnName": "空间路径",
"GUID": "f0a7745a-11b9-415d-810e-42311b11478a" "GUID": "e921ed18-b673-47c2-89c2-785c4725ca26"
}, },
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=仓库.仓库路径名" "SerializeProperty": "=仓库.空间路径名"
} }
}, },
{ {
"BindingInfo": { "BindingInfo": {
"TableName": "Git_事件记录", "TableName": "Git_事件记录",
"ColumnName": "提交人", "ColumnName": "仓库名称",
"GUID": "f9e7c496-0cff-4ecb-891c-588e037987a5" "GUID": "39b9d260-b60e-41a3-8424-0ac99911017c"
}, },
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=完整ITEM.committer.name" "SerializeProperty": "=仓库.仓库名称"
} }
}, },
{ {
"BindingInfo": { "BindingInfo": {
"TableName": "Git_事件记录", "TableName": "Git_事件记录",
"ColumnName": "事件内容", "ColumnName": "仓库路径",
"GUID": "a5f07281-31a5-4bea-91cd-147e5f2ab6d9" "GUID": "ac9aad97-ead2-46e0-a282-90a0168d25e0"
}, },
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=message.Message" "SerializeProperty": "=仓库.仓库路径名"
} }
}, },
{ {
"BindingInfo": { "BindingInfo": {
"TableName": "Git_事件记录", "TableName": "Git_事件记录",
"ColumnName": "url", "ColumnName": "提交人",
"GUID": "f11fd976-3bea-4288-bba6-6297a57c0598" "GUID": "2dd1bf4c-2c17-48db-b0ac-71c70635f470"
}, },
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=完整ITEM.html_url" "SerializeProperty": "=完整ITEM.committer.name"
} }
}, },
{ {
"BindingInfo": { "BindingInfo": {
"TableName": "Git_事件记录", "TableName": "Git_事件记录",
"ColumnName": "git用户名", "ColumnName": "事件内容",
"GUID": "bffbc696-0387-425e-86bd-4ebac35e400f" "GUID": "585a581c-42dd-4835-9580-6a98aa500b54"
}, },
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=完整ITEM.committer.login" "SerializeProperty": "=message.Message"
} }
}, },
{ {
"BindingInfo": { "BindingInfo": {
"TableName": "Git_事件记录", "TableName": "Git_事件记录",
"ColumnName": "日期", "ColumnName": "url",
"GUID": "bbabf6d6-15de-4746-bfbf-82aba78ee815" "GUID": "a7c5243a-56f6-464a-9097-52abfda3e6f3"
}, },
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=完整ITEM.commit.committer.date" "SerializeProperty": "=完整ITEM.html_url"
} }
}, },
{ {
"BindingInfo": { "BindingInfo": {
"TableName": "Git_事件记录", "TableName": "Git_事件记录",
"ColumnName": "内容得分", "ColumnName": "git用户名",
"GUID": "abf39d1a-c07f-497a-94bf-b8290b5242e6" "GUID": "b3e54524-2ea2-4459-85c5-4be18bc596e4"
}, },
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=IF(内容得分>100,100,内容得分)" "SerializeProperty": "=完整ITEM.committer.login"
} }
}, },
{ {
"BindingInfo": { "BindingInfo": {
"TableName": "Git_事件记录", "TableName": "Git_事件记录",
"ColumnName": "sha", "ColumnName": "日期",
"GUID": "5b7e01a6-ab9b-45ac-91cf-67b7d2598d71" "GUID": "1ecc3c24-c66b-447d-a1ac-d23b637c5230"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=完整ITEM.commit.committer.date"
}
},
{
"BindingInfo": {
"TableName": "Git_事件记录",
"ColumnName": "内容得分",
"GUID": "20463586-3560-4d42-af25-abf32d119f97"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=IF(内容得分>100,100,内容得分)"
}
},
{
"BindingInfo": {
"TableName": "Git_事件记录",
"ColumnName": "sha",
"GUID": "acada9b5-c9a5-4ff1-9b98-1c63ddd997a8"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=完整ITEM.sha"
}
}
]
}
],
"ID": "0468dcdc-04cb-4701-b9a5-48bae83a808a"
}
]
},
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "是否已记录",
"TableValue": {
"TableName": "积分记录表",
"TableValueType": 3,
"SqlCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "积分记录表",
"ColumnName": "来源标识",
"GUID": "8401e7ac-8d37-46e5-a19d-b3b3e61ddf1c"
}, },
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=完整ITEM.sha" "SerializeProperty": "=完整ITEM.sha"
} }
},
"NullFormulaValueQueryPolicy": 0
},
"ID": "49e56134f0e24e448f13c8883b62b9c0"
},
{
"$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.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "用户",
"TableValue": {
"TableName": "用户信息视图",
"TableValueType": 1,
"BindingInfos": [
{
"GUID": "46c7f177-9a96-4ff2-9e27-415c231c6825",
"BindingInfo": {
"TableName": "用户信息视图",
"ColumnName": "用户名",
"GUID": "311be55b-90c9-417e-b8fb-378024d8f3ce"
},
"ColumnName": "用户名"
}
],
"SqlCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "用户信息视图",
"ColumnName": "GIT用户名",
"GUID": "f42da023-ab7d-46ba-bbc7-0d0a65476625"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=完整ITEM.committer.login"
}
},
"NullFormulaValueQueryPolicy": 0,
"TopCount": "1"
},
"ID": "ee8c68eba7654bf0891e3d2f4fb2f335"
},
{
"$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.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "积分记录表",
"UpdateType": "add",
"ShowConfirm": false,
"UpdateBindingValues": [
{
"BindingInfo": {
"TableName": "积分记录表",
"ColumnName": "用户",
"GUID": "7ba96f62-cffc-4381-b86f-a7e46a4db96c"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=用户.用户名"
}
},
{
"BindingInfo": {
"TableName": "积分记录表",
"ColumnName": "类型",
"GUID": "e5802afd-a07a-45c5-982f-2ddd87d7fe22"
},
"Value": "GitPush"
},
{
"BindingInfo": {
"TableName": "积分记录表",
"ColumnName": "分数",
"GUID": "b5fc3d44-5b94-40a4-aef2-cc8080126e6b"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=内容得分"
}
},
{
"BindingInfo": {
"TableName": "积分记录表",
"ColumnName": "变动日期",
"GUID": "456c7303-c4c8-4694-b23d-1be301eaf343"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=NOW()"
}
},
{
"BindingInfo": {
"TableName": "积分记录表",
"ColumnName": "备注",
"GUID": "49313604-a708-4dc1-909e-f7ea03ab1add"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=\"用户对Git仓库[\"&仓库.仓库名称&\"]的签入,被系统自动评分。\"&CHAR(10)&\"签入内容:\"&message.Message"
}
}
]
}
],
"ID": "613a4321-1bb3-437d-8b40-681f989088b1"
}
]
}
],
"ID": "793de4f7-47c6-44f4-b6c4-019c12624a2c"
} }
] ]
} }
], ],
"ID": "583c643e-f5ed-467b-97ef-dc5b1013ef86" "ID": "0169d7b8-263c-4d6b-be31-13e9b8e20352"
} }
] ]
} }
], ],
"ID": "b79cbc00-24c6-4396-b809-e5d5d03123e4" "ID": "65c8f997-087a-4a07-ab2a-8097ba951df4"
} }
] ]
} }
], ],
"ID": "943c23ad-dc8d-40a1-9219-2b9e1ad1cc3e" "ID": "89fb0092-ce79-4e7e-a228-7081b723f9ea"
} }
] ]
} }
@@ -601,7 +872,7 @@
] ]
} }
], ],
"ID": "ba22b6aa-ec8d-4aa0-a0a8-3560fddecb07" "ID": "7d08bff3-0eff-4c33-b8a0-6f139b71962d"
} }
] ]
} }
@@ -636,7 +907,7 @@
} }
} }
], ],
"ID": "cc2f7d06-2810-4f50-89ae-4fb850629e1e" "ID": "acd9b6f2-60bf-451d-8c17-60e648a75591"
}, },
{ {
"CommandList": [ "CommandList": [
@@ -652,12 +923,12 @@
} }
} }
], ],
"ID": "97be4a8e-96bf-458a-bc44-7f0554bd0fa2" "ID": "b4f85c9d-9056-401d-a919-b4b595d104e2"
} }
] ]
} }
], ],
"ID": "90295fd0-f9ae-42cd-b4c0-49f2a00fb536" "ID": "0d2baa8a-777e-432c-89a5-f96500ef503f"
}, },
{ {
"CommandList": [ "CommandList": [
@@ -667,7 +938,7 @@
"Message": "仓库不存在或尚未设置拉取人员" "Message": "仓库不存在或尚未设置拉取人员"
} }
], ],
"ID": "5549cfc8-9683-4201-90ac-dfb52fbaadc9" "ID": "c5620ff3-c761-4d11-a269-008c233d4195"
} }
] ]
} }

View File

@@ -161,6 +161,19 @@
"Name": "空间路径加仓库路径", "Name": "空间路径加仓库路径",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e" "ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
}, },
{
"$type": "Forguncy.SaveLoad.StatisticColumnSaveData, ServerDesignerCommon",
"BindingInfo": {
"TableName": "Git_事件记录",
"ColumnName": "日期",
"GUID": "983855eb-eeb7-4831-a794-07cb89116997"
},
"AggregateFunction": 2,
"DataColumnName": "日期",
"DetailTableName": "Git_事件记录",
"Name": "最后事件接收日期",
"ColumnType": "System.DateTime, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{ {
"$type": "Forguncy.SaveLoad.UserExtraBingingColumnSaveData, ServerDesignerCommon", "$type": "Forguncy.SaveLoad.UserExtraBingingColumnSaveData, ServerDesignerCommon",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", "ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e",

View File

@@ -50,6 +50,13 @@
"Name": "备注", "Name": "备注",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e" "ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
}, },
{
"$type": "Forguncy.SaveLoad.BindingColumnSaveData, ServerDesignerCommon",
"DatabaseColumnType": "nvarchar",
"MaxLength": -1,
"Name": "来源标识",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{ {
"$type": "Forguncy.SaveLoad.UserExtraBingingColumnSaveData, ServerDesignerCommon", "$type": "Forguncy.SaveLoad.UserExtraBingingColumnSaveData, ServerDesignerCommon",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", "ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e",

View File

@@ -36,7 +36,7 @@
"RowColumnAttachedInfos": { "RowColumnAttachedInfos": {
"0": { "0": {
"GridRowColumnDefinition": { "GridRowColumnDefinition": {
"DesignLengthInPixel": 270.0, "DesignLengthInPixel": 251.0,
"Mode": 2, "Mode": 2,
"MinLength": { "MinLength": {
"Unit": 1 "Unit": 1
@@ -45,10 +45,20 @@
"Value": 1.0 "Value": 1.0
} }
} }
},
"1": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"2": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
} }
}, },
"Count": 1, "Count": 3,
"DefaultSize": 270.0 "DefaultSize": 32.0
}, },
"Values": { "Values": {
"1,0": "Gitee提交历史" "1,0": "Gitee提交历史"
@@ -65,6 +75,55 @@
"IconSize": 12.0 "IconSize": 12.0
} }
}, },
"1,1": {
"CellType": {
"$type": "Forguncy.ImageCellType, ServerDesignerCommon",
"CommandList": [
{
"$type": "Forguncy.Model.UpdateListviewCommand, ServerDesignerCommon",
"ListviewName": "图文列表表格1",
"UpdateType": 6,
"UpdateListviewCommandRunTimeMethodSetting": {
"MethodName": "Reload",
"ParameterValues": {
"clearFilter": false,
"clearSort": false,
"clearRuntimeQueryConditions": false
}
}
}
],
"ToolTip": "同步最新提交信息",
"Size": 14,
"ImagePath": "下载.svg",
"UseCellForeColor": true
}
},
"1,2": {
"CellType": {
"$type": "Forguncy.ImageCellType, ServerDesignerCommon",
"CommandList": [
{
"$type": "Forguncy.Model.UpdateListviewCommand, ServerDesignerCommon",
"ListviewName": "图文列表表格1",
"UpdateType": 6,
"UpdateListviewCommandRunTimeMethodSetting": {
"MethodName": "Reload",
"ParameterValues": {
"clearFilter": false,
"clearSort": false,
"clearRuntimeQueryConditions": false
}
}
}
],
"ToolTip": "刷新",
"Size": 14,
"ImagePath": "Application/058_refresh_2.svg",
"BuiltIn": true,
"UseCellForeColor": true
}
},
"3,0": { "3,0": {
"CellType": { "CellType": {
"$type": "Forguncy.RepeaterCellType, ServerDesignerCommon", "$type": "Forguncy.RepeaterCellType, ServerDesignerCommon",
@@ -195,31 +254,49 @@
"TextIndent": 10 "TextIndent": 10
}, },
{ {
"HorizontalAlignment": 0 "FontFamily": 0,
"FontSize": 13.333333333333332,
"Foreground": 1,
"TextIndent": 10,
"HorizontalAlignment": 2
},
{
"Foreground": 1,
"TextIndent": 10
},
{
"HorizontalAlignment": 3
}, },
{ {
"FontSize": 13.333333333333332, "FontSize": 13.333333333333332,
"HorizontalAlignment": 1 "HorizontalAlignment": 2
} }
], ],
"Types": { "Types": {
"Strs": [ "Strs": [
"Center", "Body",
"Text 1 50",
"Left", "Left",
"Body" "Center"
] ]
}, },
"CellStyles": { "CellStyles": {
"1,0": 0, "1,0": 0,
"3,0": 1 "1,1": 1,
"1,2": 2,
"3,0": 3,
"3,2": 3
}, },
"RowStyles": { "RowStyles": {
"1": 2 "1": 4
}, },
"SheetStyle": { "SheetStyle": {
"FontFamily": 2 "FontFamily": 0
} }
}, },
"Spans": [
"3,0,1,3"
],
"PageInfo": { "PageInfo": {
"$type": "Forguncy.Model.Pages.UserControlPage, ServerDesignerCommon", "$type": "Forguncy.Model.Pages.UserControlPage, ServerDesignerCommon",
"PropertyDefinitions": [ "PropertyDefinitions": [
@@ -252,4 +329,4 @@
"PaperSize": {}, "PaperSize": {},
"Margin": {} "Margin": {}
} }
}//YiAwBCpZjuAC9aTNFYDlbPwieS/lR4OXc5widYOiMQjHfzsDqzo9B3qaMvg6DZx8f7OF97v6fuU8RfVbUYNi4XZectZOkdQWyjGcfbFWtvxN4ZnNxVIxdDoUbgX1vpGWCZ1u/DiLtm+7CRXejquVVFLi12JbSQWe/p8Xque2/F0CnvnfbXrAkl4H+aEu29PXSarOuzFP89M8Ww3hn2AnWuvGOR+I9TPqcLRhA5JaZYE9SNcZeDDedOp90RIgU93qjOR4HVoH2WU/Lymkbvw6PfYoS16LBDOCRR8cwH1VyfkjhYnyUVOiqEhDg0cwi2YkD7NT07TzX+Fx/kAn1V0VOUGkSPsVFKJAz06YiFyJOCC3Veo35E151bQ0jCvJAURDhxJmBdMTfIBTeGHDzr1UL4yV5ojlLng3LYE9RSJqQMfSqzfMYx9Q+oI7FhQSdnZ/AszXUa5L25lClonvwKoYYqBKJ3OCkTwQMdZEWiux+ikxNS5tCbwBsXUCYUBwJI6TIO9crT+ymRkdA0kwQLa0QwUecqVbZkrueVEnWU02ZBDh4dKkkO32vjTz0xUzv6KNIYU5sKGkBd9TEjbwZMKxsVuUSBl/EMYLg9MUgbMNtq+QFO5GdE/CS5tWOKFT6ms1hTa8UvHcK77nHV5ZvPWoE4+vs3ETChOgxciC7fcFErIsKoLz7Cyo144Y43eLVIV8outUV80mJOu1A8C8jq/mWPHi2FgG9sutu7bWZGL99Lsys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7ljmUXITJ/g4l544Q==|920

View File

@@ -1,5 +1,5 @@
{ {
"PageType": 3, "PageType": 3,
"ColumnCount": 1, "ColumnCount": 3,
"RowCount": 4 "RowCount": 4
} }

View File

@@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1718888762841" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3886" xmlns:xlink="http://www.w3.org/1999/xlink" width="16" height="16"><path d="M291.328 790.784c-32.512 0-64-6.144-93.952-18.176-96.256-38.656-158.464-130.56-158.464-234.496 0-139.264 113.152-252.416 252.416-252.416 12.288 0 24.576 0.768 36.608 2.56 16.896 2.56 28.416 17.92 26.112 34.816-2.56 16.896-17.92 28.416-34.816 26.112-9.216-1.28-18.432-2.048-27.648-2.048-105.472 0-190.976 85.76-190.976 190.976 0 78.592 47.104 148.224 120.064 177.408 22.528 8.96 46.592 13.568 71.168 13.568 16.896 0 30.72 13.824 30.72 30.72s-14.336 30.976-31.232 30.976z" fill="#040000" p-id="3887"></path><path d="M827.136 412.416c-1.28 0-2.56 0-3.84-0.256-16.896-2.048-28.672-17.664-26.624-34.304 1.28-9.216 1.792-18.688 1.792-27.904 0-7.68-0.512-15.616-1.28-23.296-11.776-110.336-104.448-193.792-215.808-193.792-96 0-181.76 64.256-208.384 156.416-3.072 10.752-5.376 22.016-6.912 33.28-2.048 16.896-17.408 28.672-34.304 26.624-16.896-2.048-28.672-17.408-26.624-34.304 1.792-14.592 4.864-28.928 8.704-42.752 16.384-56.832 51.456-108.032 98.816-143.872 48.896-37.12 107.264-56.832 168.704-56.832 142.848 0 261.888 107.008 276.736 248.576 1.024 9.728 1.536 19.712 1.536 29.696 0 12.032-0.768 24.064-2.304 35.84-1.792 15.616-15.104 26.88-30.208 26.88z" fill="#040000" p-id="3888"></path><path d="M761.856 798.976c-16.896 0-30.72-13.824-30.72-30.72s13.824-30.72 30.72-30.72c92.928 0 168.448-75.52 168.448-168.448 0-71.68-45.312-135.424-112.896-158.976-16.128-5.632-24.576-23.04-18.944-39.168 5.632-16.128 23.04-24.576 39.168-18.944 92.16 32.256 154.112 119.552 154.112 217.088 0 126.976-103.168 229.888-229.888 229.888zM529.92 962.56c-8.96 0-17.664-4.096-23.296-10.752l-140.288-164.352c-11.008-12.8-9.472-32.256 3.328-43.264 12.8-11.008 32.256-9.472 43.264 3.328l117.248 137.216 119.552-137.472c11.264-12.8 30.464-14.08 43.264-3.072s14.08 30.464 3.072 43.264l-142.848 164.352c-5.888 6.912-14.336 10.752-23.296 10.752z" fill="#040000" p-id="3889"></path><path d="M529.92 948.224c-16.896 0-30.72-13.824-30.72-30.72V509.952c0-16.896 13.824-30.72 30.72-30.72s30.72 13.824 30.72 30.72v407.552c0 16.896-13.568 30.72-30.72 30.72z" fill="#040000" p-id="3890"></path></svg>

After

Width:  |  Height:  |  Size: 2.3 KiB