重现步骤

[步骤]



[14:52:38]  -------------------------------------------------------------
CODE:N1452382
Error:11_-2_0_-2146232060
SQL:SELECT 
 alias.ID,
 alias.PayNo ,
 ISNULL(alias.IsAlibabaSingle, 0) AS IsAlibabaSingle ,
 alias.SumPayAmount,
 SUM(pdbd.ActualBuyNum * (ISNULL(pdbd.ActualProductPrice, 0) - ISNULL(pdbd.UnitMinus, 0) + ISNULL(pdbd.UnitShipFee, 0))) AS ActualBuyAmount,
 SUM(pdbd.ActualPutNum * (ISNULL(pdbd.ActualProductPrice, 0) - ISNULL(pdbd.UnitMinus, 0) + ISNULL(pdbd.UnitShipFee, 0))) AS ActualPutAmount
FROM RB_Payment_Application (NOLOCK) alias
 INNER JOIN RB_Payment_Application_Detail a ( NOLOCK ) ON a.PayNo = alias.PayNo AND alias.CustomerID = a.CustomerID
 INNER JOIN RB_Procurement_Detail_SingleList b ( NOLOCK ) ON a.Single_NO = b.Single_NO AND b.CustomerID = a.CustomerID
 LEFT JOIN RB_Product_Supplier_PaymentDay c ( NOLOCK ) ON c.ID = b.PaymentDay
 LEFT JOIN RB_Procurement_Detail_BuyList pdb ON pdb.Single_NO=a.Single_NO AND pdb.CustomerID=a.CustomerID
 LEFT JOIN RB_Procurement_Detail_BuyList_Detail (NOLOCK) pdbd ON pdb.ListNo = pdbd.ListNo AND pdb.CustomerID = pdbd.CustomerID
WHERE b.IsNewFlow = 1 AND alias.CustomerID=1  AND alias.AddDateTime >= '2022-04-01 00:00:00' AND alias.AddDateTime <= '2025-05-22 23:59:59' and alias.StepState <>0 GROUP BY 
alias.[ID],
alias.[PayNo],
alias.[IsAlibabaSingle],
alias.[SumPayAmount] 
PARAMS:
MESSAGE:执行超时已过期。完成操作之前已超时或服务器未响应。 
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.SqlDataReader.TryConsumeMetaData()
   在 System.Data.SqlClient.SqlDataReader.get_MetaData()
   在 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.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
   在 System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
   在 System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
   在 System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
   在 System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable)
   在 RB.DAL.DBOperator.Query(String SQLString, SqlCommand cmd, Int32 Times, SqlParameter[] cmdParms, Boolean IsWriteDB)   在 RB.DAL.DBOperator.toCommonTipException(SqlException ex, String sql, SqlParameter[] cmdParms)
   在 RB.DAL.DBOperator.Query(String SQLString, SqlCommand cmd, Int32 Times, SqlParameter[] cmdParms, Boolean IsWriteDB)
   在 RB.DALExtend.RB_Payment_ApplicationExtend.GetSumPayAmountAndIsAlibabaSingleList(RB_Payment_Application_PSParameters parameters)
   在 PandaBuy.ERP.Web.IrobotBox.ProcurementV2.Paymen.PaymentApplicationList.Page_Load(Object sender, EventArgs e)
   在 System.Web.UI.Control.OnLoad(EventArgs e)
   在 System.Web.UI.Control.LoadRecursive()
   在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   在 System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   在 System.Web.UI.Page.ProcessRequest()
   在 System.Web.UI.Page.ProcessRequest(HttpContext context)
   在 ASP.irobotbox_procurementv2_paymen_paymentapplicationlist_aspx.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)
   在 System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)
   在 System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)
   在 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. 2025-05-22 15:48:10, 由 袁慧斌 创建。
  2. 2025-05-22 15:48:50, 由 李乐同 指派给 何建宝。
    修改了 指派给,旧值为 "liletong",新值为 "hejianbao"。
  3. 2025-05-22 15:58:38, 由 何建宝 指派给 宋宇。
    修改了 指派给,旧值为 "hejianbao",新值为 "songyu"。
  4. 2025-05-22 16:01:23, 由 宋宇 指派给 曾翔。
    修改了 指派给,旧值为 "songyu",新值为 "ZengXiang"。
    该问题是由于操作人员选择的时间范围太大导致,产品看是否需要限制时间区间?
  5. 2025-05-30 17:51:45, 由 曾翔 转为 需求,编号为 #28963 采购单查询 超时 返回了 大量数据 。
  6. 2025-05-30 17:51:45, 由 曾翔 关闭。
  7. 2025-06-03 09:00:18, 由 陈莉珍 编辑。
    修改了 测试责任人,旧值为 "",新值为 "ZengXiang"。
    修改了 解决时效 ,旧值为 "0",新值为 "146.06"。
    修改了 解决版本 ,旧值为 "",新值为 "trunk"。
    修改了 解决方案 ,旧值为 "tostory",新值为 "performance"。
    修改了 是否确认 ,旧值为 "0",新值为 "1"。
所属项目 技术中心-需求池
所属模块 供应链   产品采购   采购
所属计划
所属迭代
Bug类型
严重程度 一般
优先级 P2
Bug状态 已关闭
业务部门 供应链管理中心
影响功能
开发责任人 曾翔
测试责任人 曾翔
解决时效 146.06
激活次数 0
激活日期
是否确认 是
当前指派 Closed 于 2025-06-03 09:00:18
截止日期 0000-00-00
上线时间 2025-05-30 17:50:00
上线时效 146.03
操作系统
浏览器
关键词
抄送给
所属迭代
相关需求
相关任务
由谁创建 袁慧斌 于 2025-05-22 15:48:10
影响环境 生产环境-业务反馈
由谁解决 曾翔 于 2025-05-30 17:51:45
解决版本 主干
解决方案 性能问题
由谁关闭 曾翔 于 2025-05-30 17:51:45
最后修改 陈莉珍 于 2025-06-03 09:00:18