任务描述
declare @res table(item varchar(50));
insert into @res
exec proc_string_split @Skus,',' ;

select  CustomerID,SKU,ProductName,ProductNameCN,IsNeedCeCertification
                                   from   RB_Product (nolock) 
                                    where  CustomerID=@CustomerID
                                    and SKU IN (select * from @res) 
PARAMS:@CustomerID = 1 ,@Skus = 15381311,1528768,10382156,4748485,8351320,7000844,14459271,8065451,10338985,2143824,14962984,5788551,14062935,5651113,11034663,5062091,2258000,4140113,10085548,11980691,3304440,12669390,15731767,6967629,15829867,13598793,7227816,11055575,15905034,13358158,10546922,15563003,4638827,15904641,5592471,12356786,14842722,14594440,15325888,15010950,8199077,8984883,11885018,9831629,12136110,13097188,9271611,7199988,7033628,9010943,7581719,12604808,14833680,9527865,7960311,13774045,12062434,9835668,5121007,10467472,10845276,7723887,9527942,11805991,13590481,13445788,5250597,14556569,10405939,15832202,13882134,14511765,6850366,8119182,11345131,11669252,6045232,8806868,10098301,13273997,3989983,15026646,13181625,13775345,10734938,7790233,7164160,7369925,10254075,10169311,9856372,10153597,11914877,9288711,4191999,9911083,6595360,12632915,10617042,4143929,9813899,10733553,10617262,11807770,11164355,8327719,9948423,10115071,9743721,10200622,10240512,7147936,6367022,9830058,9831815,10948957,11412218,2380950,10151956,10229188,12008414,11152626,10605956,10251743,10602673,11364819,10627209,10787306,9183318,2930283 ,
MESSAGE:执行超时已过期。完成操作之前已超时或服务器未响应。 
TRACE:   在 System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
   在 System.Data.SqlClient.SqlInternalConnection.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.TryReadInternal(Boolean setTimeout, Boolean& more)
   在 System.Data.SqlClient.SqlDataReader.Read()
   在 System.Data.Common.DataAdapter.FillLoadDataRow(SchemaMapping mapping)
   在 System.Data.Common.DataAdapter.FillFromReader(DataSet dataset, DataTable datatable, String srcTable, DataReaderContainer dataReader, Int32 startRecord, Int32 maxRecords, DataColumn parentChapterColumn, Object parentChapterValue)
   在 System.Data.Common.DataAdapter.Fill(DataSet dataSet, String srcTable, IDataReader dataReader, Int32 startRecord, Int32 maxRecords)
   在 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.DALExtendV2.Generate.Product.RB_ProductExtendV2.GetProductListBySKUs(Int32 customerID, List`1 skus)
   在 PandaBuy.ERP.Web.IrobotBox.Restock.FBA.FBAPackageList.BindData()
   在 PandaBuy.ERP.Web.IrobotBox.Restock.FBA.FBAPackageList.Page_Load(Object sender, EventArgs e)
   在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(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.ProcessRequestWithNoAssert(HttpContext context)
   在 System.Web.UI.Page.ProcessRequest(HttpContext context)
   在 ASP.irobotbox_restock_fba_fbapackagelist_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.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
   在 System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)



整改方案:

1、改成表值参数,同时改成 join 表值参数。不要用in

历史记录  
  1. 2023-02-23 19:13:09, 由 黄金龙 创建。
  2. 2023-02-27 09:32:26, 由 何建宝 编辑。
    修改了 所属模块,旧值为 "0",新值为 "1742"。
    修改了 指派给 ,旧值为 "xuruifeng",新值为 "chengwei"。
    修改了 开发组 ,旧值为 "1",新值为 "4"。

    FBAPackageList.aspx

    FBA备库包裹页面功能

  3. 2023-04-24 20:09:16, 由 程伟 完成。
    修改了 总计消耗,旧值为 "0",新值为 "1"。
    修改了 指派给 ,旧值为 "chengwei",新值为 "wugaofa"。
    修改了 实际完成,旧值为 "",新值为 "2023-04-24 20:09:01"。
    修改了 任务状态,旧值为 "wait",新值为 "done"。
    修改了 实际开始,旧值为 "0000-00-00 00:00:00",新值为 "2023-04-24 20:09:16"。
    修改了 由谁完成,旧值为 "",新值为 "chengwei"。

    秒查询

  4. 2023-04-25 17:19:06, 由 吴高发 关闭。
    修改了 任务状态,旧值为 "done",新值为 "closed"。
    修改了 指派给 ,旧值为 "wugaofa",新值为 "closed"。
    修改了 由谁关闭,旧值为 "",新值为 "wugaofa"。
    修改了 关闭时间,旧值为 "0000-00-00 00:00:00",新值为 "2023-04-25 17:19:06"。
    修改了 关闭原因,旧值为 "",新值为 "done"。
所属迭代 系统管理部 - 系统服务优化
所属模块 /
相关需求 暂无
指派给 Closed 于 2023-04-25 17:19:06
任务类型 运维
任务标签 初始
开发组
任务状态 已关闭
进度 100%
优先级 P2
关键词
抄送给
由谁创建 黄金龙 于 2023-02-23 19:13:09
由谁完成 程伟 于 2023-04-24 20:09:01
由谁取消 暂无
由谁关闭 吴高发 于 2023-04-25 17:19:06
关闭原因 已完成
最后编辑 吴高发 于 2023-04-25 17:19:06
团队 最初预计 总计消耗 预计剩余
工时信息
最初预计 0工时
总计消耗 1工时
预计剩余 0工时
预计开始 0000-00-00
实际开始 2023-04-24
截止日期 0000-00-00