Files
clue/ServerCommands/汇报/根据汇报模板生成内容.json

173 lines
5.0 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_Anonymous"
]
}
]
}
},
"HttpMethod": 3,
"Parameters": [
{
"Name": "生成日期",
"DataValidationInfo": {
"IgnoreBlank": false
},
"TestData": "2024/6/13"
},
{
"Name": "汇报类型",
"DataValidationInfo": {},
"TestData": "日报"
},
{
"Name": "汇报对象",
"DataValidationInfo": {}
},
{
"Name": "对象ID",
"DataValidationInfo": {}
},
{
"Name": "汇报人",
"DataValidationInfo": {
"IgnoreBlank": false
},
"TestData": "shamus"
}
],
"InvokeTriggerTestData": {
"UserName": "Administrator"
}
}
],
"Commands": [
{
"$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon",
"ServerCommandName": "Base根据汇报模板生成内容",
"Parameters": [
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "生成日期",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=生成日期"
}
},
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "汇报类型",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=汇报类型"
}
},
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "汇报对象",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=汇报对象"
}
},
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "对象ID",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=对象ID"
}
},
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "汇报人",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=汇报人"
}
}
],
"ResultErrorCodeTo": {
"SerializeProperty": "code"
},
"ResultMessageTo": {
"SerializeProperty": "msg"
},
"ReturnPropertiesTo": [
{
"ResultPropertyName": "日报内容",
"ResultTo": {
"SerializeProperty": "生成汇报内容"
}
},
{
"ResultPropertyName": "日报文本",
"ResultTo": {
"SerializeProperty": "返回纯文本"
}
},
{
"ResultPropertyName": "返回总工时",
"ResultTo": {
"SerializeProperty": "返回总工时"
}
}
],
"RefreshAfterFinish": true,
"CheckDataValidation": true
},
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": "成功",
"CustomReturns": [
{
"ReturnPropertyName": "日报内容",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=生成汇报内容"
}
},
{
"ReturnPropertyName": "日报文本",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=返回纯文本"
}
},
{
"ReturnPropertyName": "返回总工时",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=返回总工时"
}
}
]
}
],
"ReturnProperties": [
{
"Name": "日报内容"
},
{
"Name": "日报文本"
},
{
"Name": "返回总工时"
}
]
}