554 lines
20 KiB
JSON
554 lines
20 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": {}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"Commands": [
|
|
{
|
|
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
|
"ParameterName": "项目",
|
|
"TableValue": {
|
|
"TableName": "项目表",
|
|
"TableValueType": 1,
|
|
"BindingInfos": [
|
|
{
|
|
"GUID": "6beb85b3-fe97-4e2e-95f4-6a15e22f13c7",
|
|
"BindingInfo": {
|
|
"TableName": "项目表",
|
|
"ColumnName": "项目名称",
|
|
"GUID": "3b20d1db-744b-44c1-b375-dc719c94b921"
|
|
},
|
|
"ColumnName": "项目名称"
|
|
},
|
|
{
|
|
"GUID": "20ed3814-9aed-4e00-8918-7fe09d6e532d",
|
|
"BindingInfo": {
|
|
"TableName": "项目表",
|
|
"ColumnName": "项目状态",
|
|
"GUID": "45cf9a96-af0b-4a77-9d49-11592ff04081"
|
|
},
|
|
"ColumnName": "项目状态"
|
|
},
|
|
{
|
|
"GUID": "c8d399bf-99be-4642-bb28-aef461842efa",
|
|
"BindingInfo": {
|
|
"TableName": "项目表",
|
|
"ColumnName": "项目经理",
|
|
"GUID": "875ee18b-d7a8-42be-a90e-df248c82d1d5"
|
|
},
|
|
"ColumnName": "项目经理"
|
|
},
|
|
{
|
|
"GUID": "e2b6bb86-ac3f-4ec8-bc2a-93c80ac55f04",
|
|
"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": "472ea7eff9c04fa795980c20618170a4"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
|
"ParameterName": "反馈类型表",
|
|
"TableValue": {
|
|
"TableName": "反馈类型表",
|
|
"TableValueType": 1,
|
|
"BindingInfos": [
|
|
{
|
|
"GUID": "f05cbe68-992d-4cb2-b9b4-0b97cbeef8e5",
|
|
"BindingInfo": {
|
|
"TableName": "反馈类型表",
|
|
"ColumnName": "反馈类型",
|
|
"GUID": "4cf4c557-2d13-47a3-880a-11a97e9bee6e"
|
|
},
|
|
"ColumnName": "反馈类型"
|
|
}
|
|
],
|
|
"SqlCondition": {
|
|
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
|
"ColumnBindingInfo": {
|
|
"TableName": "反馈类型表",
|
|
"ColumnName": "ID",
|
|
"GUID": "25162896-537d-4f20-a57a-125d91133662"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=反馈类型"
|
|
}
|
|
},
|
|
"NullFormulaValueQueryPolicy": 0,
|
|
"TopCount": "1"
|
|
},
|
|
"ID": "474dc903edf4427983dc0c4f92c0c332"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
|
"ParameterName": "当前用户",
|
|
"ParameterValue": "%CurrentUser%",
|
|
"ID": "5841edd70613491daaa8f5e02731f9ba"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
|
"ParameterName": "任务",
|
|
"TableValue": {
|
|
"TableName": "任务表",
|
|
"TableValueType": 1,
|
|
"BindingInfos": [
|
|
{
|
|
"GUID": "46315531-ef75-4e94-b5c4-d77cb9cd8a9b",
|
|
"BindingInfo": {
|
|
"TableName": "任务表",
|
|
"ColumnName": "任务名称",
|
|
"GUID": "1c45b42c-aba6-44c7-ba53-0aaeedf6a9f6"
|
|
},
|
|
"ColumnName": "任务名称"
|
|
}
|
|
],
|
|
"SqlCondition": {
|
|
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
|
"ColumnBindingInfo": {
|
|
"TableName": "任务表",
|
|
"ColumnName": "ID",
|
|
"GUID": "e4ac11fa-f908-499d-8b80-fac491d9bd25"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=关联任务"
|
|
}
|
|
},
|
|
"NullFormulaValueQueryPolicy": 0,
|
|
"TopCount": "1"
|
|
},
|
|
"ID": "46f15f3c184f4297af3f0613bc1dcb90"
|
|
},
|
|
{
|
|
"$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": "41bf003b19804adaabb83493e51d4c69"
|
|
}
|
|
],
|
|
"ID": "d2b265d3-1114-45c4-9c20-f549e373e5bf"
|
|
},
|
|
{
|
|
"CommandList": [
|
|
{
|
|
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
|
"ParameterName": "获取任务描述",
|
|
"ID": "447b55424ece4c22ac00101950cd5d71"
|
|
}
|
|
],
|
|
"ID": "2f3d60dc-d15c-4108-8768-7482867399f6"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$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": [
|
|
{
|
|
"GUID": "dbf81214-9dd7-41f8-aa5d-f1841db23020",
|
|
"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": "c8a6d923aa5742c58030ea3dfb66bbd4"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
|
"ParameterName": "处理人",
|
|
"ParameterValue": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=任务.执行者"
|
|
},
|
|
"ID": "5ee2293c73d34429af9238e4cf5253c9"
|
|
}
|
|
],
|
|
"ID": "9724d5a0-42aa-46d4-8b73-688a20fc0cde"
|
|
},
|
|
{
|
|
"CommandList": [
|
|
{
|
|
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
|
"ParameterName": "处理人",
|
|
"ParameterValue": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=项目.项目经理"
|
|
},
|
|
"ID": "04fa5f13801e488d904cf5fdd6e7cd32"
|
|
}
|
|
],
|
|
"ID": "b12a4580-cb56-4aeb-bb7e-e761c78b81c5"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$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": "299f253110674735a00ec8d2450d5a25"
|
|
}
|
|
],
|
|
"ID": "4c60828e-a161-4a08-b329-3c98c0787c15"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
|
|
"TableName": "需求反馈登记表",
|
|
"UpdateType": "add",
|
|
"ShowConfirm": false,
|
|
"UpdateBindingValues": [
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "需求反馈登记表",
|
|
"ColumnName": "项目ID",
|
|
"GUID": "ad4258c3-5a78-4944-99c0-eb5bf2082c60"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=项目ID"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "需求反馈登记表",
|
|
"ColumnName": "标题",
|
|
"GUID": "24f36892-13d2-447c-b8f8-d3c8ededa003"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=标题"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "需求反馈登记表",
|
|
"ColumnName": "关联任务",
|
|
"GUID": "a3c10476-3ae8-44d4-aeca-4eb16d38e99c"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=关联任务"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "需求反馈登记表",
|
|
"ColumnName": "反馈类型",
|
|
"GUID": "9caead9d-7adb-431d-a32f-cf56e7ee53d0"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=反馈类型"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "需求反馈登记表",
|
|
"ColumnName": "内容",
|
|
"GUID": "ab7912d9-e2e4-424e-82b9-0011487553fd"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=内容"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "需求反馈登记表",
|
|
"ColumnName": "提交人",
|
|
"GUID": "ba627564-f894-4821-b235-08e82d7ed7ef"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=提交人"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "需求反馈登记表",
|
|
"ColumnName": "联系方式",
|
|
"GUID": "8167a720-81a1-47db-a25c-5ba6271864b3"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=联系方式"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "需求反馈登记表",
|
|
"ColumnName": "处理人",
|
|
"GUID": "9ce29dfd-cb43-42b4-a68b-17ffcc10dd6c"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=处理人"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "需求反馈登记表",
|
|
"ColumnName": "状态",
|
|
"GUID": "2662f0d5-9318-4147-886a-95fe05fd326a"
|
|
},
|
|
"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": "bbc6096b-7398-4ff1-9c7a-67852c8e35a2"
|
|
},
|
|
{
|
|
"CommandList": [
|
|
{
|
|
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
|
"ErrorCode": "400",
|
|
"Message": "该项目暂时关闭反馈通道,请联系商务经理!",
|
|
"CustomReturns": [
|
|
{
|
|
"ReturnPropertyName": "反馈编号"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"ID": "bc8a7c6e-fb44-496b-8368-76c019ebfb20"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"ReturnProperties": [
|
|
{
|
|
"Name": "反馈编号"
|
|
}
|
|
]
|
|
} |