569 lines
21 KiB
JSON
569 lines
21 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": "8df9b983-2ce9-4dc2-922a-f679e38bf456",
|
|
"BindingInfo": {
|
|
"TableName": "项目表",
|
|
"ColumnName": "项目名称",
|
|
"GUID": "3b20d1db-744b-44c1-b375-dc719c94b921"
|
|
},
|
|
"ColumnName": "项目名称"
|
|
},
|
|
{
|
|
"GUID": "3beb936c-5a81-4e85-9165-f3158a094755",
|
|
"BindingInfo": {
|
|
"TableName": "项目表",
|
|
"ColumnName": "项目状态",
|
|
"GUID": "45cf9a96-af0b-4a77-9d49-11592ff04081"
|
|
},
|
|
"ColumnName": "项目状态"
|
|
},
|
|
{
|
|
"GUID": "c729914e-cb52-44c4-8595-bf88e8d87859",
|
|
"BindingInfo": {
|
|
"TableName": "项目表",
|
|
"ColumnName": "项目经理",
|
|
"GUID": "875ee18b-d7a8-42be-a90e-df248c82d1d5"
|
|
},
|
|
"ColumnName": "项目经理"
|
|
},
|
|
{
|
|
"GUID": "0f0551a1-7e0d-440e-aa95-31e52c6c696b",
|
|
"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": "d4ef55e776e9446c95834eccd85916b4"
|
|
},
|
|
{
|
|
"$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": "de97885b-14f6-406f-937b-97b79bd12768",
|
|
"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": "d7bef5f0274f4a349218203ef1a2dc7c"
|
|
},
|
|
{
|
|
"$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": "412896d3dfd84eb99ee27643e7072235"
|
|
}
|
|
],
|
|
"ID": "defb695d-d19d-4c29-b0e9-73b40cf68fdc"
|
|
},
|
|
{
|
|
"CommandList": [
|
|
{
|
|
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
|
"ParameterName": "获取任务描述",
|
|
"ParameterValue": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=功能"
|
|
},
|
|
"ID": "5d68cbd5ae5d4d22ab061cf3659420f9"
|
|
}
|
|
],
|
|
"ID": "0e761f61-8a31-4466-9a33-d4b506d528e7"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$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": "8d9b41cf-2e2f-405b-aa8d-2f0ff4767ce9",
|
|
"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": "6b1db8e1bcf94f3bb92538b031528faa"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
|
"ParameterName": "处理人",
|
|
"ParameterValue": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=任务.执行者"
|
|
},
|
|
"ID": "1b3ebac6a8cb4ec095b12bf8e5c4115e"
|
|
}
|
|
],
|
|
"ID": "ddb42e26-8969-4702-a6a4-65e94c319314"
|
|
},
|
|
{
|
|
"CommandList": [
|
|
{
|
|
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
|
"ParameterName": "处理人",
|
|
"ParameterValue": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=项目.项目经理"
|
|
},
|
|
"ID": "06423efe302442ee9dbab0c23a871517"
|
|
}
|
|
],
|
|
"ID": "430b6829-9b6f-4f4c-a7e9-887a1904ffc4"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$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": "4f2a2cbe59474a5889ba4e89ea6fe69f"
|
|
}
|
|
],
|
|
"ID": "de3b5956-fe24-4d3a-9853-7019247eb4a6"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
|
|
"TableName": "需求反馈登记表",
|
|
"UpdateType": "add",
|
|
"ShowConfirm": false,
|
|
"UpdateBindingValues": [
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "需求反馈登记表",
|
|
"ColumnName": "项目ID",
|
|
"GUID": "4b0e5810-794e-47d7-af1f-d46167b725df"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=项目ID"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "需求反馈登记表",
|
|
"ColumnName": "标题",
|
|
"GUID": "65dc7a0b-e9a7-4614-badf-6c6b6845dfbf"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=提交人&\"提交的关于\"&关联任务&\"的\"&反馈类型表.反馈类型&\"类反馈\""
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "需求反馈登记表",
|
|
"ColumnName": "关联任务",
|
|
"GUID": "204dd7ef-7640-40a1-85a3-15a9c072b94d"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=关联任务"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "需求反馈登记表",
|
|
"ColumnName": "反馈类型",
|
|
"GUID": "48e90a59-4660-4c24-a05a-699ddec465bb"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=反馈类型"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "需求反馈登记表",
|
|
"ColumnName": "功能",
|
|
"GUID": "8ce66810-d524-4a14-aed0-137b5c725a77"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=功能"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "需求反馈登记表",
|
|
"ColumnName": "内容",
|
|
"GUID": "921d5203-cf29-4ef0-87a8-7e93b36b0ecd"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=内容"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "需求反馈登记表",
|
|
"ColumnName": "提交人",
|
|
"GUID": "7e70ea7b-e675-46f1-bf27-6a825309e8d1"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=提交人"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "需求反馈登记表",
|
|
"ColumnName": "联系方式",
|
|
"GUID": "b0588348-5809-4dfd-833d-691a51a1882b"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=联系方式"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "需求反馈登记表",
|
|
"ColumnName": "处理人",
|
|
"GUID": "2c08cf16-8f5d-48a4-b6d2-bcd8d1be8333"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=处理人"
|
|
}
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "需求反馈登记表",
|
|
"ColumnName": "状态",
|
|
"GUID": "b4f0a058-9c6d-4b69-8b1b-8d3d141feb7b"
|
|
},
|
|
"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": "a71b3cfd-1dba-47b4-a2e6-f239b6f0a4e6"
|
|
},
|
|
{
|
|
"CommandList": [
|
|
{
|
|
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
|
"ErrorCode": "400",
|
|
"Message": "该项目暂时关闭反馈通道,请联系商务经理!",
|
|
"CustomReturns": [
|
|
{
|
|
"ReturnPropertyName": "反馈编号"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"ID": "1dedef6f-6b9a-492b-905f-4152c9aa2f7a"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"ReturnProperties": [
|
|
{
|
|
"Name": "反馈编号"
|
|
}
|
|
]
|
|
} |