重现步骤

[步骤]


[03:40:45]  -------------------------------------------------------------
CODE:N034045142
Error:11_-2_0_-2146232060
SQL:UPDATE RB_OrderInfo SET UpdateTime = Getdate(), SaveTrackNumbersTime = @NewTrackTime_0, NewTrackTime=@NewLongTrackTime_0, TrackNumbers = @TrackNumbers_0 WHERE OrderCode = @OrderCode_0 AND CustomerID = @CustomerID_0  AND NewTrackTime=@LongTrackTime_0  AND TransportID = @TransportID_0  AND ISNULL( LogisticsOrderNo,'')='' AND ISNULL(LogisticsOrderNo1,'')='' AND ISNULL(TrackNumbers,'')='' ;
PARAMS:@NewTrackTime_0 = 2026/1/20 3:39:52 ,@NewLongTrackTime_0 = 1768851592869 ,@TrackNumbers_0 = UK848683478YP ,@OrderCode_0 = 202601200315227904187 ,@CustomerID_0 = 1 ,@LongTrackTime_0 = 1768851592615 ,@TransportID_0 = 4803 ,
MESSAGE:执行超时已过期。完成操作之前已超时或服务器未响应。 
The statement has been terminated.
TRACE:   在 System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
   在 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
   在 System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
   在 System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
   在 System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
   在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
   在 System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
   在 System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   在 RB.DAL.DBOperator.ExecuteSql(String SQLString, SqlCommand cmd, Int32 Times, SqlParameter[] cmdParms)   在 RB.DAL.DBOperator.toCommonTipException(SqlException ex, String sql, SqlParameter[] cmdParms)
   在 RB.DAL.DBOperator.ExecuteSql(String SQLString, SqlCommand cmd, Int32 Times, SqlParameter[] cmdParms)
   在 RB.DALExtend.RB_OrderInfoExtend.UpdateOrderTrackNumberByOrderCode(List`1 parameters, Boolean isPrebuild, Boolean isTrunNo)
   在 Biz.Irobotbox.Express.CallBackService.ExpressTrackCallBackService.Save(ExpressRequest parameter, RB_TempTransportRequest apiResult)
   在 Biz.Irobotbox.Express.CallBackService.ExpressTrackCallBackService.ExecuteForSystemService(ApiCallBackParameter parameter)
   在 RB.WebApi.ApiCode.API_Methods.PreBuild(PreBuildRequest preBuildRequest)
   在 System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   在 System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   在 System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   在 RB.WebApi.ApiCode.API_Entrance.ProcessRequest(HttpContext context)
   在 System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   在 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
   在 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
   在 System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error)
   在 System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb)
   在 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)
   在 System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
   在 System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)

[结果]


[期望]

检查参数类型是否和数据库的一直 并修复
历史记录  
  1. 2026-01-20 13:47:07, 由 袁慧斌 创建。
  2. 2026-01-20 13:48:08, 由 李乐同 指派给 程伟。
    修改了 指派给,旧值为 "liletong",新值为 "chengwei"。
  3. 2026-01-20 13:51:38, 由 程伟 添加备注。
    一次只更新一条数据,WHERE条件是订单号,有索引,能命中一条唯一的数据,并且只更新四个字段。


    是不是其他功能批量更新锁住了订单表导致的
  4. 2026-01-20 14:11:34, 由 袁慧斌 编辑。
    修改了 严重程度,旧值为 "1",新值为 "2"。
    修改了 解决时效,旧值为 "0",新值为 "-1"。
  5. 2026-01-20 14:46:03, 由 程伟 解决,方案为 性能问题 。
    修改了 解决方案,旧值为 "",新值为 "performance"。
    修改了 解决版本,旧值为 "",新值为 "trunk"。
    修改了 解决日期,旧值为 "",新值为 "2026-01-20 14:45:27"。
    修改了 指派给 ,旧值为 "chengwei",新值为 "yuanhuibin"。
    修改了 Bug状态 ,旧值为 "active",新值为 "resolved"。
    修改了 是否确认,旧值为 "0",新值为 "1"。
    修改了 解决者 ,旧值为 "",新值为 "chengwei"。
    WHERE条件字段已指定数据类型,已提测
  6. 2026-01-20 21:24:58, 由 袁慧斌 编辑。
    修改了 开发责任人,旧值为 "",新值为 "chengwei"。
    修改了 测试责任人,旧值为 "",新值为 "admin"。
    修改了 解决时效 ,旧值为 "0",新值为 "0.97"。
    修改了 截止日期 ,旧值为 "0000-00-00",新值为 "2026-01-20"。
    修改了 上线时间 ,旧值为 "0000-00-00 00:00:00",新值为 "2026-01-20 21:24"。
    修改了 上线时效 ,旧值为 "-1",新值为 "7.61"。
  7. 2026-01-20 21:25:01, 由 袁慧斌 关闭。
    修改了 Bug状态 ,旧值为 "resolved",新值为 "closed"。
    修改了 指派给 ,旧值为 "yuanhuibin",新值为 "closed"。
    修改了 由谁关闭,旧值为 "",新值为 "yuanhuibin"。
    修改了 关闭日期,旧值为 "",新值为 "2026-01-20 21:25:01"。
所属项目 技术中心-需求池
所属模块 供应链   仓储物流   物流
所属计划
所属迭代
Bug类型
严重程度 一般
优先级 P1
Bug状态 已关闭
业务部门 供应链管理中心
影响功能
开发责任人 程伟
测试责任人 admin
解决时效 0.97
激活次数 0
激活日期
是否确认 是
当前指派 Closed 于 2026-01-20 21:25:01
截止日期 2026-01-20
上线时间 2026-01-20 21:24:00
上线时效 7.61
操作系统
浏览器
关键词
抄送给
所属迭代
相关需求
相关任务
由谁创建 袁慧斌 于 2026-01-20 13:47:07
影响环境 生产环境-线上测试
由谁解决 程伟 于 2026-01-20 14:45:27
解决版本 主干
解决方案 性能问题
由谁关闭 袁慧斌 于 2026-01-20 21:25:01
最后修改 袁慧斌 于 2026-01-20 21:25:01
相关Bug