{ "Name": "任务表更新事件", "Enabled": true, "Triggers": [ { "$type": "Forguncy.SaveLoad.EndDBUpdateTriggerSaveData, ServerDesignerCommon", "DataParamName": "变更数据", "TableNameParamName": "数据表名", "PrimaryKeyParamName": "主键", "OperatorParamName": "操作人", "OperationTimeParamName": "操作时间", "SelectTables": [ "任务表" ] } ], "Commands": [ { "$type": "CollectionOperationKit.ServerSideArrayQuery, CollectionOperationKit", "InParamater": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=变更数据" }, "Operation": 1, "OperationParamaterPairs": [ { "Name": "ColumnName", "Value": "任务负责人" } ], "OutParamaterName": "任务负责人列" }, { "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", "ConditionAndCommandPairList": [ { "Condition": { "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", "param": { "$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon", "ParamObject": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=任务负责人列" } }, "value": "%Null%", "compareType": 1 }, "CommandList": [ { "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", "ConditionAndCommandPairList": [ { "Condition": { "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", "param": { "$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon", "ParamObject": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=任务负责人列.OldValue" } }, "value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=任务负责人列.NewValue" }, "compareType": 1 }, "CommandList": [ { "$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon", "ServerCommandName": "初始化填充任务数据", "Parameters": [ { "$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon", "ParamName": "ID", "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=主键.ID" } } ], "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" } } ], "ID": "cbfaf714-5c0b-4c99-93ec-45a6a09ae78a" }, { "CommandList": [ { "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", "ErrorCode": "0", "Message": "负责人无变更,忽略" } ], "ID": "84c1b545-9cb0-44d9-8307-06d78288f848" } ] } ], "ID": "7f59f804-a89e-430f-9e20-4fd1c49c4323" } ] } ] }