315 lines
11 KiB
JSON
315 lines
11 KiB
JSON
{
|
|
"Name": "项目反馈发布完毕",
|
|
"Enabled": true,
|
|
"Triggers": [
|
|
{
|
|
"$type": "Forguncy.SaveLoad.PostRequestTriggerSaveData, ServerDesignerCommon",
|
|
"Permission": {
|
|
"PermissionData": {
|
|
"$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionData, Forguncy.RbacPermission.Core",
|
|
"permissionResource": {
|
|
"$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionResource, Forguncy.RbacPermission.Core"
|
|
},
|
|
"permissionBindings": [
|
|
{
|
|
"$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionBinding, Forguncy.RbacPermission.Core",
|
|
"roleNames": [
|
|
"FGC_LoginUser"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"Parameters": [
|
|
{
|
|
"Name": "反馈ID",
|
|
"DataValidationInfo": {
|
|
"IgnoreBlank": false
|
|
}
|
|
},
|
|
{
|
|
"Name": "发布记录ID",
|
|
"DataValidationInfo": {}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"Commands": [
|
|
{
|
|
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
|
"ParameterName": "发布记录",
|
|
"TableValue": {
|
|
"TableName": "项目发布记录",
|
|
"TableValueType": 1,
|
|
"BindingInfos": [
|
|
{
|
|
"GUID": "2ec2937f-48bb-4820-be19-040b325359af",
|
|
"BindingInfo": {
|
|
"TableName": "项目发布记录",
|
|
"ColumnName": "发布人",
|
|
"GUID": "0262ad21-b9e2-49dd-969b-0a4c6c571d3b"
|
|
},
|
|
"ColumnName": "发布人"
|
|
},
|
|
{
|
|
"GUID": "bf3903bf-7623-46ac-bdda-ce932a406af8",
|
|
"BindingInfo": {
|
|
"TableName": "项目发布记录",
|
|
"ColumnName": "发布版本号",
|
|
"GUID": "f9928713-f411-480c-a3a1-9ffe5c2dae2d"
|
|
},
|
|
"ColumnName": "发布版本号"
|
|
}
|
|
],
|
|
"SqlCondition": {
|
|
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
|
"ColumnBindingInfo": {
|
|
"TableName": "项目发布记录",
|
|
"ColumnName": "ID",
|
|
"GUID": "2f1f1ab3-500b-48f1-8e31-e135fd89b2db"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=发布记录ID"
|
|
}
|
|
},
|
|
"NullFormulaValueQueryPolicy": 0,
|
|
"TopCount": "1"
|
|
},
|
|
"ID": "6fd2f71394ad48dbbdee95fceef674ae"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
|
|
"ConditionAndCommandPairList": [
|
|
{
|
|
"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": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
|
"ParameterName": "发布人",
|
|
"ParameterValue": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=发布记录.发布人"
|
|
},
|
|
"ID": "a8212128e87840c6b9f71d7db340bc70"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
|
"ParameterName": "版本号",
|
|
"ParameterValue": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=发布记录.发布版本号"
|
|
},
|
|
"ID": "3d39fdb6823c4b2c88327d421be8fb59"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
|
"ParameterName": "生成备注",
|
|
"ParameterValue": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=\"已在\"&发布记录.发布版本号&\"版本中更新\""
|
|
},
|
|
"ID": "c5d1b35cbecd48c4830c87ca41d97fe7"
|
|
}
|
|
],
|
|
"ID": "80820ebb-5964-401e-ac0b-2ea81e7614e8"
|
|
},
|
|
{
|
|
"CommandList": [
|
|
{
|
|
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
|
"ParameterName": "发布人",
|
|
"ParameterValue": "%CurrentUser%",
|
|
"ID": "baf7115159d74f30ae11ffee5d9ab09a"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
|
"ParameterName": "版本号",
|
|
"ID": "0c427e757e5b4ff7ab031709afee8733"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
|
"ParameterName": "生成备注",
|
|
"ParameterValue": "已更新到最新版本",
|
|
"ID": "97e61e61a28148f2b4a6e008cf628e9f"
|
|
}
|
|
],
|
|
"ID": "8536b815-04c7-4a9e-b386-70827bf01a2a"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
|
"ParameterName": "反馈记录",
|
|
"TableValue": {
|
|
"TableName": "需求反馈登记表",
|
|
"TableValueType": 1,
|
|
"BindingInfos": [
|
|
{
|
|
"GUID": "2c7e1160-0c40-488f-b9f7-01a35256c58a",
|
|
"BindingInfo": {
|
|
"TableName": "需求反馈登记表",
|
|
"ColumnName": "流程实例ID",
|
|
"GUID": "d2f60bed-e24c-48ef-8d1f-860c88d42ff3"
|
|
},
|
|
"ColumnName": "流程实例ID"
|
|
}
|
|
],
|
|
"SqlCondition": {
|
|
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
|
"ColumnBindingInfo": {
|
|
"TableName": "需求反馈登记表",
|
|
"ColumnName": "ID",
|
|
"GUID": "09c19253-53b1-41af-8e05-9381f55ee3d9"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=反馈ID"
|
|
}
|
|
},
|
|
"NullFormulaValueQueryPolicy": 0,
|
|
"TopCount": "1"
|
|
},
|
|
"ID": "1a898e13b5974c0ca783a9fc84b8e67b"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
|
"ParameterName": "运行任务列表",
|
|
"TableValue": {
|
|
"TableName": "ACT_RU_TASK_View",
|
|
"BindingInfos": [
|
|
{
|
|
"GUID": "20f0eb88-7b3d-4eb2-af95-7fabfa53ac51",
|
|
"BindingInfo": {
|
|
"TableName": "ACT_RU_TASK_View",
|
|
"ColumnName": "ID_",
|
|
"GUID": "ad0eb1ec-daaf-4c4a-91a0-07e63b4814aa"
|
|
},
|
|
"ColumnName": "ID"
|
|
}
|
|
],
|
|
"SqlCondition": {
|
|
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
|
"ColumnBindingInfo": {
|
|
"TableName": "ACT_RU_TASK_View",
|
|
"ColumnName": "PROC_INST_ID_",
|
|
"GUID": "da37052c-aa22-4f81-b9e1-8f15f75352b8"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=反馈记录.流程实例ID"
|
|
}
|
|
},
|
|
"NullFormulaValueQueryPolicy": 0,
|
|
"OrderBySqlCondition": {
|
|
"OrderByColumns": [
|
|
{
|
|
"ColumnBindingInfo": {
|
|
"TableName": "ACT_RU_TASK_View",
|
|
"ColumnName": "CREATE_TIME_",
|
|
"GUID": "165a0af0-c9f9-4425-94b1-780bfbf3fa9e"
|
|
},
|
|
"Order": 1
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"ID": "6ffe89ac260943f394e2efef7dcfa88d"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
|
|
"TableName": "需求反馈登记表",
|
|
"ShowConfirm": false,
|
|
"RowsToUpdate": 1,
|
|
"RowsToUpdateCondition": {
|
|
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
|
"ColumnBindingInfo": {
|
|
"TableName": "需求反馈登记表",
|
|
"ColumnName": "ID",
|
|
"GUID": "f8a30342-a9a4-4c45-8b0f-ddadbcc20b03"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=反馈ID"
|
|
}
|
|
},
|
|
"UpdateBindingValues": [
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "需求反馈登记表",
|
|
"ColumnName": "发布记录ID",
|
|
"GUID": "3678bcf7-3656-4490-b402-ed593584521a"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=发布记录ID"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "需求反馈登记表",
|
|
"ColumnName": "处理结果",
|
|
"GUID": "0eadf6f0-9ea6-4727-9146-7a402013c86c"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=生成备注"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "需求反馈登记表",
|
|
"ColumnName": "状态",
|
|
"GUID": "3ede0188-f163-4cd5-bce5-733e9a6762d1"
|
|
},
|
|
"Value": "4"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.LoopCommand, ServerDesignerCommon",
|
|
"LoopInfo": {
|
|
"$type": "Forguncy.Model.CountLoopInfo, ServerDesignerCommon",
|
|
"LoopCount": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=运行任务列表"
|
|
},
|
|
"LoopItemParamName": "Item"
|
|
},
|
|
"CommandList": [
|
|
{
|
|
"$type": "Forguncy.Model.ProcessTaskCommand, ServerDesignerCommon",
|
|
"TaskId": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=Item.ID"
|
|
},
|
|
"CustomOperationName": "完成更新",
|
|
"Operator": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=发布人"
|
|
},
|
|
"Comment": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=生成备注"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
|
"ErrorCode": "0",
|
|
"Message": "更新成功"
|
|
}
|
|
]
|
|
} |