[步骤]

[结果]
错误中文提示
: 实体与表映射出错。Unable to convert MySQL date/time value to System.DateTime
Chinese Message : Entity mapping error.Unable to convert MySQL date/time
value to System.DateTime_{"Type":"SqlSugarException","Message":"中文提示 :
实体与表映射出错。Unable to convert MySQL date/time value to
System.DateTime\r\nChinese Message : Entity mapping error.Unable to
convert MySQL date/time value to
System.DateTime","BaseType":"SqlSugarException","BaseMessage":"中文提示 :
实体与表映射出错。Unable to convert MySQL date/time value to
System.DateTime\r\nChinese Message : Entity mapping error.Unable to
convert MySQL date/time value to System.DateTime","StackTrace":" at
SqlSugar.Check.Exception(Boolean isException, String message, String[]
args)\n at
SqlSugar.DbBindAccessory.GetEntityListAsync[T](SqlSugarProvider context,
IDataReader dataReader)\n at
SqlSugar.DbBindProvider.DataReaderToListAsync[T](Type type, IDataReader
dataReader)\n at
SqlSugar.QueryableProvider`1.GetDataAsync[TResult](Boolean
isComplexModel, Type entityType, IDataReader dataReader)\n at
SqlSugar.QueryableProvider`1.GetDataAsync[TResult](KeyValuePair`2
sqlObj)\n at SqlSugar.QueryableProvider`1._ToListAsync[TResult]()\n
at SqlSugar.QueryableProvider`1.ToPageListAsync(Int32 pageIndex, Int32
pageSize, RefAsync`1 totalNumber)\n at
IrobotBox.MarketPublish.Services.Implement.HandPublish.Market.Hp_HandPublish_Walmart_Service.GetList(UserView
user, QueryBaseView`1 request) in
/src/IrobotBox.MarketPublish.Services/Implement/HandPublish/Market/Hp_HandPublish_Walmart_Service.cs:line
72\n at
IrobotBox.MarketPublish.Services.Implement.HandPublish.Hp_HandPublish_Service.SearchViews(UserView
userView, QueryBaseView`1 queryView) in
/src/IrobotBox.MarketPublish.Services/Implement/HandPublish/Hp_HandPublish_Service.cs:line
106\n at
IrobotBox.MarketPublish.Web.Areas.HandPublish.Controllers.HandPublishController.Search(QueryBaseView`1
queryView) in
/src/IrobotBox.MarketPublish.Web/Areas/HandPublish/HandPublishController.cs:line
33\n at lambda_method4261(Closure , Object , Object[] )\n at
Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncActionResultExecutor.Execute(IActionResultTypeMapper
mapper, ObjectMethodExecutor executor, Object controller, Object[]
arguments)\n at
Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync()\n
at
Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State&
next, Scope& scope, Object& state, Boolean& isCompleted)\n
at
Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync()\n---
End of stack trace from previous location ---\n at
Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed
context)\n at
Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State&
next, Scope& scope, Object& state, Boolean& isCompleted)\n
at
Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()\n---
End of stack trace from previous location ---\n at
Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker
invoker, Task lastTask, State next, Scope scope, Object state, Boolean
isCompleted)","BaseStackTrace":" at SqlSugar.Check.Exception(Boolean
isException, String message, String[] args)\n at
SqlSugar.DbBindAccessory.GetEntityListAsync[T](SqlSugarProvider context,
IDataReader dataReader)\n at
SqlSugar.DbBindProvider.DataReaderToListAsync[T](Type type, IDataReader
dataReader)\n at
SqlSugar.QueryableProvider`1.GetDataAsync[TResult](Boolean
isComplexModel, Type entityType, IDataReader dataReader)\n at
SqlSugar.QueryableProvider`1.GetDataAsync[TResult](KeyValuePair`2
sqlObj)\n at SqlSugar.QueryableProvider`1._ToListAsync[TResult]()\n
at SqlSugar.QueryableProvider`1.ToPageListAsync(Int32 pageIndex, Int32
pageSize, RefAsync`1 totalNumber)\n at
IrobotBox.MarketPublish.Services.Implement.HandPublish.Market.Hp_HandPublish_Walmart_Service.GetList(UserView
user, QueryBaseView`1 request) in
/src/IrobotBox.MarketPublish.Services/Implement/HandPublish/Market/Hp_HandPublish_Walmart_Service.cs:line
72\n at
IrobotBox.MarketPublish.Services.Implement.HandPublish.Hp_HandPublish_Service.SearchViews(UserView
userView, QueryBaseView`1 queryView) in
/src/IrobotBox.MarketPublish.Services/Implement/HandPublish/Hp_HandPublish_Service.cs:line
106\n at
IrobotBox.MarketPublish.Web.Areas.HandPublish.Controllers.HandPublishController.Search(QueryBaseView`1
queryView) in
/src/IrobotBox.MarketPublish.Web/Areas/HandPublish/HandPublishController.cs:line
33\n at lambda_method4261(Closure , Object , Object[] )\n at
Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncActionResultExecutor.Execute(IActionResultTypeMapper
mapper, ObjectMethodExecutor executor, Object controller, Object[]
arguments)\n at
Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync()\n
at
Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State&
next, Scope& scope, Object& state, Boolean& isCompleted)\n
at
Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync()\n---
End of stack trace from previous location ---\n at
Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed
context)\n at
Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State&
next, Scope& scope, Object& state, Boolean& isCompleted)\n
at
Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()\n---
End of stack trace from previous location ---\n at
Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker
invoker, Task lastTask, State next, Scope scope, Object state, Boolean
isCompleted)"}
[期望]
搜索功能正常


搜索条件为空时,点击搜索报错
错误