业务需求
需求描述

[步骤]



[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
= '2022-04-01 00:00:00' AND alias.AddDateTime <>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
历史记录  
  1. 2025-05-30 17:51:45, 由 曾翔 Bug转化而来,Bug编号为 57309 。
  2. 2025-06-27 10:04:53, 由 周杰 编辑。
    修改了 上线时间,旧值为 "2025-06-17",新值为 "0"。
  3. 2025-06-30 17:13:21, 由 周杰 编辑。
    修改了 指派给,旧值为 "yanglinjun",新值为 "ZengXiang"。
  4. 2025-08-02 09:42:22, 由 周杰 编辑。
    修改了 所属计划,旧值为 "",新值为 "1772"。
  5. 2025-09-05 16:52:26, 由 曾翔 关闭,原因为 已取消 。
    修改了 关闭原因,旧值为 "",新值为 "cancel"。
    修改了 当前状态,旧值为 "draft",新值为 "closed"。
    修改了 指派给 ,旧值为 "ZengXiang",新值为 "closed"。
    修改了 所处阶段,旧值为 "wait",新值为 "closed"。
    修改了 关闭日期,旧值为 "0000-00-00 00:00:00",新值为 "2025-09-05 16:52:26"。
    修改了 由谁关闭,旧值为 "",新值为 "曾翔"。
  6. 2025-09-11 20:56:32, 由 周杰 从计划 #1772 Sprint_SCM_暂不做 移除。
迭代版本
提报业务部门 技术研发中心
提报人员 曾翔
需求来源 产品自主提报需求
所属项目 技术中心-需求池
所属模块 供应链   产品采购   产品库
所属计划
业务价值
开发组 产品采购开发组
受益业务部门 技术研发中心
验收人员 杨林军
业务目标类型
中心业务目标
业务价值 提升人效
每月价值量 1
每月节省人数 1
优先级 P1
价值类型 长期价值
预计工时 1
成本 500
ROI 0.01
操作手册 否
高价值
主被动
复杂度
工作流ID
工作流创建时间
更新点
是否高危 否
评分
当前状态 已关闭
所处阶段 已关闭
关键词
评审次数 一次
计划上线 0000-00-00
上线时间 0000-00-00
计划验收时间 0000-00-00
业务验收时间
满意度
价值验收
满意度分值
业务回填价值
验收达成价值
验收达成ROI
抄送给 袁慧斌  
由谁创建 曾翔 于 2025-05-30 17:51:45
指派给 Closed 于 2025-08-02 09:42:20
由谁评审
评审时间
由谁关闭 曾翔 于 2025-09-05 16:52:26
关闭原因 已取消#1 test
最后修改 周杰 于 2025-08-02 09:42:20
来源Bug
相关Bug
相关用例
相关需求
细分需求