一开始页面是没有报错的,当我数据类型选择 FBA新品14天广告出单汇总,未选择业务时间时点击生成报告,结果生成成功,之后页面搜索就开始报错了

requests param
{"current":1,"pageSize":20,"input":{"CallServiceType":"#/AdvertisementReport2/AdvertisementReport"},"language":"zh-CN","MenuPath":"/advertisementreport2/advertisementreport","MenuName":"广告报表导出","MarketId":1}
response
{
"data": {
"MachineName": "ZHCX-ERP-DEV01",
"Type": "FormatException",
"Message": "String '10101' was not recognized as a valid DateTime.",
"BaseType": "FormatException",
"BaseMessage": "String '10101' was not recognized as a valid DateTime.",
"StackTrace": " at IrobotBox.AmazonAdvertising.Services.Implement.Common.CommonService.ToDateTimeByInt(Int32 dateValue) in D:\\Workspace\\SVN\\Irobotbox2021\\IrobotBoxAmazonAdvertisingCore\\Branch\\v20230207\\IrobotBox.AmazonAdvertising.Services\\Implement\\Common\\CommonService.cs:line 237\r\n at IrobotBox.AmazonAdvertising.Services.Implement.ReportCenter.Aad_ReportCenter_Performance_Service.<>c__DisplayClass4_0.<SearchViews>b__7(Aad_ReportCenter_Performance_Table_ViewModel l) in D:\\Workspace\\SVN\\Irobotbox2021\\IrobotBoxAmazonAdvertisingCore\\Branch\\v20230207\\IrobotBox.AmazonAdvertising.Services\\Implement\\ReportCenter\\Aad_ReportCenter_Performance_Service.cs:line 145\r\n at System.Collections.Generic.List`1.ForEach(Action`1 action)\r\n at IrobotBox.AmazonAdvertising.Services.Implement.ReportCenter.Aad_ReportCenter_Performance_Service.SearchViews(UserView userView, QueryBaseView`1 queryView) in D:\\Workspace\\SVN\\Irobotbox2021\\IrobotBoxAmazonAdvertisingCore\\Branch\\v20230207\\IrobotBox.AmazonAdvertising.Services\\Implement\\ReportCenter\\Aad_ReportCenter_Performance_Service.cs:line 126\r\n at IrobotBox.AmazonAdvertising.Web.Areas.ReportCenter.Controllers.ReportCenterPerformanceController.Search(QueryBaseView`1 queryView) in D:\\Workspace\\SVN\\Irobotbox2021\\IrobotBoxAmazonAdvertisingCore\\Branch\\v20230207\\IrobotBox.AmazonAdvertising.Web\\Areas\\ReportCenter\\Controllers\\ReportCenterPerformanceController.cs:line 29\r\n at lambda_method387(Closure , Object )\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)",
"BaseStackTrace": " at IrobotBox.AmazonAdvertising.Services.Implement.Common.CommonService.ToDateTimeByInt(Int32 dateValue) in D:\\Workspace\\SVN\\Irobotbox2021\\IrobotBoxAmazonAdvertisingCore\\Branch\\v20230207\\IrobotBox.AmazonAdvertising.Services\\Implement\\Common\\CommonService.cs:line 237\r\n at IrobotBox.AmazonAdvertising.Services.Implement.ReportCenter.Aad_ReportCenter_Performance_Service.<>c__DisplayClass4_0.<SearchViews>b__7(Aad_ReportCenter_Performance_Table_ViewModel l) in D:\\Workspace\\SVN\\Irobotbox2021\\IrobotBoxAmazonAdvertisingCore\\Branch\\v20230207\\IrobotBox.AmazonAdvertising.Services\\Implement\\ReportCenter\\Aad_ReportCenter_Performance_Service.cs:line 145\r\n at System.Collections.Generic.List`1.ForEach(Action`1 action)\r\n at IrobotBox.AmazonAdvertising.Services.Implement.ReportCenter.Aad_ReportCenter_Performance_Service.SearchViews(UserView userView, QueryBaseView`1 queryView) in D:\\Workspace\\SVN\\Irobotbox2021\\IrobotBoxAmazonAdvertisingCore\\Branch\\v20230207\\IrobotBox.AmazonAdvertising.Services\\Implement\\ReportCenter\\Aad_ReportCenter_Performance_Service.cs:line 126\r\n at IrobotBox.AmazonAdvertising.Web.Areas.ReportCenter.Controllers.ReportCenterPerformanceController.Search(QueryBaseView`1 queryView) in D:\\Workspace\\SVN\\Irobotbox2021\\IrobotBoxAmazonAdvertisingCore\\Branch\\v20230207\\IrobotBox.AmazonAdvertising.Web\\Areas\\ReportCenter\\Controllers\\ReportCenterPerformanceController.cs:line 29\r\n at lambda_method387(Closure , Object )\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)"
},
"status": "error",
"message": "String '10101' was not recognized as a valid DateTime."
}


