{ "Name": "同步仓库的所有提交", "Enabled": true, "Triggers": [ { "$type": "Forguncy.SaveLoad.InvokeTriggerSaveData, ServerDesignerCommon", "Parameters": [ { "Name": "仓库ID", "DataValidationInfo": { "IgnoreBlank": false }, "TestData": "33487312" }, { "Name": "分支名", "DataValidationInfo": {} } ], "InvokeTriggerTestData": { "UserName": "Administrator", "RequestTimeout": 300 } } ], "Commands": [ { "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", "ParameterName": "仓库", "TableValue": { "TableName": "Git仓库表", "TableValueType": 1, "BindingInfos": [ { "GUID": "26dcb396-9bee-4eb2-b246-3834594ad3b5", "BindingInfo": { "TableName": "Git仓库表", "ColumnName": "空间路径名", "GUID": "303470ed-af95-4a8a-a4e2-78e6a04e8f4a" }, "ColumnName": "空间路径名" }, { "GUID": "bc4d7471-ba59-46ff-aee3-7d82e2e8e167", "BindingInfo": { "TableName": "Git仓库表", "ColumnName": "仓库路径名", "GUID": "11780eee-0063-4da7-8149-a3ee91c46750" }, "ColumnName": "仓库路径名" }, { "GUID": "56048e33-c0ee-4b6d-ad8c-c9a88f7b7f36", "BindingInfo": { "TableName": "Git仓库表", "ColumnName": "仓库名称", "GUID": "1801c9d6-dbe4-4071-8be0-8e647932db97" }, "ColumnName": "仓库名称" }, { "GUID": "c4960534-043f-4291-9c95-b8a927d6683b", "BindingInfo": { "TableName": "Git仓库表", "ColumnName": "拉取人员", "GUID": "1e47126d-9b27-4586-9e85-617839459cf1" }, "ColumnName": "拉取人员" }, { "GUID": "3b804b6a-c0ef-4c43-be07-1c1f58cd79ab", "BindingInfo": { "TableName": "Git仓库表", "ColumnName": "最后事件接收日期", "GUID": "08be87e6-b94c-4b73-86cd-03bbaafcdcc9" }, "ColumnName": "最后事件接收日期" } ], "SqlCondition": { "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", "ColumnBindingInfo": { "TableName": "Git仓库表", "ColumnName": "仓库ID", "GUID": "c667efb2-7b6d-44ae-8928-4519c6ebb1b4" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=仓库ID" } }, "NullFormulaValueQueryPolicy": 0, "TopCount": "1" }, "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", "ParameterName": "同步数量", "ParameterValue": "0", "ID": "3559e701107b45919558b9f3a7dcfe0d" }, { "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", "ConditionAndCommandPairList": [ { "Condition": { "$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess", "SubConditions": [ { "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", "param": { "$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon", "ParamObject": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=仓库" } }, "value": "%Null%", "compareType": 1 }, { "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", "param": { "$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon", "ParamObject": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=仓库.拉取人员" } }, "value": "%Null%", "compareType": 1 } ] }, "CommandList": [ { "$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon", "ServerCommandName": "请求令牌", "Parameters": [ { "$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon", "ParamName": "用户名", "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=仓库.拉取人员" } }, { "$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon", "ParamName": "强制刷新", "Value": "0" } ], "ResultErrorCodeTo": { "SerializeProperty": "code" }, "ResultMessageTo": { "SerializeProperty": "msg" }, "ReturnPropertiesTo": [ { "ResultPropertyName": "最新令牌", "ResultTo": { "SerializeProperty": "ACCESS_TOKEN" } } ], "RefreshAfterFinish": true, "CheckDataValidation": true }, { "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", "ConditionAndCommandPairList": [ { "Condition": { "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", "param": { "$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon", "ParamObject": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=code" } }, "value": "0" }, "CommandList": [ { "$type": "Forguncy.Model.ServerTransactionCommand, ServerDesignerCommon", "CommandList": [ { "$type": "Forguncy.Model.LoopCommand, ServerDesignerCommon", "LoopInfo": { "$type": "Forguncy.Model.CountLoopInfo, ServerDesignerCommon", "LoopCount": "100", "LoopIndexParamName": "循环次数", "LoopItemParamName": "当前循环" }, "CommandList": [ { "$type": "Forguncy.Model.CatchExceptionCommand, ServerDesignerCommon", "TryCommandPart": { "CommandList": [ { "$type": "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": "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": "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", "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": "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" } ] }, { "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", "ConditionAndCommandPairList": [ { "Condition": { "$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess", "SubConditions": [ { "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", "param": { "$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon", "ParamObject": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=result" } }, "value": "%Null%" }, { "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", "param": { "$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon", "ParamObject": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=result.Count" } }, "value": "0" } ], "RelationType": 1 }, "CommandList": [ { "$type": "Forguncy.Model.EndLoopCommand, ServerDesignerCommon", "WithinLoop": true } ], "ID": "cec24241-daa8-42d7-af64-5dfaea9cb153" }, { "CommandList": [ { "$type": "Forguncy.Model.LoopCommand, ServerDesignerCommon", "LoopInfo": { "$type": "Forguncy.Model.CountLoopInfo, ServerDesignerCommon", "LoopCount": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=result" }, "LoopItemParamName": "Item" }, "CommandList": [ { "$type": "SaveFormData.fillInJSONProperties, SaveFormData", "FullJsonString": "{\r\n \"sha\": \"\",\r\n \"html_url\": \"\",\r\n \"commit\": \"\",\r\n \"committer\": \"\",\r\n \"author\": \"\"\r\n}", "SourceJson": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=Item" }, "ResultTo": "完整ITEM" }, { "$type": "Forguncy.Model.CatchExceptionCommand, ServerDesignerCommon", "TryCommandPart": { "CommandList": [ { "$type": "JsonUtilityCommand.JsonDeserializeCommand, JsonUtilityCommand", "JsonString": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=完整ITEM.commit.message" }, "SampleJson": "{\r\n \"Message\": \"签出模块 : 项目反馈\",\r\n \"MessageType\": 1,\r\n \"Modules\": [],\r\n \"Version\": \"v1\"\r\n}", "ToParameter": "message" }, { "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", "ConditionAndCommandPairList": [ { "Condition": { "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", "param": { "$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon", "ParamObject": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=message.MessageType" } }, "value": "2" }, "CommandList": [ { "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", "ParameterName": "是否存在", "TableValue": { "TableName": "Git_事件记录", "TableValueType": 3, "SqlCondition": { "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", "ColumnBindingInfo": { "TableName": "Git_事件记录", "ColumnName": "sha", "GUID": "498d425b-39c3-4495-bd17-9282b73c4cb9" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=完整ITEM.sha" } }, "NullFormulaValueQueryPolicy": 0 }, "ID": "45e81d40576547d38f566575cc1945dd" }, { "$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.ConditionCommand, ServerDesignerCommon", "ConditionAndCommandPairList": [ { "Condition": { "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", "param": { "$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon", "ParamObject": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=完整ITEM.committer" } }, "value": "%Null%", "compareType": 1 }, "CommandList": [ { "$type": "GETPOST.正则类.正则_校验, GETPOST", "JieShouMsg": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=message.Message" }, "JieShouMsg2": "^(.{0,3}|[^\\u4e00-\\u9fa5]*)$", "FanHuiMsg": "内容有效性" }, { "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", "ParameterName": "内容得分", "ParameterValue": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=IF(内容有效性,0,LEN(message.Message))" }, "ID": "7a32695f6ce542e8968e8cb1ded1a232" }, { "$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": "=IF(内容有效性,1,0)" } }, "value": "0" }, "CommandList": [ { "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", "ParameterName": "同步数量", "ParameterValue": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=同步数量+1" }, "ID": "d762787be83f4411a14dee04cf70b9c2" }, { "$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon", "TableName": "Git_事件记录", "UpdateType": "add", "ShowConfirm": false, "UpdateBindingValues": [ { "BindingInfo": { "TableName": "Git_事件记录", "ColumnName": "仓库ID", "GUID": "594da392-5262-488b-b37e-68fdf5e514b3" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=仓库ID" } }, { "BindingInfo": { "TableName": "Git_事件记录", "ColumnName": "事件名称", "GUID": "41618106-9e21-456a-9875-4649ebb408bc" }, "Value": "签入工程" }, { "BindingInfo": { "TableName": "Git_事件记录", "ColumnName": "空间路径", "GUID": "e921ed18-b673-47c2-89c2-785c4725ca26" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=仓库.空间路径名" } }, { "BindingInfo": { "TableName": "Git_事件记录", "ColumnName": "仓库名称", "GUID": "39b9d260-b60e-41a3-8424-0ac99911017c" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=仓库.仓库名称" } }, { "BindingInfo": { "TableName": "Git_事件记录", "ColumnName": "仓库路径", "GUID": "ac9aad97-ead2-46e0-a282-90a0168d25e0" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=仓库.仓库路径名" } }, { "BindingInfo": { "TableName": "Git_事件记录", "ColumnName": "提交人", "GUID": "2dd1bf4c-2c17-48db-b0ac-71c70635f470" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=完整ITEM.committer.name" } }, { "BindingInfo": { "TableName": "Git_事件记录", "ColumnName": "事件内容", "GUID": "585a581c-42dd-4835-9580-6a98aa500b54" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=message.Message" } }, { "BindingInfo": { "TableName": "Git_事件记录", "ColumnName": "url", "GUID": "a7c5243a-56f6-464a-9097-52abfda3e6f3" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=完整ITEM.html_url" } }, { "BindingInfo": { "TableName": "Git_事件记录", "ColumnName": "git用户名", "GUID": "b3e54524-2ea2-4459-85c5-4be18bc596e4" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=完整ITEM.committer.login" } }, { "BindingInfo": { "TableName": "Git_事件记录", "ColumnName": "日期", "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": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "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": "0169d7b8-263c-4d6b-be31-13e9b8e20352" } ] } ], "ID": "65c8f997-087a-4a07-ab2a-8097ba951df4" } ] } ], "ID": "89fb0092-ce79-4e7e-a228-7081b723f9ea" } ] } ] } } ] } ], "ID": "7d08bff3-0eff-4c33-b8a0-6f139b71962d" } ] } ] }, "CatchCommandPart": { "CommandList": [ { "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", "ErrorCode": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=ExceptionCode" }, "Message": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=ExceptionMessage" } } ] } } ] } ] }, { "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", "ErrorCode": "0", "Message": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=\"已为您成功同步\"&同步数量&\"条记录\"" } } ], "ID": "acd9b6f2-60bf-451d-8c17-60e648a75591" }, { "CommandList": [ { "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", "ErrorCode": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=code" }, "Message": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=msg" } } ], "ID": "b4f85c9d-9056-401d-a919-b4b595d104e2" } ] } ], "ID": "0d2baa8a-777e-432c-89a5-f96500ef503f" }, { "CommandList": [ { "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", "ErrorCode": "400", "Message": "仓库不存在或尚未设置拉取人员" } ], "ID": "c5620ff3-c761-4d11-a269-008c233d4195" } ] } ] }