Files
clue/ServerCommands/汇报/批量生成日报.json

134 lines
5.8 KiB
JSON

{
"$type": "Forguncy.SaveLoad.ServerCommandSaveData, ServerDesignerCommon",
"Name": "批量生成日报",
"Enabled": true,
"Triggers": {
"$type": "System.Collections.Generic.List`1[[Forguncy.SaveLoad.TriggerSaveDataBase, ServerDesignerCommon]], System.Private.CoreLib",
"$values": [
{
"$type": "Forguncy.SaveLoad.PostRequestTriggerSaveData, ServerDesignerCommon",
"Permission": {
"$type": "Forguncy.SaveLoad.ServerCommandPermissionSaveData, ServerDesignerCommon",
"PermissionData": {
"$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionData, Forguncy.RbacPermission.Core",
"permissionResource": {
"$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionResource, Forguncy.RbacPermission.Core"
},
"permissionBindings": {
"$type": "System.Collections.Generic.List`1[[Forguncy.RbacPermission.Core.Impl.ServerCommand.IServerCommandPermissionBinding, Forguncy.RbacPermission.Core]], System.Private.CoreLib",
"$values": [
{
"$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionBinding, Forguncy.RbacPermission.Core",
"roleNames": {
"$type": "System.Collections.Generic.List`1[[System.String, System.Private.CoreLib]], System.Private.CoreLib",
"$values": [
"FGC_LoginUser"
]
}
}
]
}
}
},
"Parameters": {
"$type": "System.Collections.Generic.List`1[[Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon]], System.Private.CoreLib",
"$values": [
{
"$type": "Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon",
"Name": "开始日期",
"DataValidationInfo": {
"$type": "Forguncy.SaveLoad.DataValidationInfoSaveData, ServerDesignerCommon",
"IgnoreBlank": false
}
},
{
"$type": "Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon",
"Name": "结束日期",
"DataValidationInfo": {
"$type": "Forguncy.SaveLoad.DataValidationInfoSaveData, ServerDesignerCommon",
"IgnoreBlank": false
}
}
]
}
}
]
},
"Commands": {
"$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib",
"$values": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "计算天数",
"ParameterValue": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=DATEDIF(开始日期,结束日期,\"d\")"
},
"ID": "9e7be8264a684bd28d9b980ed9d0046e",
"BreakpointIdentity": "8fefbe14-bf22-4e54-9824-4edf480b65ba"
},
{
"$type": "Forguncy.Model.LoopCommand, ServerDesignerCommon",
"LoopInfo": {
"$type": "Forguncy.Model.CountLoopInfo, ServerDesignerCommon",
"LoopCount": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=计算天数"
},
"LoopIndexParamName": "index",
"LoopItemParamName": "Item"
},
"CommandList": {
"$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib",
"$values": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "当前日期",
"ParameterValue": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=开始日期+index-1"
},
"ID": "1e4286fe77b745d38610e368d75a065e",
"BreakpointIdentity": "7006eb9c-23cc-4f0c-89ff-8bd51176475d"
},
{
"$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon",
"ServerCommandName": "自动生成日报",
"Parameters": {
"$type": "System.Collections.Generic.List`1[[Forguncy.Model.RequestServerCommandParamBase, ServerDesignerCommon]], System.Private.CoreLib",
"$values": [
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "汇报日期",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=当前日期"
}
}
]
},
"ResultErrorCodeTo": {
"$type": "Forguncy.Common.FormulaCellLocation, ServerDesignerCommon",
"SerializeProperty": "code"
},
"ResultMessageTo": {
"$type": "Forguncy.Common.FormulaCellLocation, ServerDesignerCommon",
"SerializeProperty": "msg"
},
"RefreshAfterFinish": true,
"CheckDataValidation": true,
"BreakpointIdentity": "20ed368d-a00e-460d-9214-b26040495c46"
}
]
},
"BreakpointIdentity": "f0c4ddb3-cbba-44c6-9dff-00e17866a27e"
},
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": "执行完毕",
"BreakpointIdentity": "a5dc08f1-5b52-439e-9953-6ef4cb058aba"
}
]
}
}