{ "$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" ] } } ] } } }, "InvokeTriggerTestData": { "$type": "Forguncy.SaveLoad.InvokeTriggerTestDataSaveData, ServerDesignerCommon", "UserName": "shamus" } } ] }, "Commands": { "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", "ParameterName": "当前用户", "ParameterValue": "%CurrentUser%", "ID": "4eb5f77ee8d942b49f2250f5a307818f", "BreakpointIdentity": "03b3db37-234d-45d8-bbc0-6710114350f8" }, { "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", "ParameterName": "统计项目数量", "TableValue": { "$type": "Forguncy.Model.Commands.ParameterTableValue, ServerDesignerCommon", "TableName": "项目表", "TableValueType": 3 }, "ID": "6bfac421b8ca4a65af942fd84b776099", "BreakpointIdentity": "1b15efe0-cad6-499b-a1f4-745f30bcdbe8" }, { "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", "ParameterName": "统计任务数量", "TableValue": { "$type": "Forguncy.Model.Commands.ParameterTableValue, ServerDesignerCommon", "TableName": "任务表", "TableValueType": 3 }, "ID": "7bc10a72c4d24e82930e82ae03f4c431", "BreakpointIdentity": "1580618d-3922-46ed-85fe-0c0e79ce7d86" }, { "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", "ParameterName": "统计反馈数量", "TableValue": { "$type": "Forguncy.Model.Commands.ParameterTableValue, ServerDesignerCommon", "TableName": "需求反馈登记表", "TableValueType": 3 }, "ID": "0b662b0e818646fcb60f291827ff9127", "BreakpointIdentity": "35904f0b-f3e1-4142-b9bc-2af709e977bb" }, { "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", "ParameterName": "统计总工时", "TableValue": { "$type": "Forguncy.Model.Commands.ParameterTableValue, ServerDesignerCommon", "TableName": "任务工时表", "OnlyGetValue": true, "TableValueType": 0, "BindingInfos": { "$type": "System.Collections.Generic.List`1[[Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon", "GUID": "d0c866cf-b35e-440b-94b9-3217229b6f73", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "任务工时表", "ColumnName": "总工时", "GUID": "548da623-6c11-42e6-bac3-421bf712f184" }, "ColumnName": "总工时" } ] }, "SqlCondition": { "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", "ColumnBindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "任务工时表", "ColumnName": "执行人", "GUID": "f75a81ab-42d8-4ac7-bcd6-5e896dc1b4db" }, "Value": "%CurrentUser.UserName%" }, "NullFormulaValueQueryPolicy": 0 }, "ID": "dfddd4b9741d421b94f3bf809f47d4ad", "BreakpointIdentity": "3b0c4f85-9993-48ea-9ea0-4fe23f529777" }, { "$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": "发起人", "GUID": "6d32cb48-83a0-4345-a83d-d821bdd23b56" }, "Value": "%CurrentUser.DingTalkUnionID%", "LeftBracket": 1 }, { "$type": "ForguncyDataAccess.TextCESqlCondition, ForguncyDataAccess", "CompareType": 6, "ColumnBindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "会议记录表", "ColumnName": "参与人", "GUID": "73e76eee-9ad1-453e-879d-04a466a3afd6" }, "Value": "%CurrentUser.DingTalkUnionID%", "RightBracket": 1 } ] }, "RelationType": 1 }, "NullFormulaValueQueryPolicy": 0 }, "ID": "ae6b92554e6f4d6a928f1102ab941346", "BreakpointIdentity": "10327f3c-f134-4224-941e-f0304de90de2" }, { "$type": "CollectionOperationKit.ServerSideObjectOp, CollectionOperationKit", "OperationParamaterPairs": { "$type": "System.Collections.Generic.List`1[[CollectionOperationKit.PropertyValueObject, CollectionOperationKit]], System.Private.CoreLib", "$values": [ { "$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit", "Name": "项目数量", "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=IF(统计项目数量=\"\",0,统计项目数量)" } }, { "$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit", "Name": "任务数量", "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=IF(统计任务数量=\"\",0,统计任务数量)" } }, { "$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit", "Name": "反馈数量", "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=IF(统计反馈数量=\"\",0,统计反馈数量)" } }, { "$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit", "Name": "总工时", "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=IF(统计总工时=\"\",0,统计总工时)" } }, { "$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit", "Name": "会议中", "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=IF(会议中数量=\"\",0,会议中数量)" } } ] }, "OutParamaterName": "返回对象", "BreakpointIdentity": "6a429578-7cd6-4c80-ae6f-c7c55e44a49c" }, { "$type": "Forguncy.Model.NotificationMessageCommand, ServerDesignerCommon", "NotificationName": "系统信息更新", "SendType": 1, "UserNames": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=当前用户" }, "Params": { "$type": "System.Collections.Generic.List`1[[Forguncy.Model.NotificationMessageParam, ServerDesignerCommon]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.NotificationMessageParam, ServerDesignerCommon", "Name": "KEY", "Value": "工作台关键数据更新" }, { "$type": "Forguncy.Model.NotificationMessageParam, ServerDesignerCommon", "Name": "VALUE", "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=返回对象" } } ] }, "ID": "5391a30209844f778ec5c7b3bae22b91", "BreakpointIdentity": "6ece3a46-b107-48cc-ae26-46a5a5d8aaec" }, { "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", "ErrorCode": "0", "Message": "完成", "BreakpointIdentity": "6f231313-ca8b-44b5-977b-013fb318ac3f" } ] }, "ReturnProperties": { "$type": "System.Collections.Generic.List`1[[Forguncy.SaveLoad.ReturnPropertySaveData, ServerDesignerCommon]], System.Private.CoreLib", "$values": [] } }