736 lines
52 KiB
JSON
736 lines
52 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"
|
|
},
|
|
"TestData": "8"
|
|
},
|
|
{
|
|
"$type": "Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon",
|
|
"Name": "状态码",
|
|
"DataValidationInfo": {
|
|
"$type": "Forguncy.SaveLoad.DataValidationInfoSaveData, ServerDesignerCommon"
|
|
},
|
|
"TestData": "2"
|
|
}
|
|
]
|
|
},
|
|
"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": "040b7e18-4298-4ef0-b6cc-1b7bb2aec85f",
|
|
"BindingInfo": {
|
|
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
|
|
"TableName": "任务表",
|
|
"ColumnName": "项目ID",
|
|
"GUID": "417ccd27-5484-41ae-9712-c69d5b98c6fa"
|
|
},
|
|
"ColumnName": "项目ID"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon",
|
|
"GUID": "97c09999-a93d-42a9-a5d1-fb5f4ee489a7",
|
|
"BindingInfo": {
|
|
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
|
|
"TableName": "任务表",
|
|
"ColumnName": "任务名称",
|
|
"GUID": "59897440-858b-44cb-aa96-6e74d4f7751c"
|
|
},
|
|
"ColumnName": "任务名称"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon",
|
|
"GUID": "85821668-8b53-4bc5-8864-e3e6a3093c6b",
|
|
"BindingInfo": {
|
|
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
|
|
"TableName": "任务表",
|
|
"ColumnName": "任务状态",
|
|
"GUID": "8f13c1bf-e86a-4cb1-afd2-492b85d4cc08"
|
|
},
|
|
"ColumnName": "任务状态"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon",
|
|
"GUID": "f8c364be-a0ef-4103-a63b-5548e9b392c2",
|
|
"BindingInfo": {
|
|
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
|
|
"TableName": "任务表",
|
|
"ColumnName": "任务状态",
|
|
"GUID": "59dd4107-010a-41cb-b897-a68506488492",
|
|
"RelationBinding": {
|
|
"$type": "ForguncyDataAccess.RelationBinding, ForguncyDataAccess",
|
|
"RelatedTable": "任务状态",
|
|
"RelatedColumn": "状态码",
|
|
"DisplayColumn": "任务状态"
|
|
}
|
|
},
|
|
"ColumnName": "任务状态文本"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon",
|
|
"GUID": "0fbac508-af88-4952-9d91-0ef3c4fa97a4",
|
|
"BindingInfo": {
|
|
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
|
|
"TableName": "任务表",
|
|
"ColumnName": "任务负责人",
|
|
"GUID": "3f3806fd-032f-4750-925c-83a5dfe69bb0"
|
|
},
|
|
"ColumnName": "任务负责人"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon",
|
|
"GUID": "744ba217-aca5-4267-a69e-9fdc4fa8bc8e",
|
|
"BindingInfo": {
|
|
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
|
|
"TableName": "任务表",
|
|
"ColumnName": "开始时间",
|
|
"GUID": "b582715f-80a4-4224-8423-f78cd0c8931e"
|
|
},
|
|
"ColumnName": "开始时间"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon",
|
|
"GUID": "2bd5f4e1-452a-4198-a1fd-c27007ee513a",
|
|
"BindingInfo": {
|
|
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
|
|
"TableName": "任务表",
|
|
"ColumnName": "结束时间",
|
|
"GUID": "4e747135-a8aa-4f79-9c50-37d6915e63c3"
|
|
},
|
|
"ColumnName": "结束时间"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon",
|
|
"GUID": "920c5f86-f188-48fe-8663-c7fae7dd80b0",
|
|
"BindingInfo": {
|
|
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
|
|
"TableName": "任务表",
|
|
"ColumnName": "任务类型",
|
|
"GUID": "832e03dc-8b1d-42c1-8053-7e14912e96b9"
|
|
},
|
|
"ColumnName": "任务类型"
|
|
}
|
|
]
|
|
},
|
|
"SqlCondition": {
|
|
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
|
"ColumnBindingInfo": {
|
|
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
|
|
"TableName": "任务表",
|
|
"ColumnName": "ID",
|
|
"GUID": "135664f5-205c-4493-b3d0-5764de228e17"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=任务ID"
|
|
}
|
|
},
|
|
"NullFormulaValueQueryPolicy": 0,
|
|
"TopCount": "1"
|
|
},
|
|
"ID": "0626fb25bcc8447fbc4d740f1354d568",
|
|
"BreakpointIdentity": "1f4ed99b-2710-4601-bc09-24d8247f634f"
|
|
},
|
|
{
|
|
"$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": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=任务信息.任务状态"
|
|
},
|
|
"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": "7f8cbdd1-5ad5-45a7-bd6c-7838abcb23d5",
|
|
"BindingInfo": {
|
|
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
|
|
"TableName": "任务状态",
|
|
"ColumnName": "任务状态",
|
|
"GUID": "035b217c-625c-4d7e-8c3a-b43419938da6"
|
|
},
|
|
"ColumnName": "任务状态"
|
|
}
|
|
]
|
|
},
|
|
"SqlCondition": {
|
|
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
|
"ColumnBindingInfo": {
|
|
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
|
|
"TableName": "任务状态",
|
|
"ColumnName": "状态码",
|
|
"GUID": "726e05d0-450e-4d21-9fc3-9bd5c6975e85"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=状态码"
|
|
}
|
|
},
|
|
"NullFormulaValueQueryPolicy": 0,
|
|
"TopCount": "1"
|
|
},
|
|
"ID": "95159dc8a1b14128ace3e2acc322a54f",
|
|
"BreakpointIdentity": "3578a88a-9a50-46e8-9dcb-69a96bb4ddbe"
|
|
},
|
|
{
|
|
"$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": "0"
|
|
},
|
|
"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.GeneralCESqlCondition, ForguncyDataAccess",
|
|
"ColumnBindingInfo": {
|
|
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
|
|
"TableName": "任务工时表",
|
|
"ColumnName": "任务ID",
|
|
"GUID": "aeafd224-f511-481e-8355-8d0f79ac733a"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=任务ID"
|
|
}
|
|
},
|
|
"NullFormulaValueQueryPolicy": 0
|
|
},
|
|
"ID": "d27269e4264d4915b390ea9460421bf0",
|
|
"BreakpointIdentity": "2e4f7c26-0b3b-455d-bf84-7e90e9396ef1"
|
|
},
|
|
{
|
|
"$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",
|
|
"compareType": 2
|
|
},
|
|
"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": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=\"该任务已报工,无法切换至\"&状态表.任务状态&\"状态\""
|
|
},
|
|
"BreakpointIdentity": "df57c45b-acbb-4985-86be-fc78d393d82b"
|
|
}
|
|
]
|
|
},
|
|
"ID": "fef0c8fd-0cf8-4926-a3fb-edb82e3e4145"
|
|
}
|
|
]
|
|
},
|
|
"BreakpointIdentity": "b8eedf94-a6d0-447e-83b0-f2ce5a16a0fe"
|
|
}
|
|
]
|
|
},
|
|
"ID": "07b39505-f2c0-4476-8590-3965b5559245"
|
|
},
|
|
{
|
|
"$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.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%"
|
|
},
|
|
"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": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=\"任务执行者为空,不能切换至\"&状态表.任务状态&\"状态!\""
|
|
},
|
|
"BreakpointIdentity": "b9505417-6dc6-45c8-a341-c448f590abbb"
|
|
}
|
|
]
|
|
},
|
|
"ID": "379bc5fb-dcdd-49e0-80ab-0bb6bfb396d3"
|
|
}
|
|
]
|
|
},
|
|
"BreakpointIdentity": "822d4c9b-6214-4dcb-95c6-789b0f94b7fe"
|
|
}
|
|
]
|
|
},
|
|
"ID": "25351516-4ae9-455a-9bc4-4a82a21e8005"
|
|
}
|
|
]
|
|
},
|
|
"BreakpointIdentity": "8d5280ef-6108-4ad8-a12b-8afc1c8d262c"
|
|
},
|
|
{
|
|
"$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": "任务表",
|
|
"ShowConfirm": false,
|
|
"RowsToUpdate": 1,
|
|
"RowsToUpdateCondition": {
|
|
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
|
"ColumnBindingInfo": {
|
|
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
|
|
"TableName": "任务表",
|
|
"ColumnName": "ID",
|
|
"GUID": "8cd30f24-ad8d-43c1-9342-2c7f001d137f"
|
|
},
|
|
"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": "3dd1ced8-9f74-49ce-9345-d7f35bc09d32"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=状态码"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"BreakpointIdentity": "3a1fb7d1-7689-4de1-982a-df7864f2a5f5"
|
|
},
|
|
{
|
|
"$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": "c9a3a4bd-ed71-4893-9349-8d7f0646550e"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=任务信息.项目ID"
|
|
}
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon",
|
|
"BindingInfo": {
|
|
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
|
|
"TableName": "项目动态",
|
|
"ColumnName": "项目动态",
|
|
"GUID": "0cefc092-58b3-4cf2-9b51-f0a4cea81ae7"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=\"任务[\"&任务信息.任务名称&\"]从\"&任务信息.任务状态文本&\"状态变更为\"&状态表.任务状态"
|
|
}
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon",
|
|
"BindingInfo": {
|
|
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
|
|
"TableName": "项目动态",
|
|
"ColumnName": "执行人",
|
|
"GUID": "9e1890c0-47f0-407c-bbee-0de6841321fb"
|
|
},
|
|
"Value": "%CurrentUser%"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon",
|
|
"BindingInfo": {
|
|
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
|
|
"TableName": "项目动态",
|
|
"ColumnName": "类型",
|
|
"GUID": "8959bd60-89d3-40b6-acc3-490a4c31b4bb"
|
|
},
|
|
"Value": "1"
|
|
}
|
|
]
|
|
},
|
|
"BreakpointIdentity": "2adc8928-c547-43e0-b6c6-0fb74e217a47"
|
|
}
|
|
]
|
|
},
|
|
"BreakpointIdentity": "ee285037-770a-429c-acdf-7beef8afee68"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
|
"ErrorCode": "0",
|
|
"Message": "操作成功",
|
|
"BreakpointIdentity": "3a0b934d-f4b1-4a6d-ba0c-800a065dd1ef"
|
|
}
|
|
]
|
|
},
|
|
"ID": "ec3889c9-c2f7-4ebc-aeca-163f1733334c"
|
|
},
|
|
{
|
|
"$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": "2f7e0bef-c2ce-4741-8b46-8c3cb14ad95e"
|
|
}
|
|
]
|
|
},
|
|
"ID": "94550860-20ae-4671-b70b-10eb535439b0"
|
|
}
|
|
]
|
|
},
|
|
"BreakpointIdentity": "0ba6ab41-09b3-444e-ac4c-acc33ac78842"
|
|
}
|
|
]
|
|
},
|
|
"ID": "5dd4eb6b-dac7-4667-8f4b-8c3395ac556f"
|
|
},
|
|
{
|
|
"$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": "572fe1d3-4831-4a78-97bf-96232e2a1638"
|
|
}
|
|
]
|
|
},
|
|
"ID": "00980a34-e743-4974-af14-dbba15da43c0"
|
|
}
|
|
]
|
|
},
|
|
"BreakpointIdentity": "4132193c-b84e-4f35-a2c3-ac0d33e350e6"
|
|
}
|
|
]
|
|
},
|
|
"ID": "797da555-7346-423c-a144-bc7d2061842a"
|
|
},
|
|
{
|
|
"$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": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=\"任务ID=\"&任务ID&\",不存在。\""
|
|
},
|
|
"BreakpointIdentity": "ec634f18-b761-4a5a-afd5-49accf0daba1"
|
|
}
|
|
]
|
|
},
|
|
"ID": "6795d578-1809-4c1c-8daa-3ad201d29f97"
|
|
}
|
|
]
|
|
},
|
|
"BreakpointIdentity": "419dcf02-177d-46a0-bcef-b6df7f36e83a"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"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": "88ca8e09-2124-454f-aaf5-7f2abb7b9e88"
|
|
},
|
|
"Value": "修改任务状态"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon",
|
|
"BindingInfo": {
|
|
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
|
|
"TableName": "日志表",
|
|
"ColumnName": "内容",
|
|
"GUID": "d3c4570e-a309-413b-95f4-09c91d5308cd"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=\"任务ID=\"&任务ID&\",状态码=\"&状态码"
|
|
}
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon",
|
|
"BindingInfo": {
|
|
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
|
|
"TableName": "日志表",
|
|
"ColumnName": "类型",
|
|
"GUID": "acb845cd-d40d-4c4e-9709-0601c6e6ff8f"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=ExceptionMessage"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"BreakpointIdentity": "794a5c5c-cd45-4a96-a5f1-82e246c9142a"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
|
"ErrorCode": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=ExceptionCode"
|
|
},
|
|
"Message": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=ExceptionMessage"
|
|
},
|
|
"BreakpointIdentity": "f4d54ada-3edd-47f0-880b-1a0478fcb9dd"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"BreakpointIdentity": "b3583f6f-985e-43e0-9acc-536d6b5fcee3"
|
|
}
|
|
]
|
|
}
|
|
} |