{ "$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.PostRequestTriggerSaveData, ServerDesignerCommon", "Permission": { "$type": "Forguncy.SaveLoad.ServerCommandPermissionSaveData, ServerDesignerCommon", "PermissionData": { "$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionData, Forguncy.RbacPermission.Core", "permissionResource": { "$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionResource, Forguncy.RbacPermission.Core" }, "permissionBindings": { "$type": "System.Collections.Generic.List`1[[Forguncy.RbacPermission.Core.Impl.ServerCommand.IServerCommandPermissionBinding, Forguncy.RbacPermission.Core]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionBinding, Forguncy.RbacPermission.Core", "roleNames": { "$type": "System.Collections.Generic.List`1[[System.String, System.Private.CoreLib]], System.Private.CoreLib", "$values": [ "FGC_LoginUser" ] } } ] } } }, "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 } }, { "$type": "Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon", "Name": "成员", "DataValidationInfo": { "$type": "Forguncy.SaveLoad.DataValidationInfoSaveData, ServerDesignerCommon", "IgnoreBlank": false } } ] } } ] }, "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": "任务表", "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": "59bc666d-cb90-40c3-a4cc-8900d077e996", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "任务表", "ColumnName": "项目ID", "GUID": "714cdef2-9e30-4b83-bc44-cdf05bfc0d4a" }, "ColumnName": "项目ID" }, { "$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon", "GUID": "7442c726-2cbd-48dc-916a-f769c588a969", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "任务表", "ColumnName": "任务名称", "GUID": "3f0b4dd4-e242-4828-8081-4d62b7c5335a" }, "ColumnName": "任务名称" } ] }, "SqlCondition": { "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", "ColumnBindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "任务表", "ColumnName": "ID", "GUID": "ca93195f-5067-4300-9261-0fca3124f7e3" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=任务ID" } }, "NullFormulaValueQueryPolicy": 0, "TopCount": "1" }, "ID": "4a5265912a2140848b761f6c9fc9c4ee", "BreakpointIdentity": "b64cf09a-58c8-4744-8202-eac3f0df26d5" }, { "$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": "f0106c58-c558-4498-9a60-b79d21c0376d", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "用户信息视图", "ColumnName": "全名", "GUID": "0cc525a1-5db8-45ec-ac91-daca881ccfca" }, "ColumnName": "全名" } ] }, "SqlCondition": { "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", "ColumnBindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "用户信息视图", "ColumnName": "用户名", "GUID": "322806e3-02e9-4412-8496-e0283909c1bb" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=成员" } }, "NullFormulaValueQueryPolicy": 0, "TopCount": "1" }, "ID": "aac7cee2035a463eb7dd7563fe2be4bd", "BreakpointIdentity": "27b8af9a-3ef1-43aa-8036-d8a2de87ccf4" }, { "$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.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.Commands.SetParameterCommand, ServerDesignerCommon", "ParameterName": "是否存在", "TableValue": { "$type": "Forguncy.Model.Commands.ParameterTableValue, ServerDesignerCommon", "TableName": "任务成员表", "TableValueType": 3, "SqlCondition": { "$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess", "SubConditions": { "$type": "System.Collections.Generic.List`1[[ForguncyDataAccess.ISqlCondition, ForguncyDataAccess]], System.Private.CoreLib", "$values": [ { "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", "ColumnBindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "任务成员表", "ColumnName": "任务ID", "GUID": "1a1f5104-7859-40d2-87f5-a2186e3e52ee" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=任务ID" } }, { "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", "ColumnBindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "任务成员表", "ColumnName": "任务成员", "GUID": "34063411-20d4-45bc-9c25-291a024600ae" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=成员" } } ] } }, "NullFormulaValueQueryPolicy": 0 }, "ID": "2b1a963daa5a49dcaaa0873a16a34b5c", "BreakpointIdentity": "d0e9eee0-a562-4ebc-a908-78d4c33dd22b" }, { "$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.ServerTransactionCommand, ServerDesignerCommon", "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": "项目ID", "GUID": "01980cf4-cd0a-48cd-bc32-ef60b7eab7ab" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=任务.项目ID" } }, { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "任务成员表", "ColumnName": "任务ID", "GUID": "5e12b37a-d9e7-45c0-9e00-1dd490329ed3" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=任务ID" } }, { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "任务成员表", "ColumnName": "任务成员", "GUID": "f0e12ca7-5752-4271-95a8-2aa7f1b2c3e0" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=成员" } } ] }, "BreakpointIdentity": "5043df10-4c71-4797-b8d4-5d54674beb85" }, { "$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": "项目ID", "GUID": "96b8c11e-71ef-45fc-a07b-bce1b3093f23" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=任务.项目ID" } }, { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "项目动态", "ColumnName": "项目动态", "GUID": "f7e8127b-104d-4511-b7e9-fcfbe4f67a95" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=\"任务[\"&任务.任务名称&\"]将\"&用户.全名&\"加入到参与人\"" } }, { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "项目动态", "ColumnName": "执行人", "GUID": "6f036e09-798e-4b59-8039-7152f2538ca8" }, "Value": "%CurrentUser%" }, { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "项目动态", "ColumnName": "类型", "GUID": "e2b7cb52-8f99-40ee-8e2a-53dd5f9edf8d" }, "Value": "2" } ] }, "BreakpointIdentity": "7d0189fb-90a8-42a1-846a-18ad26b5137a" } ] }, "BreakpointIdentity": "a9d0fd02-35d0-471e-9bc5-af1d53df5b59" }, { "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", "ErrorCode": "0", "Message": "新增成功", "BreakpointIdentity": "096c9f86-ca98-4ddd-8bad-1ee5aa4d5476" } ] }, "ID": "e3717347-a995-406e-8f4d-c94dbf9c8af3" }, { "$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": "0", "Message": "新增成功", "BreakpointIdentity": "cf3acf64-621b-4e6a-89da-efe442b17080" } ] }, "ID": "195b8636-3a91-45be-8fb9-4248c4884536" } ] }, "BreakpointIdentity": "69c17f93-600a-4cf1-b4b2-1d6f0250d453" } ] }, "ID": "befcef8f-b6ee-44cf-b61c-af981b8fab80" }, { "$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": "d68726c6-fc0d-4df9-a11d-46c5005ae8f4" } ] }, "ID": "b909a043-784a-45be-a93c-4aaeb74f203b" } ] }, "BreakpointIdentity": "19acef39-4848-4a3a-a0a9-d60d2ee12209" } ] }, "ID": "d5a13741-b476-493c-b43b-3051aeb00eca" }, { "$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": "056e98cd-d8d4-4b8c-a674-316a03680b7a" } ] }, "ID": "cf632b98-0b7c-4a6d-8ba0-06bae17e57f8" } ] }, "BreakpointIdentity": "0da2f748-25ef-4386-81d3-76d55a2e435f" } ] } }