Files
clue/ServerCommands/项目/增加项目及任务预算.json

960 lines
70 KiB
JSON

{
"$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
},
"TestData": "11"
},
{
"$type": "Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon",
"Name": "任务ID",
"DataValidationInfo": {
"$type": "Forguncy.SaveLoad.DataValidationInfoSaveData, ServerDesignerCommon"
}
},
{
"$type": "Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon",
"Name": "增加工时预算",
"DataValidationInfo": {
"$type": "Forguncy.SaveLoad.DataValidationInfoSaveData, ServerDesignerCommon",
"NumberType": 2,
"CompareParamType": 6,
"FirstParamValue": "0",
"IgnoreBlank": false
}
},
{
"$type": "Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon",
"Name": "增加成本预算",
"DataValidationInfo": {
"$type": "Forguncy.SaveLoad.DataValidationInfoSaveData, ServerDesignerCommon",
"NumberType": 2,
"CompareParamType": 6,
"FirstParamValue": "0"
}
},
{
"$type": "Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon",
"Name": "操作人",
"DataValidationInfo": {
"$type": "Forguncy.SaveLoad.DataValidationInfoSaveData, ServerDesignerCommon"
}
},
{
"$type": "Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon",
"Name": "变更原因",
"DataValidationInfo": {
"$type": "Forguncy.SaveLoad.DataValidationInfoSaveData, ServerDesignerCommon"
}
},
{
"$type": "Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon",
"Name": "开始时间",
"DataValidationInfo": {
"$type": "Forguncy.SaveLoad.DataValidationInfoSaveData, ServerDesignerCommon"
}
},
{
"$type": "Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon",
"Name": "结束时间",
"DataValidationInfo": {
"$type": "Forguncy.SaveLoad.DataValidationInfoSaveData, ServerDesignerCommon"
}
}
]
},
"InvokeTriggerTestData": {
"$type": "Forguncy.SaveLoad.InvokeTriggerTestDataSaveData, ServerDesignerCommon",
"UserName": "Administrator"
}
}
]
},
"Commands": {
"$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib",
"$values": [
{
"$type": "Forguncy.Model.CatchExceptionCommand, ServerDesignerCommon",
"TryCommandPart": {
"$type": "Forguncy.Model.ExceptionCommandBaseNode, ServerDesignerCommon",
"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": 1,
"BindingInfos": {
"$type": "System.Collections.Generic.List`1[[Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon]], System.Private.CoreLib",
"$values": [
{
"$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon",
"GUID": "773b32aa-d378-4e19-a0f8-0721718d867e",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "项目表",
"ColumnName": "工时分配方式",
"GUID": "06e11426-3977-45d3-a00d-6215d0014a93"
},
"ColumnName": "工时分配方式"
},
{
"$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon",
"GUID": "5a6696c9-8233-4279-b68a-79a024a0feab",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "项目表",
"ColumnName": "严格模式",
"GUID": "573bad08-6a1c-42f9-89ba-bde70efc7029"
},
"ColumnName": "严格模式"
},
{
"$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon",
"GUID": "b70023a2-61ee-471c-a169-81ee0edd7494",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "项目表",
"ColumnName": "项目预算工时",
"GUID": "b1c82bd0-38d6-4a1b-be4a-3e29b2d11bb6"
},
"ColumnName": "项目预算工时"
},
{
"$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon",
"GUID": "3bb683c5-de4b-45c1-84c3-c0a1b006baee",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "项目表",
"ColumnName": "项目预算费用",
"GUID": "65dc0c37-2546-4d28-9721-66332c472823"
},
"ColumnName": "项目预算费用"
}
]
},
"SqlCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "项目表",
"ColumnName": "ID",
"GUID": "2bbe9bb9-69a1-4320-a435-b262e42f72c0"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目ID"
}
},
"NullFormulaValueQueryPolicy": 0,
"TopCount": "1"
},
"ID": "7c05692afabb4164be40f5ac2554e5aa",
"BreakpointIdentity": "28c4458f-7909-4347-8b7b-1c5a822307f2"
},
{
"$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": "4",
"compareType": 1
},
"CommandList": {
"$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib",
"$values": [
{
"$type": "Forguncy.Model.ServerTransactionCommand, ServerDesignerCommon",
"IsolationLevel": 4096,
"CommandList": {
"$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib",
"$values": [
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "项目表",
"ShowConfirm": false,
"RowsToUpdate": 1,
"RowsToUpdateCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "项目表",
"ColumnName": "ID",
"GUID": "adbe5b16-3f69-4266-b8a8-9fd6d3df05d4"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目ID"
}
},
"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": "项目预算工时",
"GUID": "7ff66895-3a30-4247-85e9-0a556907956e"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目信息.项目预算工时+增加工时预算"
}
},
{
"$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "项目表",
"ColumnName": "项目预算费用",
"GUID": "b042ac8a-00a2-40ff-9a47-aea19f59e8b2"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目信息.项目预算费用+增加成本预算"
}
}
]
},
"BreakpointIdentity": "ab55dd06-35a6-440b-a3ff-e97a0fa7e65a"
},
{
"$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": "4e4ed78d-d397-4c6e-80ee-1685bfbee0a1"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目ID"
}
},
{
"$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "项目动态",
"ColumnName": "项目动态",
"GUID": "f0790f3b-a62a-404d-aef9-faf3d2dc1e72"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=变更原因"
}
},
{
"$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "项目动态",
"ColumnName": "执行人",
"GUID": "3624b8b7-451f-486d-87a7-d03fcf5103d0"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=操作人"
}
},
{
"$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "项目动态",
"ColumnName": "类型",
"GUID": "1fb664ea-9587-4c52-b242-d9f82955c1fb"
},
"Value": "5"
}
]
},
"BreakpointIdentity": "00809186-bdc5-45ea-a224-10a9a912e547"
},
{
"$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": "=任务ID"
}
},
"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": 1,
"BindingInfos": {
"$type": "System.Collections.Generic.List`1[[Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon]], System.Private.CoreLib",
"$values": [
{
"$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon",
"GUID": "f6e39f25-0b72-443c-b46c-515c4ed70930",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "任务表",
"ColumnName": "任务预算工时",
"GUID": "2764c832-9d79-462a-9b4d-0dd2dc200cab"
},
"ColumnName": "任务预算工时"
}
]
},
"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": "c7020e1a-caaf-4ec8-b31f-6ca581dbc14b"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目ID"
}
},
{
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "任务表",
"ColumnName": "ID",
"GUID": "202a8ff6-e253-4dce-b713-6e6683ce0ae0"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务ID"
}
}
]
}
},
"NullFormulaValueQueryPolicy": 0,
"TopCount": "1"
},
"ID": "0b4a9a15e3694df7a0b23eec02992134",
"BreakpointIdentity": "2fe532b6-098e-4d6c-8795-2210144bd6a3"
},
{
"$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": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
"SubConditions": {
"$type": "System.Collections.Generic.List`1[[ForguncyDataAccess.ISqlCondition, ForguncyDataAccess]], System.Private.CoreLib",
"$values": [
{
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目信息.工时分配方式"
}
},
"value": "1"
},
{
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目信息.工时分配方式"
}
},
"value": "2"
}
]
},
"RelationType": 1
},
"CommandList": {
"$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib",
"$values": [
{
"$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon",
"ServerCommandName": "分配任务工时",
"Parameters": {
"$type": "System.Collections.Generic.List`1[[Forguncy.Model.RequestServerCommandParamBase, ServerDesignerCommon]], System.Private.CoreLib",
"$values": [
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "任务ID",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务ID"
}
},
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "开始日期",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=开始时间"
}
},
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "结束日期",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=结束时间"
}
},
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "执行人",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=操作人"
}
},
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "工时数",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=增加工时预算"
}
},
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "备注",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=变更原因"
}
}
]
},
"ResultErrorCodeTo": {
"$type": "Forguncy.Common.FormulaCellLocation, ServerDesignerCommon",
"SerializeProperty": "code"
},
"ResultMessageTo": {
"$type": "Forguncy.Common.FormulaCellLocation, ServerDesignerCommon",
"SerializeProperty": "msg"
},
"RefreshAfterFinish": true,
"CheckDataValidation": true,
"BreakpointIdentity": "30bc0445-bdd7-4bcc-ad68-809d0b1b225a"
},
{
"$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": "=code"
}
},
"value": "0",
"compareType": 1
},
"CommandList": {
"$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib",
"$values": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=code"
},
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=msg"
},
"BreakpointIdentity": "0a799b6f-263c-4280-ae6c-4932df06a1d6"
}
]
},
"ID": "99960258-fe92-4161-9851-3089a8405ff5"
}
]
},
"BreakpointIdentity": "d5717f6d-5732-4231-b895-17ccdbd7cf13"
}
]
},
"Comments": "分配到人",
"ID": "186c1276-8dcf-4e14-9d57-36ed83fce915"
},
{
"$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": "3"
},
"CommandList": {
"$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib",
"$values": [
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "任务表",
"ShowConfirm": false,
"RowsToUpdate": 1,
"RowsToUpdateCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "任务表",
"ColumnName": "ID",
"GUID": "4e7c4cf1-1459-4bc5-b648-040621e28308"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务ID"
}
},
"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": "任务预算工时",
"GUID": "348cfcc0-378a-4533-8faa-cce742360f06"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务信息.任务预算工时+增加工时预算"
}
}
]
},
"BreakpointIdentity": "9d0a80e7-204f-465f-9460-7b56c58f5ea0"
}
]
},
"ID": "4454376e-ce19-4307-8bda-12a8139936fa"
}
]
},
"BreakpointIdentity": "2617215b-4303-4e84-aee9-223d84effe44"
}
]
},
"ID": "3aeb9ce7-9e0b-4c24-a5e2-9e19c60f644e"
}
]
},
"BreakpointIdentity": "84bb1c4b-d82f-49c2-98df-894533dfddb3"
}
]
},
"ID": "e1de99b4-1b09-4846-a49f-7b61b79561f7"
}
]
},
"BreakpointIdentity": "1ee3f7e5-e403-40c4-88d6-44e96be217af"
}
]
},
"BreakpointIdentity": "40e1ed3a-49c2-4d70-8039-a8f710f191f0"
}
]
},
"ID": "f156077b-683e-47dd-b468-867b08db7538"
}
]
},
"BreakpointIdentity": "191dc087-f987-4d6a-b15b-1b0ef46d3095"
},
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": "增加预算成功",
"BreakpointIdentity": "f10cb91c-f911-4623-bc99-7f81189412d1"
}
]
},
"ID": "e2f48d6f-ddb8-4e09-8fc8-91b8ba7d2c02"
},
{
"$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": "d0c51997-fdd9-4eca-93cd-ab5c43c93a24"
}
]
},
"ID": "e098d2a3-b50f-4901-b546-a56997f8e781"
}
]
},
"BreakpointIdentity": "47b5187f-94d1-4b27-9d9b-41c9d49bd0d4"
}
]
}
},
"CatchCommandPart": {
"$type": "Forguncy.Model.CatchCommandNode, 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": "申请人",
"GUID": "f754f5e2-7706-4f3a-a5c8-f456e67cdcf7"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=操作人"
}
},
{
"$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "项目预算变动表",
"ColumnName": "项目ID",
"GUID": "cfdde20f-912d-49fd-8f90-af9ba1689ac1"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目ID"
}
},
{
"$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "项目预算变动表",
"ColumnName": "原预算工时",
"GUID": "1a66d76b-7b6a-466a-badd-3d7f6127ff5e"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目信息.项目预算工时"
}
},
{
"$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "项目预算变动表",
"ColumnName": "原预算费用",
"GUID": "21b39817-99d0-471b-9ddd-ecf174be21e1"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目信息.项目预算费用"
}
},
{
"$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "项目预算变动表",
"ColumnName": "增加工时",
"GUID": "e8104284-e92e-4e4e-9daa-fc0d2d58a811"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=增加工时预算"
}
},
{
"$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "项目预算变动表",
"ColumnName": "增加费用",
"GUID": "cb1115c9-c4d9-4f77-aa70-e4bbee4fa41a"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=增加成本预算"
}
},
{
"$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "项目预算变动表",
"ColumnName": "申请理由",
"GUID": "935b52c1-36d3-460c-a01c-91d0f750e0ed"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=变更原因"
}
},
{
"$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "项目预算变动表",
"ColumnName": "状态",
"GUID": "053f949d-24ad-4df9-a2a9-a40a5099aed9"
},
"Value": "待审批"
}
]
},
"ParamNameToSaveNewRowValue": "新预算申请",
"BreakpointIdentity": "4166bb18-9443-4c0f-a166-4d408a00cc22"
},
{
"$type": "Forguncy.Model.ProcessStartCommand, ServerDesignerCommon",
"ProcessDefinitionResourceName": "预算申请",
"ProcessInstanceName": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=变更原因"
},
"SelectedTable": "项目预算变动表",
"RowsToUpdate": 1,
"RowsToUpdateCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "项目预算变动表",
"ColumnName": "ID",
"GUID": "1deadf26-8b42-4c43-991b-7ad95aaeef4e"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=新预算申请.ID"
}
},
"ReturnResultName": "发起流程结果",
"BreakpointIdentity": "78e2835a-67c6-4410-bd4d-2a33c01f8024"
},
{
"$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": "=发起流程结果.ID"
}
},
"value": "%Null%",
"compareType": 1
},
"CommandList": {
"$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib",
"$values": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ExceptionCode"
},
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=\"自动增加工时失败:\"&ExceptionMessage&\",系统已自动发起预算申请流程\""
},
"BreakpointIdentity": "da3eb3c7-c2b0-4892-ac41-e930296ceb05"
}
]
},
"ID": "18b8766b-58f6-4c01-987a-d5ab7d6bc8ec"
},
{
"$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": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ExceptionCode"
},
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=\"自动增加工时失败:\"&ExceptionMessage"
},
"BreakpointIdentity": "11fe4910-aa4b-4545-a232-9d73eb97fc46"
}
]
},
"ID": "9f1260bf-b0d4-4755-963d-f0609f358cec"
}
]
},
"BreakpointIdentity": "d46af4c7-c8db-4ee8-b1ba-bd24218a60a0"
}
]
}
},
"BreakpointIdentity": "a74054cf-6c51-4158-9dbf-2bfa5d87499a"
}
]
},
"ReturnProperties": {
"$type": "System.Collections.Generic.List`1[[Forguncy.SaveLoad.ReturnPropertySaveData, ServerDesignerCommon]], System.Private.CoreLib",
"$values": []
}
}