266 lines
13 KiB
JSON
266 lines
13 KiB
JSON
{
|
|
"$type": "Forguncy.SaveLoad.ServerCommandSaveData, ServerDesignerCommon",
|
|
"Name": "递归检测子任务",
|
|
"Description": "递归检测任务是否存在子任务报工",
|
|
"Enabled": true,
|
|
"Triggers": {
|
|
"$type": "System.Collections.Generic.List`1[[Forguncy.SaveLoad.TriggerSaveDataBase, ServerDesignerCommon]], System.Private.CoreLib",
|
|
"$values": [
|
|
{
|
|
"$type": "Forguncy.SaveLoad.InvokeTriggerSaveData, ServerDesignerCommon",
|
|
"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": "3"
|
|
},
|
|
{
|
|
"$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.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": "ecebdb4a-1630-43fe-8758-e96ec880d630"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=ID"
|
|
}
|
|
}
|
|
},
|
|
"ID": "10acffd61ffd4fd6a25be9a9b260d184",
|
|
"BreakpointIdentity": "5f848bad-c2a8-4c9f-8959-a03736633484"
|
|
},
|
|
{
|
|
"$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": 1
|
|
},
|
|
"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": "1a4b1303-c28d-4409-8cef-b7f82a0e97e1"
|
|
}
|
|
]
|
|
},
|
|
"ID": "4d7803bc-32da-444e-96e6-97258e8f6bf2"
|
|
},
|
|
{
|
|
"$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.Commands.SetParameterCommand, ServerDesignerCommon",
|
|
"ParameterName": "子任务列表",
|
|
"TableValue": {
|
|
"$type": "Forguncy.Model.Commands.ParameterTableValue, ServerDesignerCommon",
|
|
"TableName": "任务表",
|
|
"BindingInfos": {
|
|
"$type": "System.Collections.Generic.List`1[[Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon]], System.Private.CoreLib",
|
|
"$values": [
|
|
{
|
|
"$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon",
|
|
"GUID": "5690a025-216f-4abe-93c5-b1641ba6bd44",
|
|
"BindingInfo": {
|
|
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
|
|
"TableName": "任务表",
|
|
"ColumnName": "ID",
|
|
"GUID": "ac49d30c-d5e7-4dae-b774-7b39da2b0a06"
|
|
},
|
|
"ColumnName": "ID"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon",
|
|
"GUID": "e7ad38ca-811c-4494-898c-90653797ef71",
|
|
"BindingInfo": {
|
|
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
|
|
"TableName": "任务表",
|
|
"ColumnName": "任务名称",
|
|
"GUID": "db332a4b-8ba7-40d8-b678-46ab28cce50f"
|
|
},
|
|
"ColumnName": "任务名称"
|
|
}
|
|
]
|
|
},
|
|
"SqlCondition": {
|
|
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
|
"ColumnBindingInfo": {
|
|
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
|
|
"TableName": "任务表",
|
|
"ColumnName": "父任务ID",
|
|
"GUID": "04afdcdd-e931-4562-845e-2fc6b9fedb44"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=ID"
|
|
}
|
|
},
|
|
"NullFormulaValueQueryPolicy": 0,
|
|
"TopCount": "1"
|
|
},
|
|
"ID": "a7a2757fba144540898ade3a472a2932",
|
|
"BreakpointIdentity": "1252acb9-3cdd-42dd-b835-656aa71b2032"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.LoopCommand, ServerDesignerCommon",
|
|
"LoopInfo": {
|
|
"$type": "Forguncy.Model.CountLoopInfo, ServerDesignerCommon",
|
|
"LoopCount": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=子任务列表"
|
|
},
|
|
"LoopItemParamName": "Item"
|
|
},
|
|
"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": "=Item.ID"
|
|
}
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
|
|
"ParamName": "任务名称",
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=Item.任务名称"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"ResultErrorCodeTo": {
|
|
"$type": "Forguncy.Common.FormulaCellLocation, ServerDesignerCommon",
|
|
"SerializeProperty": "code"
|
|
},
|
|
"ResultMessageTo": {
|
|
"$type": "Forguncy.Common.FormulaCellLocation, ServerDesignerCommon",
|
|
"SerializeProperty": "msg"
|
|
},
|
|
"RefreshAfterFinish": true,
|
|
"CheckDataValidation": true,
|
|
"BreakpointIdentity": "3a031d90-c889-4412-8a2c-4cfc0ac47e31"
|
|
},
|
|
{
|
|
"$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": "400",
|
|
"Message": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=msg"
|
|
},
|
|
"BreakpointIdentity": "850766ea-59c1-4ac7-a978-2313de8a560e"
|
|
}
|
|
]
|
|
},
|
|
"ID": "ba27ce88-24e8-481a-a353-ca2d58aa216e"
|
|
}
|
|
]
|
|
},
|
|
"BreakpointIdentity": "87fb28b8-65dd-4282-b335-a30a6c0569c4"
|
|
}
|
|
]
|
|
},
|
|
"BreakpointIdentity": "636f0b9c-837c-45c3-a0cd-5f25d8519c24"
|
|
}
|
|
]
|
|
},
|
|
"ID": "10be7f44-b3f2-4787-92b7-f8847d608ad7"
|
|
}
|
|
]
|
|
},
|
|
"BreakpointIdentity": "5f7b1868-b49b-42ee-8ab4-845d5c06113d"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
|
"ErrorCode": "0",
|
|
"Message": "检测通过",
|
|
"BreakpointIdentity": "f74df2be-337b-47cc-b9a1-18684da2da4a"
|
|
}
|
|
]
|
|
}
|
|
} |