442 lines
16 KiB
JSON
442 lines
16 KiB
JSON
{
|
|
"Name": "后端新增项目反馈",
|
|
"Enabled": true,
|
|
"Triggers": [
|
|
{
|
|
"$type": "Forguncy.SaveLoad.InvokeTriggerSaveData, ServerDesignerCommon",
|
|
"Parameters": [
|
|
{
|
|
"Name": "项目ID",
|
|
"DataValidationInfo": {
|
|
"IgnoreBlank": false
|
|
}
|
|
},
|
|
{
|
|
"Name": "关联任务",
|
|
"DataValidationInfo": {}
|
|
},
|
|
{
|
|
"Name": "反馈类型",
|
|
"DataValidationInfo": {
|
|
"IgnoreBlank": false
|
|
}
|
|
},
|
|
{
|
|
"Name": "功能",
|
|
"DataValidationInfo": {
|
|
"IgnoreBlank": false
|
|
}
|
|
},
|
|
{
|
|
"Name": "内容",
|
|
"DataValidationInfo": {
|
|
"IgnoreBlank": false
|
|
}
|
|
},
|
|
{
|
|
"Name": "提交人",
|
|
"DataValidationInfo": {
|
|
"IgnoreBlank": false
|
|
}
|
|
},
|
|
{
|
|
"Name": "联系方式",
|
|
"DataValidationInfo": {
|
|
"IgnoreBlank": false
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"Commands": [
|
|
{
|
|
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
|
"ParameterName": "项目",
|
|
"TableValue": {
|
|
"TableName": "项目表",
|
|
"TableValueType": 1,
|
|
"BindingInfos": [
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目表",
|
|
"ColumnName": "项目名称",
|
|
"GUID": "3b20d1db-744b-44c1-b375-dc719c94b921"
|
|
},
|
|
"ColumnName": "项目名称"
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目表",
|
|
"ColumnName": "项目状态",
|
|
"GUID": "45cf9a96-af0b-4a77-9d49-11592ff04081"
|
|
},
|
|
"ColumnName": "项目状态"
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目表",
|
|
"ColumnName": "项目经理",
|
|
"GUID": "875ee18b-d7a8-42be-a90e-df248c82d1d5"
|
|
},
|
|
"ColumnName": "项目经理"
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目表",
|
|
"ColumnName": "开启反馈收集",
|
|
"GUID": "dcd24bda-b2f8-443a-b3ab-6a63d9345551"
|
|
},
|
|
"ColumnName": "开启反馈收集"
|
|
}
|
|
],
|
|
"SqlCondition": {
|
|
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
|
"ColumnBindingInfo": {
|
|
"TableName": "项目表",
|
|
"ColumnName": "ID",
|
|
"GUID": "1323a917-a55e-4703-b4cc-50ef88f8a2a6"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=项目ID"
|
|
}
|
|
},
|
|
"NullFormulaValueQueryPolicy": 0,
|
|
"TopCount": "1"
|
|
},
|
|
"ID": "4882f0af508749c5ab587993a6b3022b"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
|
"ParameterName": "当前用户",
|
|
"ParameterValue": "%CurrentUser%",
|
|
"ID": "6f34c98eb09144edb73056dc0015ee3d"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
|
|
"ConditionAndCommandPairList": [
|
|
{
|
|
"Condition": {
|
|
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
|
|
"SubConditions": [
|
|
{
|
|
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
|
|
"SubConditions": [
|
|
{
|
|
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
|
|
"param": {
|
|
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
|
|
"ParamObject": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=项目.项目状态"
|
|
}
|
|
},
|
|
"value": "1",
|
|
"LeftBracket": 1
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
|
|
"param": {
|
|
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
|
|
"ParamObject": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=项目.项目状态"
|
|
}
|
|
},
|
|
"value": "2",
|
|
"RightBracket": 1
|
|
}
|
|
],
|
|
"RelationType": 1
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
|
|
"param": {
|
|
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
|
|
"ParamObject": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=项目.开启反馈收集"
|
|
}
|
|
},
|
|
"value": "1"
|
|
}
|
|
]
|
|
},
|
|
"CommandList": [
|
|
{
|
|
"$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": "任务",
|
|
"TableValue": {
|
|
"TableName": "任务表",
|
|
"TableValueType": 1,
|
|
"BindingInfos": [
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "任务表",
|
|
"ColumnName": "执行者",
|
|
"GUID": "2cd0170f-294c-42f3-8454-9a4dce1688bf"
|
|
},
|
|
"ColumnName": "执行者"
|
|
}
|
|
],
|
|
"SqlCondition": {
|
|
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
|
"ColumnBindingInfo": {
|
|
"TableName": "任务表",
|
|
"ColumnName": "ID",
|
|
"GUID": "25ebd14a-0805-42d7-8e46-45e36e9f3d1e"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=关联任务"
|
|
}
|
|
},
|
|
"NullFormulaValueQueryPolicy": 0
|
|
},
|
|
"ID": "85f142d6c38a4037b771e2bc84d9bc7c"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
|
"ParameterName": "处理人",
|
|
"ParameterValue": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=任务.执行者"
|
|
},
|
|
"ID": "36d524a116e94268a28ae43a78000681"
|
|
}
|
|
],
|
|
"ID": "d9ec0da6-ecc0-44df-b678-89a496b1de1b"
|
|
},
|
|
{
|
|
"CommandList": [
|
|
{
|
|
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
|
"ParameterName": "处理人",
|
|
"ParameterValue": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=项目.项目经理"
|
|
},
|
|
"ID": "06423efe302442ee9dbab0c23a871517"
|
|
}
|
|
],
|
|
"ID": "e7043904-4526-482d-a099-1d5a72ab996e"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$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%"
|
|
},
|
|
"CommandList": [
|
|
{
|
|
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
|
"ParameterName": "处理人",
|
|
"ParameterValue": "Administrator",
|
|
"ID": "a00a8dbe906243ee8faf281be3f7fed4"
|
|
}
|
|
],
|
|
"ID": "57461d06-521f-4e40-9259-2886bbd99fba"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
|
|
"TableName": "需求反馈登记表",
|
|
"UpdateType": "add",
|
|
"ShowConfirm": false,
|
|
"UpdateBindingValues": [
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "需求反馈登记表",
|
|
"ColumnName": "项目ID",
|
|
"GUID": "5e817ab3-e23c-4464-8bc0-980ce20ac268"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=项目ID"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "需求反馈登记表",
|
|
"ColumnName": "关联任务",
|
|
"GUID": "a6131fdf-6448-45c1-ac82-9e163b8d3d4e"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=关联任务"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "需求反馈登记表",
|
|
"ColumnName": "反馈类型",
|
|
"GUID": "70b5a61f-a13e-40b4-a8d5-4af33952b3ed"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=反馈类型"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "需求反馈登记表",
|
|
"ColumnName": "功能",
|
|
"GUID": "1b80b3b6-54a7-4c99-bfad-b28547737c40"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=功能"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "需求反馈登记表",
|
|
"ColumnName": "内容",
|
|
"GUID": "3a9ade72-9446-45ad-81de-2f7d0d7d94a0"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=内容"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "需求反馈登记表",
|
|
"ColumnName": "提交人",
|
|
"GUID": "0fffe559-d59c-4f34-9d23-3524d69802c3"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=提交人"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "需求反馈登记表",
|
|
"ColumnName": "联系方式",
|
|
"GUID": "6e4e4487-b9a4-4292-a838-0b370f3bea45"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=联系方式"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "需求反馈登记表",
|
|
"ColumnName": "处理人",
|
|
"GUID": "845906ad-3e2e-4a5b-9e3f-50c33132b75f"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=处理人"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "需求反馈登记表",
|
|
"ColumnName": "状态",
|
|
"GUID": "b92bba10-5387-4348-bc15-26a492a552d3"
|
|
},
|
|
"Value": "0"
|
|
}
|
|
],
|
|
"ParamNameToSaveNewRowValue": "新反馈"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.ProcessStartCommand, ServerDesignerCommon",
|
|
"ProcessDefinitionResourceName": "反馈处理流程",
|
|
"ProcessInstanceName": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=提交人&\"提交的关于\"&功能&\"功能的反馈工单\""
|
|
},
|
|
"SelectedTable": "需求反馈登记表",
|
|
"RowsToUpdate": 1,
|
|
"RowsToUpdateCondition": {
|
|
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
|
"ColumnBindingInfo": {
|
|
"TableName": "需求反馈登记表",
|
|
"ColumnName": "ID",
|
|
"GUID": "8e8dac33-0e65-4a7e-96a6-9e4b1d23dee5"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=新反馈.ID"
|
|
}
|
|
},
|
|
"Initiator": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=IF(当前用户=\"\",\"Administrator\",当前用户)"
|
|
},
|
|
"ReturnResultName": "发起流程结果"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
|
"ErrorCode": "0",
|
|
"Message": "感谢您的提交!",
|
|
"CustomReturns": [
|
|
{
|
|
"ReturnPropertyName": "反馈编号",
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=新反馈.工单编号"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"ID": "cf39789f-68cd-41d6-a182-ef5f59ac9739"
|
|
},
|
|
{
|
|
"CommandList": [
|
|
{
|
|
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
|
"ErrorCode": "400",
|
|
"Message": "该项目暂时关闭反馈通道,请联系商务经理!",
|
|
"CustomReturns": [
|
|
{
|
|
"ReturnPropertyName": "反馈编号"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"ID": "900932ad-0e64-4e93-85d0-b715cd3f14d2"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"ReturnProperties": [
|
|
{
|
|
"Name": "反馈编号"
|
|
}
|
|
]
|
|
} |