{ "$type": "Forguncy.SaveLoad.ServerCommandSaveData, ServerDesignerCommon", "Name": "同步仓库的所有提交", "Enabled": true, "Triggers": { "$type": "System.Collections.Generic.List`1[[Forguncy.SaveLoad.TriggerSaveDataBase, ServerDesignerCommon]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.SaveLoad.InvokeTriggerSaveData, ServerDesignerCommon", "Parameters": { "$type": "System.Collections.Generic.List`1[[Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon", "Name": "仓库ID", "DataValidationInfo": { "$type": "Forguncy.SaveLoad.DataValidationInfoSaveData, ServerDesignerCommon", "IgnoreBlank": false }, "TestData": "33487312" }, { "$type": "Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon", "Name": "分支名", "DataValidationInfo": { "$type": "Forguncy.SaveLoad.DataValidationInfoSaveData, ServerDesignerCommon" } } ] }, "InvokeTriggerTestData": { "$type": "Forguncy.SaveLoad.InvokeTriggerTestDataSaveData, ServerDesignerCommon", "UserName": "Administrator", "RequestTimeout": 300 } } ] }, "Commands": { "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", "ParameterName": "仓库", "TableValue": { "$type": "Forguncy.Model.Commands.ParameterTableValue, ServerDesignerCommon", "TableName": "Git仓库表", "TableValueType": 1, "BindingInfos": { "$type": "System.Collections.Generic.List`1[[Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon", "GUID": "72e6f987-a16e-49d8-902d-b52f2c8e9c55", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "Git仓库表", "ColumnName": "空间路径名", "GUID": "303470ed-af95-4a8a-a4e2-78e6a04e8f4a" }, "ColumnName": "空间路径名" }, { "$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon", "GUID": "944f5c7a-ea55-4624-b508-2343763d042b", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "Git仓库表", "ColumnName": "仓库路径名", "GUID": "11780eee-0063-4da7-8149-a3ee91c46750" }, "ColumnName": "仓库路径名" }, { "$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon", "GUID": "a9f47968-a581-4c06-a2db-8da8092f1e34", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "Git仓库表", "ColumnName": "仓库名称", "GUID": "1801c9d6-dbe4-4071-8be0-8e647932db97" }, "ColumnName": "仓库名称" }, { "$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon", "GUID": "a23ec553-78ab-4de6-b3ef-827e8ae2f679", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "Git仓库表", "ColumnName": "拉取人员", "GUID": "1e47126d-9b27-4586-9e85-617839459cf1" }, "ColumnName": "拉取人员" }, { "$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon", "GUID": "6d3a8597-ea67-4140-ba4e-332fe0246f3f", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "Git仓库表", "ColumnName": "最后事件接收日期", "GUID": "08be87e6-b94c-4b73-86cd-03bbaafcdcc9" }, "ColumnName": "最后事件接收日期" } ] }, "SqlCondition": { "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", "ColumnBindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "Git仓库表", "ColumnName": "仓库ID", "GUID": "c667efb2-7b6d-44ae-8928-4519c6ebb1b4" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=仓库ID" } }, "NullFormulaValueQueryPolicy": 0, "TopCount": "1" }, "ID": "e51c46b625b242ed912681d4e8525c3e", "BreakpointIdentity": "088de897-a6a4-4c04-a12b-a118380b67d6" }, { "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", "ParameterName": "同步起始日期", "ParameterValue": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=IF(仓库.最后事件接收日期=\"\",\"\",TEXT(仓库.最后事件接收日期,\"yyyy-mm-dd hh:mm:ss\"))" }, "ID": "799b0ab715814e4c948275f8c45aeecb", "BreakpointIdentity": "3e9f0b8f-6393-4da2-b24e-f0b7f6360309" }, { "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", "ParameterName": "同步数量", "ParameterValue": "0", "ID": "3559e701107b45919558b9f3a7dcfe0d", "BreakpointIdentity": "63aa63e2-252b-4e6f-babc-03189377d5b0" }, { "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", "ConditionAndCommandPairList": { "$type": "System.Collections.Generic.List`1[[Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon", "Condition": { "$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess", "SubConditions": { "$type": "System.Collections.Generic.List`1[[ForguncyDataAccess.ISqlCondition, ForguncyDataAccess]], System.Private.CoreLib", "$values": [ { "$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 } ] } }, "CommandList": { "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon", "ServerCommandName": "请求令牌", "Parameters": { "$type": "System.Collections.Generic.List`1[[Forguncy.Model.RequestServerCommandParamBase, ServerDesignerCommon]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon", "ParamName": "用户名", "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=仓库.拉取人员" } }, { "$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon", "ParamName": "强制刷新", "Value": "0" } ] }, "ResultErrorCodeTo": { "$type": "Forguncy.Common.FormulaCellLocation, ServerDesignerCommon", "SerializeProperty": "code" }, "ResultMessageTo": { "$type": "Forguncy.Common.FormulaCellLocation, ServerDesignerCommon", "SerializeProperty": "msg" }, "ReturnPropertiesTo": { "$type": "System.Collections.Generic.List`1[[Forguncy.Model.ReturnPropertyTo, ServerDesignerCommon]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.ReturnPropertyTo, ServerDesignerCommon", "ResultPropertyName": "最新令牌", "ResultTo": { "$type": "Forguncy.Common.FormulaCellLocation, ServerDesignerCommon", "SerializeProperty": "ACCESS_TOKEN" } } ] }, "RefreshAfterFinish": true, "CheckDataValidation": true, "BreakpointIdentity": "55bcedfc-7f1d-4478-b525-96ed8ab0a201" }, { "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", "ConditionAndCommandPairList": { "$type": "System.Collections.Generic.List`1[[Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon", "Condition": { "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", "param": { "$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon", "ParamObject": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=code" } }, "value": "0" }, "CommandList": { "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.ServerTransactionCommand, ServerDesignerCommon", "CommandList": { "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.LoopCommand, ServerDesignerCommon", "LoopInfo": { "$type": "Forguncy.Model.CountLoopInfo, ServerDesignerCommon", "LoopCount": "100", "LoopIndexParamName": "循环次数", "LoopItemParamName": "当前循环" }, "CommandList": { "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.CatchExceptionCommand, ServerDesignerCommon", "TryCommandPart": { "$type": "Forguncy.Model.ExceptionCommandBaseNode, ServerDesignerCommon", "CommandList": { "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", "ConditionAndCommandPairList": { "$type": "System.Collections.Generic.List`1[[Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon", "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": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", "$values": [ { "$type": "PostDataToWebApi.PostDataCommand, PostDataToWebApi", "PostData": { "$type": "PostDataToWebApi.DataItem, PostDataToWebApi", "DataItemType": 1, "Data": { "$type": "PostDataToWebApi.ObjectData, PostDataToWebApi", "Data": { "$type": "System.Collections.Generic.List`1[[PostDataToWebApi.DataItem, PostDataToWebApi]], System.Private.CoreLib", "$values": [ { "$type": "PostDataToWebApi.DataItem, PostDataToWebApi", "Name": "access_token", "DataItemType": 0, "Data": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=ACCESS_TOKEN" } }, { "$type": "PostDataToWebApi.DataItem, PostDataToWebApi", "Name": "author", "DataItemType": 0 }, { "$type": "PostDataToWebApi.DataItem, PostDataToWebApi", "Name": "sha", "DataItemType": 0, "Data": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=分支名" } }, { "$type": "PostDataToWebApi.DataItem, PostDataToWebApi", "Name": "since", "DataItemType": 0, "Data": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=同步起始日期" } }, { "$type": "PostDataToWebApi.DataItem, PostDataToWebApi", "Name": "until", "DataItemType": 0 }, { "$type": "PostDataToWebApi.DataItem, PostDataToWebApi", "Name": "page", "DataItemType": 0, "Data": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=循环次数" } }, { "$type": "PostDataToWebApi.DataItem, PostDataToWebApi", "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": { "$type": "System.Collections.Generic.List`1[[PostDataToWebApi.RequestHeaderSaveAndLoad, PostDataToWebApi]], System.Private.CoreLib", "$values": [] }, "Timeout": 100.0, "BreakpointIdentity": "af2f746f-791d-4b56-a794-688ee6f095b8" } ] }, "ID": "2f3b80e4-feff-4e28-a6a4-7099f888b44a" }, { "$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon", "CommandList": { "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", "$values": [ { "$type": "PostDataToWebApi.PostDataCommand, PostDataToWebApi", "PostData": { "$type": "PostDataToWebApi.DataItem, PostDataToWebApi", "DataItemType": 1, "Data": { "$type": "PostDataToWebApi.ObjectData, PostDataToWebApi", "Data": { "$type": "System.Collections.Generic.List`1[[PostDataToWebApi.DataItem, PostDataToWebApi]], System.Private.CoreLib", "$values": [ { "$type": "PostDataToWebApi.DataItem, PostDataToWebApi", "Name": "access_token", "DataItemType": 0, "Data": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=ACCESS_TOKEN" } }, { "$type": "PostDataToWebApi.DataItem, PostDataToWebApi", "Name": "author", "DataItemType": 0 }, { "$type": "PostDataToWebApi.DataItem, PostDataToWebApi", "Name": "since", "DataItemType": 0, "Data": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=同步起始日期" } }, { "$type": "PostDataToWebApi.DataItem, PostDataToWebApi", "Name": "until", "DataItemType": 0 }, { "$type": "PostDataToWebApi.DataItem, PostDataToWebApi", "Name": "page", "DataItemType": 0, "Data": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=循环次数" } }, { "$type": "PostDataToWebApi.DataItem, PostDataToWebApi", "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": { "$type": "System.Collections.Generic.List`1[[PostDataToWebApi.RequestHeaderSaveAndLoad, PostDataToWebApi]], System.Private.CoreLib", "$values": [] }, "Timeout": 100.0, "BreakpointIdentity": "709ddb14-d129-42ba-a7bf-d552401d2fe7" } ] }, "ID": "8acf24da-883a-461d-9fc1-8c41ba90dfa7" } ] }, "BreakpointIdentity": "a0ccfbf6-7eac-4c95-a457-44b41428434c" }, { "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", "ConditionAndCommandPairList": { "$type": "System.Collections.Generic.List`1[[Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon", "Condition": { "$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess", "SubConditions": { "$type": "System.Collections.Generic.List`1[[ForguncyDataAccess.ISqlCondition, ForguncyDataAccess]], System.Private.CoreLib", "$values": [ { "$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": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.EndLoopCommand, ServerDesignerCommon", "WithinLoop": true, "BreakpointIdentity": "0208c783-2a08-465a-b162-ae82bdc99d58" } ] }, "ID": "5c5063e0-8cc1-4a6d-8fe4-7bcde513ccf7" }, { "$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon", "CommandList": { "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.LoopCommand, ServerDesignerCommon", "LoopInfo": { "$type": "Forguncy.Model.CountLoopInfo, ServerDesignerCommon", "LoopCount": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=result" }, "LoopItemParamName": "Item" }, "CommandList": { "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", "$values": [ { "$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", "BreakpointIdentity": "6be7ad0c-6bbc-4d5e-b4c7-f5da1a9b6231" }, { "$type": "Forguncy.Model.CatchExceptionCommand, ServerDesignerCommon", "TryCommandPart": { "$type": "Forguncy.Model.ExceptionCommandBaseNode, ServerDesignerCommon", "CommandList": { "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", "$values": [ { "$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", "BreakpointIdentity": "b601b334-cbbd-47b0-8e6d-b3ee9704c80f" }, { "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", "ConditionAndCommandPairList": { "$type": "System.Collections.Generic.List`1[[Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon", "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": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", "ParameterName": "是否存在", "TableValue": { "$type": "Forguncy.Model.Commands.ParameterTableValue, ServerDesignerCommon", "TableName": "Git_事件记录", "TableValueType": 3, "SqlCondition": { "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", "ColumnBindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "Git_事件记录", "ColumnName": "sha", "GUID": "498d425b-39c3-4495-bd17-9282b73c4cb9" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=完整ITEM.sha" } }, "NullFormulaValueQueryPolicy": 0 }, "ID": "45e81d40576547d38f566575cc1945dd", "BreakpointIdentity": "ab364e00-0d48-4df1-9527-d742a567e39e" }, { "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", "ConditionAndCommandPairList": { "$type": "System.Collections.Generic.List`1[[Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon", "Condition": { "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", "param": { "$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon", "ParamObject": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=是否存在" } }, "value": "0" }, "CommandList": { "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", "ConditionAndCommandPairList": { "$type": "System.Collections.Generic.List`1[[Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon", "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": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", "$values": [ { "$type": "GETPOST.正则类.正则_校验, GETPOST", "JieShouMsg": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=message.Message" }, "JieShouMsg2": "^(.{0,3}|[^\\u4e00-\\u9fa5]*)$", "FanHuiMsg": "内容有效性", "BreakpointIdentity": "5c27ab66-8052-4072-b28f-ddb79f5a495d" }, { "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", "ParameterName": "内容得分", "ParameterValue": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=IF(内容有效性,0,LEN(message.Message))" }, "ID": "7a32695f6ce542e8968e8cb1ded1a232", "BreakpointIdentity": "d43554c4-d8f7-4f02-9174-93b0ae19b320" }, { "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", "ConditionAndCommandPairList": { "$type": "System.Collections.Generic.List`1[[Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon", "Condition": { "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", "param": { "$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon", "ParamObject": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=IF(内容有效性,1,0)" } }, "value": "0" }, "CommandList": { "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", "ParameterName": "同步数量", "ParameterValue": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=同步数量+1" }, "ID": "d762787be83f4411a14dee04cf70b9c2", "BreakpointIdentity": "f418bcb8-1267-412c-bda2-ed6260ec1f99" }, { "$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon", "TableName": "Git_事件记录", "UpdateType": "add", "ShowConfirm": false, "UpdateBindingValues": { "$type": "System.Collections.Generic.List`1[[Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "Git_事件记录", "ColumnName": "仓库ID", "GUID": "51ebab99-7a17-4aca-8d4b-6270f87a71a4" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=仓库ID" } }, { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "Git_事件记录", "ColumnName": "事件名称", "GUID": "cf66d999-3bca-4fa4-80d9-065bbf2f1941" }, "Value": "签入工程" }, { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "Git_事件记录", "ColumnName": "空间路径", "GUID": "1e44f357-276e-4a46-b187-d67aff496bf5" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=仓库.空间路径名" } }, { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "Git_事件记录", "ColumnName": "仓库名称", "GUID": "a4d9c8fd-44e0-4de9-b354-9247d7919a65" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=仓库.仓库名称" } }, { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "Git_事件记录", "ColumnName": "仓库路径", "GUID": "f0153d48-41f8-433a-a0a2-96b4e3a6ab7e" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=仓库.仓库路径名" } }, { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "Git_事件记录", "ColumnName": "提交人", "GUID": "fe22be95-4772-4783-bcdb-0c296c00656d" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=完整ITEM.committer.name" } }, { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "Git_事件记录", "ColumnName": "事件内容", "GUID": "cdf66e98-5000-4852-b8ca-50066351a507" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=message.Message" } }, { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "Git_事件记录", "ColumnName": "url", "GUID": "6175424d-8fdf-480f-8893-cbb3308444da" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=完整ITEM.html_url" } }, { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "Git_事件记录", "ColumnName": "git用户名", "GUID": "ba687819-e36f-406a-a3ee-668bc36ad0d2" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=完整ITEM.committer.login" } }, { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "Git_事件记录", "ColumnName": "日期", "GUID": "83038dcb-b23c-4480-8a43-bdbf032f2bae" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=完整ITEM.commit.committer.date" } }, { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "Git_事件记录", "ColumnName": "内容得分", "GUID": "f65c404a-4a81-4017-9fea-b1064dd12d71" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=IF(内容得分>100,100,内容得分)" } }, { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "Git_事件记录", "ColumnName": "sha", "GUID": "a6267537-6f46-410c-92eb-13738d20ab27" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=完整ITEM.sha" } } ] }, "BreakpointIdentity": "e7a9ec18-79ca-44e0-a458-b082f9c5045e" } ] }, "ID": "29d870d3-6517-4dd8-9ea8-45524ce5ac70" } ] }, "BreakpointIdentity": "e4a33843-e447-431b-a27d-440b39637d84" }, { "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", "ParameterName": "是否已记录", "TableValue": { "$type": "Forguncy.Model.Commands.ParameterTableValue, ServerDesignerCommon", "TableName": "积分记录表", "TableValueType": 3, "SqlCondition": { "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", "ColumnBindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "积分记录表", "ColumnName": "来源标识", "GUID": "8401e7ac-8d37-46e5-a19d-b3b3e61ddf1c" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=完整ITEM.sha" } }, "NullFormulaValueQueryPolicy": 0 }, "ID": "49e56134f0e24e448f13c8883b62b9c0", "BreakpointIdentity": "24d70512-3113-4842-a4b7-bb0122c1fb6f" }, { "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", "ConditionAndCommandPairList": { "$type": "System.Collections.Generic.List`1[[Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon", "Condition": { "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", "param": { "$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon", "ParamObject": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=是否已记录" } }, "value": "0" }, "CommandList": { "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", "ParameterName": "用户", "TableValue": { "$type": "Forguncy.Model.Commands.ParameterTableValue, ServerDesignerCommon", "TableName": "用户信息视图", "TableValueType": 1, "BindingInfos": { "$type": "System.Collections.Generic.List`1[[Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon", "GUID": "46c7f177-9a96-4ff2-9e27-415c231c6825", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "用户信息视图", "ColumnName": "用户名", "GUID": "311be55b-90c9-417e-b8fb-378024d8f3ce" }, "ColumnName": "用户名" } ] }, "SqlCondition": { "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", "ColumnBindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "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", "BreakpointIdentity": "bf531873-d131-48e8-8450-5c915cdd3d1b" }, { "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", "ConditionAndCommandPairList": { "$type": "System.Collections.Generic.List`1[[Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon", "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": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon", "TableName": "积分记录表", "UpdateType": "add", "ShowConfirm": false, "UpdateBindingValues": { "$type": "System.Collections.Generic.List`1[[Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "积分记录表", "ColumnName": "用户", "GUID": "e29fdc3b-6418-4698-9776-160c4a894683" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=用户.用户名" } }, { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "积分记录表", "ColumnName": "类型", "GUID": "d33260fb-2cbe-4acf-8b29-89e4c0f23585" }, "Value": "GitPush" }, { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "积分记录表", "ColumnName": "分数", "GUID": "11823396-2edd-4194-91a8-d99455f38db0" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=内容得分" } }, { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "积分记录表", "ColumnName": "变动日期", "GUID": "a0a265bf-4685-4440-abe0-282bc503fa43" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=NOW()" } }, { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "积分记录表", "ColumnName": "备注", "GUID": "62f0b1a2-06f5-4543-bf38-13bf0e78ca5c" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=\"用户对Git仓库[\"&仓库.仓库名称&\"]的签入,被系统自动评分。\"&CHAR(10)&\"签入内容:\"&message.Message" } }, { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "积分记录表", "ColumnName": "来源标识", "GUID": "fcb548ea-11d0-4de2-b895-eae7a536461a" }, "Value": "Gitee" } ] }, "BreakpointIdentity": "6023a1ee-415a-4bc7-a62d-533e75e1c110" } ] }, "ID": "bf7fe869-fbd5-47de-ab34-d511bb174cec" } ] }, "BreakpointIdentity": "8ace300a-b172-47bc-803d-78b963f1afaf" } ] }, "ID": "f2c01bcd-1210-4819-b89d-c4bd6132ea79" } ] }, "BreakpointIdentity": "ff2ada44-3faf-4265-9a99-be57dc7ae719" } ] }, "ID": "97b515e9-63f0-4dc8-8eb0-10e062317180" } ] }, "BreakpointIdentity": "fab95158-0b44-4e55-90ab-ce604cc0a6d5" } ] }, "ID": "b7fdc042-0511-425e-b69b-cbd365000f94" } ] }, "BreakpointIdentity": "fbc76c67-4c4d-4f9c-8076-980c0c9493d7" } ] }, "ID": "b50ff65d-85fd-4bdf-8441-e989f4159377" } ] }, "BreakpointIdentity": "96b98abc-6415-430c-af53-c28e82ac9ac5" } ] } }, "BreakpointIdentity": "747e973f-ff29-449f-b29b-a2c84e4f465d" } ] }, "BreakpointIdentity": "7264c956-0408-4c69-a745-ee064697131c" } ] }, "ID": "e82104ab-17b5-4a5a-ae80-096d0dcfaf95" } ] }, "BreakpointIdentity": "c697c356-2b85-4257-8846-5486e0b784f7" } ] } }, "CatchCommandPart": { "$type": "Forguncy.Model.CatchCommandNode, ServerDesignerCommon", "CommandList": { "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", "ErrorCode": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=ExceptionCode" }, "Message": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=ExceptionMessage" }, "BreakpointIdentity": "fa81128f-f4fd-42ac-8ce0-56138c8b152c" } ] } }, "BreakpointIdentity": "4526e6aa-62c5-48be-919b-4ad377cd218d" } ] }, "BreakpointIdentity": "00566ae7-e4dc-430c-a2b9-0bbf2ea85bdb" } ] }, "BreakpointIdentity": "0dc98d4c-9957-49b3-b1dc-a416a6db6ec5" }, { "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", "ErrorCode": "0", "Message": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=\"已为您成功同步\"&同步数量&\"条记录\"" }, "BreakpointIdentity": "2f865061-df8e-4934-99ed-65d8e154bee8" } ] }, "ID": "56be7079-a797-494a-b0f2-63a3b435a4ff" }, { "$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon", "CommandList": { "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", "ErrorCode": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=code" }, "Message": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=msg" }, "BreakpointIdentity": "025bef50-d329-4bc2-b086-580fad1f583a" } ] }, "ID": "f29f31df-5829-4913-b64f-f589e164e350" } ] }, "BreakpointIdentity": "e4dc3b8b-0e14-422e-acd4-5790f3453f48" } ] }, "ID": "2e0abc8d-4f78-49ea-80d7-29e884da6dc1" }, { "$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon", "CommandList": { "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", "ErrorCode": "400", "Message": "仓库不存在或尚未设置拉取人员", "BreakpointIdentity": "a599a1e7-52ad-497f-8ed5-8c153c0324b4" } ] }, "ID": "692fa7fa-f2b2-4443-860a-a6b83216f74c" } ] }, "BreakpointIdentity": "e6630c18-c3b1-43b8-8dd6-255503409c5a" } ] }, "ReturnProperties": { "$type": "System.Collections.Generic.List`1[[Forguncy.SaveLoad.ReturnPropertySaveData, ServerDesignerCommon]], System.Private.CoreLib", "$values": [] } }