{ "Name": "仓库新增事件", "Enabled": true, "Triggers": [ { "$type": "Forguncy.SaveLoad.EndDBInsertTriggerSaveData, ServerDesignerCommon", "DataParamName": "变更数据", "TableNameParamName": "数据表名", "PrimaryKeyParamName": "主键", "OperatorParamName": "操作人", "OperationTimeParamName": "操作时间", "SelectTables": [ "Git仓库表" ] } ], "Commands": [ { "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", "ParameterName": "仓库", "TableValue": { "TableName": "Git仓库表", "TableValueType": 1, "BindingInfos": [ { "GUID": "3b46b4ca-f9d8-42ff-b3b8-3f16ac77bf85", "BindingInfo": { "TableName": "Git仓库表", "ColumnName": "仓库ID", "GUID": "4df73fd8-6f4a-4494-a420-438f7ac6cae8" }, "ColumnName": "仓库ID" } ], "SqlCondition": { "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", "ColumnBindingInfo": { "TableName": "Git仓库表", "ColumnName": "ID", "GUID": "756ffb58-1344-4902-8def-9c021e71204a" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=主键.ID" } }, "NullFormulaValueQueryPolicy": 0, "TopCount": "1" }, "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", "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.ReturnCommand, ServerDesignerCommon", "ErrorCode": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=code" }, "Message": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=msg" } } ], "ID": "fbadb806-86bb-4f7d-a9e7-0d8ba7e4920a" }, { "CommandList": [ { "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", "ErrorCode": "400", "Message": "仓库不存在" } ], "ID": "3a56322c-80d1-4849-86bc-2ffabc460149" } ] } ] }