Files
clue/ServerCommands/项目反馈/将反馈转为任务.json

544 lines
29 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
}
}
]
}
}
]
},
"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": "d12371c0-4427-4bdf-bcbb-29be0cc1d79d",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "需求反馈登记表",
"ColumnName": "ID",
"GUID": "6b974e9e-c1d9-4aa2-9a24-9959ba315e67"
},
"ColumnName": "ID"
},
{
"$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon",
"GUID": "6b44da15-546a-453c-ad34-7010d93b3e49",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "需求反馈登记表",
"ColumnName": "工单编号",
"GUID": "8afc575b-94ff-49cf-8ef4-fce11cf0ee28"
},
"ColumnName": "工单编号"
},
{
"$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon",
"GUID": "aa212c1f-511a-4a6d-a9fd-3102aafed2e6",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "需求反馈登记表",
"ColumnName": "项目ID",
"GUID": "0c6c6c2f-b82a-492f-8c90-516f03b8e245"
},
"ColumnName": "项目ID"
},
{
"$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon",
"GUID": "9a5d807a-6ae6-43b6-bbe4-0fecf6fee290",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "需求反馈登记表",
"ColumnName": "标题",
"GUID": "079f600a-a333-4a0f-909a-4c0fd1e38512"
},
"ColumnName": "标题"
},
{
"$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon",
"GUID": "7d08d0af-fc07-4f37-ba76-bc8e1ccb68db",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "需求反馈登记表",
"ColumnName": "内容",
"GUID": "5e61b59a-7ff1-45de-94ad-053cc2b56ef2"
},
"ColumnName": "内容"
},
{
"$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon",
"GUID": "b2eb6709-e916-4d4c-9699-26c5c3c38c13",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "需求反馈登记表",
"ColumnName": "处理人",
"GUID": "db3e1de0-d88b-454b-acc9-344313b00152"
},
"ColumnName": "处理人"
},
{
"$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon",
"GUID": "84ac9cb9-a12c-416b-ae76-1332cb907439",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "需求反馈登记表",
"ColumnName": "提交人",
"GUID": "c2d24265-6352-4221-ac7c-51082fad37b5"
},
"ColumnName": "提交人"
},
{
"$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon",
"GUID": "1369a48a-729a-44be-b094-1ff8e33fb0d7",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "需求反馈登记表",
"ColumnName": "状态",
"GUID": "c51e7b37-d8a4-49b4-9eef-dab73d643cb6"
},
"ColumnName": "状态"
}
]
},
"SqlCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "需求反馈登记表",
"ColumnName": "ID",
"GUID": "dbc0b422-795e-40a6-a425-7d4aa878dc25"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=反馈ID"
}
},
"TopCount": "1"
},
"ID": "c665d9baf01c4cdcbc303964bc2b1a2b",
"BreakpointIdentity": "4f85ae78-2f0a-4fbb-9926-e03627963c68"
},
{
"$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.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": "4c34475b-db10-429f-8ef3-a38099892a5e"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=反馈单.项目ID"
}
},
{
"$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "任务表",
"ColumnName": "层级",
"GUID": "c27ffcbe-762e-4c97-b851-16e0d2a036a7"
},
"Value": "0"
},
{
"$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "任务表",
"ColumnName": "任务名称",
"GUID": "5c96f8fb-9863-41d2-aa1e-9b659d2cddcf"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=反馈单.标题"
}
},
{
"$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "任务表",
"ColumnName": "任务负责人",
"GUID": "e3be746e-e277-4c17-85bf-1519dee87c1e"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=反馈单.处理人"
}
},
{
"$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "任务表",
"ColumnName": "开始时间",
"GUID": "2dd195f8-cbc2-4eac-8db4-f8a3d3354967"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=NOW()"
}
},
{
"$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "任务表",
"ColumnName": "任务说明",
"GUID": "ab69b14a-3d31-44e8-98da-a75c5e4a264a"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=反馈单.内容"
}
},
{
"$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "任务表",
"ColumnName": "备注",
"GUID": "7b8ef8cc-eece-48d8-a74a-bc86a0390627"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=\"由工单编号\"&反馈单.工单编号&\"创建\""
}
},
{
"$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "任务表",
"ColumnName": "任务预算工时",
"GUID": "fe1ed98f-9a4c-4324-b7eb-2ee05c12d4a6"
},
"Value": "0"
},
{
"$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "任务表",
"ColumnName": "进度",
"GUID": "c2ebe9c2-ff0b-4122-b29b-2bfb683b2807"
},
"Value": "0"
},
{
"$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "任务表",
"ColumnName": "收集反馈",
"GUID": "a1503f8a-85a9-47af-9c61-aabb5a6e2901"
},
"Value": "1"
},
{
"$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "任务表",
"ColumnName": "任务状态",
"GUID": "5ae8a7d9-239e-4f74-879a-a91709421653"
},
"Value": "0"
},
{
"$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "任务表",
"ColumnName": "功能名称",
"GUID": "6ce7363a-ed99-48a1-8191-9a1c76439201"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=反馈单.标题"
}
},
{
"$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "任务表",
"ColumnName": "功能描述",
"GUID": "419156fa-2640-4576-953a-cee74bcb0881"
}
}
]
},
"ParamNameToSaveNewRowValue": "新任务",
"BreakpointIdentity": "c7166ed1-22b4-4e6f-91aa-dc37fd1e891f"
},
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "需求反馈登记表",
"ShowConfirm": false,
"RowsToUpdate": 1,
"RowsToUpdateCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "需求反馈登记表",
"ColumnName": "ID",
"GUID": "aa0ffe9d-de6e-4b12-92f7-de8dcb741bbe"
},
"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": "ab6b52ad-b3f2-4557-886d-d7569784d047"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=新任务.ID"
}
}
]
},
"BreakpointIdentity": "ef102686-6711-46fd-a50c-9b6c4532035c"
}
]
},
"BreakpointIdentity": "471f3f72-6442-481e-a0d8-89fdaf70f9a9"
},
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": "创建任务完成,请补充任务信息并发起流程",
"CustomReturns": {
"$type": "System.Collections.Generic.List`1[[Forguncy.Model.CustomReturns, ServerDesignerCommon]], System.Private.CoreLib",
"$values": [
{
"$type": "Forguncy.Model.CustomReturns, ServerDesignerCommon",
"ReturnPropertyName": "任务ID",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=新任务.ID"
}
}
]
},
"BreakpointIdentity": "e1be552b-cfe1-4d66-a77a-7a1f4ed3d708"
},
{
"$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": "afc188a8-6905-445e-bda8-be96313844da"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=新任务.ID"
}
},
"ReturnResultName": "发起流程结果",
"Disabled": true,
"BreakpointIdentity": "e721d6e6-6711-4895-aff4-805b4fc19418"
},
{
"$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": []
},
"ID": "771f10f1-2d83-49e5-bad9-7c9059345c98"
},
{
"$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": "创建任务完成,请手动进行提交审批",
"CustomReturns": {
"$type": "System.Collections.Generic.List`1[[Forguncy.Model.CustomReturns, ServerDesignerCommon]], System.Private.CoreLib",
"$values": [
{
"$type": "Forguncy.Model.CustomReturns, ServerDesignerCommon",
"ReturnPropertyName": "任务ID"
}
]
},
"BreakpointIdentity": "81c1e5da-dbc7-44ee-b947-5c1a2e35f6c8"
}
]
},
"ID": "a4966818-04ca-4951-a99e-fb4f60db1c59"
}
]
},
"Disabled": true,
"BreakpointIdentity": "022c40cc-82f8-4176-9fd6-44f74b015225"
}
]
},
"ID": "b607bf62-176f-45a7-83cc-b19d80103fa3"
},
{
"$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": "反馈单不存在",
"CustomReturns": {
"$type": "System.Collections.Generic.List`1[[Forguncy.Model.CustomReturns, ServerDesignerCommon]], System.Private.CoreLib",
"$values": [
{
"$type": "Forguncy.Model.CustomReturns, ServerDesignerCommon",
"ReturnPropertyName": "任务ID"
}
]
},
"BreakpointIdentity": "908bfa12-7e28-4ee7-9d24-0048f1424fc4"
}
]
},
"ID": "e2abdd45-4110-4cc8-ab94-70a2d1f7e9bd"
}
]
},
"BreakpointIdentity": "9c599f83-78eb-4b45-9c70-0bf93c6d9cc4"
}
]
},
"ReturnProperties": {
"$type": "System.Collections.Generic.List`1[[Forguncy.SaveLoad.ReturnPropertySaveData, ServerDesignerCommon]], System.Private.CoreLib",
"$values": [
{
"$type": "Forguncy.SaveLoad.ReturnPropertySaveData, ServerDesignerCommon",
"Name": "任务ID"
}
]
}
}