重现步骤

[步骤]

SELECT pro.CustomerID,
                                   pro.SKU,
                                   pro.SKU SystemSKU,
                                   pro.ProductName,
                                   pro.ProductNameCN,
                                   Isnull(pro.PackWeight, 0)          PackWeight,
                                   Isnull(pro.GrossWeight, 0)         GrossWeight,
                                   Isnull(pro.Length, 0)              Length,
                                   Isnull(pro.Width, 0)               Width,
                                   Isnull(pro.Height, 0)              Height,
                                   Isnull(pro.Pack_Length, 0)         PackLength,
                                   Isnull(pro.Pack_Width, 0)          PackWidth,
                                   Isnull(pro.Pack_Height, 0)         PackHeight,
                                   Isnull(pro.WithBattery, 0)         WithBattery,
                                   Isnull(pd.DeclarationPriceRate, 0) DeclarationPrice,
                                   pd.DeclarationName,
                                   pd.DeclarationNameCN,
                                   pd.DeclarationCode,
                                   pro.ProductSpec,
                                   pb.BrandName,
                                   pro.ClientSKU,
                                   ProductColor,
                                   pro.ImageUrl,
                                   pc.ClassNameCn as ClassNameCn1,
                                   pc1.ClassNameCn as ClassNameCn2,
                                   pc2.ClassNameCn as ClassNameCn3,
                                   IsNull(pro.IsGroup,0) AS IsGroup,
                                   ISNULL(pb.BrandType,0) as BrandType
                            FROM   RB_Product pro WITH(NOLOCK)
                                   LEFT JOIN RB_Product_Declaration pd WITH(NOLOCK)
                                     ON pro.CustomerID = pd.CustomerID
                                        AND pro.SKU = pd.SKU
                                   LEFT JOIN RB_Product_Brand pb WITH(NOLOCK)
                                        ON pb.CustomerID=pro.CustomerID 
                                        AND pb.ID=pro.BrandID 
                                   LEFT JOIN  RB_Product_Class pc WITH(NOLOCK)
                                       ON pc.CustomerID=pro.CustomerID
                                       AND pc.ID=pro.ClassID  
                                   LEFT JOIN  RB_Product_Class pc1 WITH(NOLOCK)
                                       ON pc1.CustomerID=pro.CustomerID
                                       AND pc1.ID=pro.ClassID1
                                   LEFT JOIN  RB_Product_Class pc2 WITH(NOLOCK)
                                       ON pc2.CustomerID=pro.CustomerID
                                       AND pc2.ID=pro.ClassID2
                            WHERE  pro.CustomerID = 1
                                   AND pro.SKU IN( '3578441','18815221'


18811212','21705572','14930723','11614617','14306276','9320760','18971891','20343781','19298757','19224110','13450856','20969905','17027406','19590106','9218734','6184756','4175134','12892595','8646958','8776823','15863726','3363820','3662242','5096725','2362287','3131126','8907811','2595276','13051505','21553972','18987499','12027263','17083717','9334646','11898782','12615133','17380235','16118004','17104417','17642535','17879554','15872661','16103329','10759002','15872448','12122508','9067340','9531849','12418386','17766104','10294706','15557840','9436215','12859512','13487624','14532483','17736302','6675571','16196058','16627251','10193805','15775961','15704464','16214070','18006544','12474840','17039254','13837215','15295592','16037832','15749543','10463699','15748334','11585519','20218289','11768386','19473017','17189654','17839904','16144792','17456798','8241450','20746955','18678499','20739269','8722564','19395423','14883558','7591911','2908305','17030474','3810744','15884841','19065896','16768823','17579438','7986306','6925106','5772772','17215144','12007684','4436666','21638553','21412282','19008193','4334555','15413887','19921872','11247816','2185209','13413131','7239848','11073133','19048113','1647594','1647570','19089036','19202711','20642773','4099029','12500053','14162863','9883839','5508992','17924565','14660776','13266396','3892775','4242911','9317872','1463899','18981240','20090493','19634000','21315376','9268781','17472271','11151225','12027571','20981152','18709471','8059519','13575796','12620376','3215401','10416680','20907000','16207071','16604690','13020886','10622154','1843869','13149050','19598507','20632765','18023067','13373221','17511584','16924426','15456008','16277500','17552679','13895240','11662867','19099573' )
                            ORDER  BY pro.ID DESC 
PARAMS:@CustomerID = 1 ,
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_ProductExtend.GetProductListToOverseasBySKU(Int32 customerID, List`1 skus)
   在 Biz.Irobotbox.ReStock.RemovalOrderService.SynRemovalOrderProductToWMS(List`1 paramList, Int32 adminId, String userName)
   在 Biz.Irobotbox.ReStock.RemovalOrderService.SynBaseDataToWMS(String removalCode)
   在 ChinaDownLoadImage.Task.Task_RemovalOrder_SynBaseDataToWMS.Execute()
   在 RB.Utility.SystemTask.<doTask>b__43_0()
   在 System.Threading.Tasks.Task.Execute()
   在 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   在 System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
   在 System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
   在 System.Threading.ThreadPoolWorkQueue.Dispatch()


[结果]


[期望]

分批次查询   减少SKU 的数量 


历史记录  
  1. 2026-04-10 09:26:31, 由 袁慧斌 创建。
  2. 2026-04-10 09:27:14, 由 李乐同 指派给 何建宝。
    修改了 指派给,旧值为 "liletong",新值为 "hejianbao"。
  3. 2026-04-10 09:47:18, 由 何建宝 指派给 鞠智明。
    修改了 指派给,旧值为 "hejianbao",新值为 "juzhiming"。
    移除订单的问题看下
  4. 2026-04-10 11:11:59, 由 鞠智明 解决,方案为 性能问题 。
    修改了 解决方案,旧值为 "",新值为 "performance"。
    修改了 解决版本,旧值为 "",新值为 "trunk"。
    修改了 解决日期,旧值为 "",新值为 "2026-04-10 11:11:39"。
    修改了 指派给 ,旧值为 "juzhiming",新值为 "liuchao"。
    修改了 Bug状态 ,旧值为 "active",新值为 "resolved"。
    修改了 是否确认,旧值为 "0",新值为 "1"。
    修改了 解决者 ,旧值为 "",新值为 "juzhiming"。
    已解决
  5. 2026-04-10 11:23:36, 由 刘超 编辑。
    修改了 测试责任人,旧值为 "",新值为 "yuanhuibin"。
    修改了 解决时效 ,旧值为 "0",新值为 "1.75"。
    修改了 重现步骤 ,区别为:
    002- SELECT pro.CustomerID, pro.SKU, pro.SKU SystemSKU, pro.ProductName, pro.ProductNameCN, Isnull(pro.PackWeight, 0) PackWeight, Isnull(pro.GrossWeight, 0) GrossWeight, Isnull(pro.Length, 0) Length, Isnull(pro.Width, 0) Width, Isnull(pro.Height, 0) Height, Isnull(pro.Pack_Length, 0) PackLength, Isnull(pro.Pack_Width, 0) PackWidth, Isnull(pro.Pack_Height, 0) PackHeight, Isnull(pro.WithBattery, 0) WithBattery, Isnull(pd.DeclarationPriceRate, 0) DeclarationPrice, pd.DeclarationName, pd.DeclarationNameCN, pd.DeclarationCode, pro.ProductSpec, pb.BrandName, pro.ClientSKU, ProductColor, pro.ImageUrl, pc.ClassNameCn as ClassNameCn1, pc1.ClassNameCn as ClassNameCn2, pc2.ClassNameCn as ClassNameCn3, IsNull(pro.IsGroup,0) AS IsGroup, ISNULL(pb.BrandType,0) as BrandType FROM RB_Product pro WITH(NOLOCK) LEFT JOIN RB_Product_Declaration pd WITH(NOLOCK) ON pro.CustomerID = pd.CustomerID AND pro.SKU = pd.SKU LEFT JOIN RB_Product_Brand pb WITH(NOLOCK) ON pb.CustomerID=pro.CustomerID AND pb.ID=pro.BrandID LEFT JOIN RB_Product_Class pc WITH(NOLOCK) ON pc.CustomerID=pro.CustomerID AND pc.ID=pro.ClassID LEFT JOIN RB_Product_Class pc1 WITH(NOLOCK) ON pc1.CustomerID=pro.CustomerID AND pc1.ID=pro.ClassID1 LEFT JOIN RB_Product_Class pc2 WITH(NOLOCK) ON pc2.CustomerID=pro.CustomerID AND pc2.ID=pro.ClassID2 WHERE pro.CustomerID = 1 AND pro.SKU IN( '3578441','18815221'
    002+ SELECT pro.CustomerID, pro.SKU, pro.SKU SystemSKU, pro.ProductName, pro.ProductNameCN, Isnull(pro.PackWeight, 0) PackWeight, Isnull(pro.GrossWeight, 0) GrossWeight, Isnull(pro.Length, 0) Length, Isnull(pro.Width, 0) Width, Isnull(pro.Height, 0) Height, Isnull(pro.Pack_Length, 0) PackLength, Isnull(pro.Pack_Width, 0) PackWidth, Isnull(pro.Pack_Height, 0) PackHeight, Isnull(pro.WithBattery, 0) WithBattery, Isnull(pd.DeclarationPriceRate, 0) DeclarationPrice, pd.DeclarationName, pd.DeclarationNameCN, pd.DeclarationCode, pro.ProductSpec, pb.BrandName, pro.ClientSKU, ProductColor, pro.ImageUrl, pc.ClassNameCn as ClassNameCn1, pc1.ClassNameCn as ClassNameCn2, pc2.ClassNameCn as ClassNameCn3, IsNull(pro.IsGroup,0) AS IsGroup, ISNULL(pb.BrandType,0) as BrandType FROM RB_Product pro WITH(NOLOCK) LEFT JOIN RB_Product_Declaration pd WITH(NOLOCK) ON pro.CustomerID = pd.CustomerID AND pro.SKU = pd.SKU LEFT JOIN RB_Product_Brand pb WITH(NOLOCK) ON pb.CustomerID=pro.CustomerID AND pb.ID=pro.BrandID LEFT JOIN RB_Product_Class pc WITH(NOLOCK) ON pc.CustomerID=pro.CustomerID AND pc.ID=pro.ClassID LEFT JOIN RB_Product_Class pc1 WITH(NOLOCK) ON pc1.CustomerID=pro.CustomerID AND pc1.ID=pro.ClassID1 LEFT JOIN RB_Product_Class pc2 WITH(NOLOCK) ON pc2.CustomerID=pro.CustomerID AND pc2.ID=pro.ClassID2 WHERE pro.CustomerID = 1 AND pro.SKU IN( '3578441','18815221'
    002- <p>SELECT pro.CustomerID,<br /> pro.SKU,<br /> pro.SKU SystemSKU,<br /> pro.ProductName,<br /> pro.ProductNameCN,<br /> Isnull(pro.PackWeight, 0) PackWeight,<br /> Isnull(pro.GrossWeight, 0) GrossWeight,<br /> Isnull(pro.Length, 0) Length,<br /> Isnull(pro.Width, 0) Width,<br /> Isnull(pro.Height, 0) Height,<br /> Isnull(pro.Pack_Length, 0) PackLength,<br /> Isnull(pro.Pack_Width, 0) PackWidth,<br /> Isnull(pro.Pack_Height, 0) PackHeight,<br /> Isnull(pro.WithBattery, 0) WithBattery,<br /> Isnull(pd.DeclarationPriceRate, 0) DeclarationPrice,<br /> pd.DeclarationName,<br /> pd.DeclarationNameCN,<br /> pd.DeclarationCode,<br /> pro.ProductSpec,<br /> pb.BrandName,<br /> pro.ClientSKU,<br /> ProductColor,<br /> pro.ImageUrl,<br /> pc.ClassNameCn as ClassNameCn1,<br /> pc1.ClassNameCn as ClassNameCn2,<br /> pc2.ClassNameCn as ClassNameCn3,<br /> IsNull(pro.IsGroup,0) AS IsGroup,<br /> ISNULL(pb.BrandType,0) as BrandType<br /> FROM RB_Product pro WITH(NOLOCK)<br /> LEFT JOIN RB_Product_Declaration pd WITH(NOLOCK)<br /> ON pro.CustomerID = pd.CustomerID<br /> AND pro.SKU = pd.SKU<br /> LEFT JOIN RB_Product_Brand pb WITH(NOLOCK)<br /> ON pb.CustomerID=pro.CustomerID<br /> AND pb.ID=pro.BrandID<br /> LEFT JOIN RB_Product_Class pc WITH(NOLOCK)<br /> ON pc.CustomerID=pro.CustomerID<br /> AND pc.ID=pro.ClassID<br /> LEFT JOIN RB_Product_Class pc1 WITH(NOLOCK)<br /> ON pc1.CustomerID=pro.CustomerID<br /> AND pc1.ID=pro.ClassID1<br /> LEFT JOIN RB_Product_Class pc2 WITH(NOLOCK)<br /> ON pc2.CustomerID=pro.CustomerID<br /> AND pc2.ID=pro.ClassID2<br /> WHERE pro.CustomerID = 1<br /> AND pro.SKU IN( '3578441','18815221'<br /></p>
    002+ <p>SELECT pro.CustomerID,<br /> pro.SKU,<br /> pro.SKU SystemSKU,<br /> pro.ProductName,<br /> pro.ProductNameCN,<br /> Isnull(pro.PackWeight, 0) PackWeight,<br /> Isnull(pro.GrossWeight, 0) GrossWeight,<br /> Isnull(pro.Length, 0) Length,<br /> Isnull(pro.Width, 0) Width,<br /> Isnull(pro.Height, 0) Height,<br /> Isnull(pro.Pack_Length, 0) PackLength,<br /> Isnull(pro.Pack_Width, 0) PackWidth,<br /> Isnull(pro.Pack_Height, 0) PackHeight,<br /> Isnull(pro.WithBattery, 0) WithBattery,<br /> Isnull(pd.DeclarationPriceRate, 0) DeclarationPrice,<br /> pd.DeclarationName,<br /> pd.DeclarationNameCN,<br /> pd.DeclarationCode,<br /> pro.ProductSpec,<br /> pb.BrandName,<br /> pro.ClientSKU,<br /> ProductColor,<br /> pro.ImageUrl,<br /> pc.ClassNameCn as ClassNameCn1,<br /> pc1.ClassNameCn as ClassNameCn2,<br /> pc2.ClassNameCn as ClassNameCn3,<br /> IsNull(pro.IsGroup,0) AS IsGroup,<br /> ISNULL(pb.BrandType,0) as BrandType<br /> FROM RB_Product pro WITH(NOLOCK)<br /> LEFT JOIN RB_Product_Declaration pd WITH(NOLOCK)<br /> ON pro.CustomerID = pd.CustomerID<br /> AND pro.SKU = pd.SKU<br /> LEFT JOIN RB_Product_Brand pb WITH(NOLOCK)<br /> ON pb.CustomerID=pro.CustomerID<br /> AND pb.ID=pro.BrandID<br /> LEFT JOIN RB_Product_Class pc WITH(NOLOCK)<br /> ON pc.CustomerID=pro.CustomerID<br /> AND pc.ID=pro.ClassID<br /> LEFT JOIN RB_Product_Class pc1 WITH(NOLOCK)<br /> ON pc1.CustomerID=pro.CustomerID<br /> AND pc1.ID=pro.ClassID1<br /> LEFT JOIN RB_Product_Class pc2 WITH(NOLOCK)<br /> ON pc2.CustomerID=pro.CustomerID<br /> AND pc2.ID=pro.ClassID2<br /> WHERE pro.CustomerID = 1<br /> AND pro.SKU IN( '3578441','18815221'</p>
  6. 2026-04-10 14:19:52, 由 陈莉珍 编辑。
    修改了 开发责任人,旧值为 "",新值为 "juzhiming"。
    修改了 上线时间 ,旧值为 "0000-00-00 00:00:00",新值为 "2026-04-10 11:11:39"。
    修改了 上线时效 ,旧值为 "-1",新值为 "1.75"。
  7. 2026-04-10 15:36:10, 由 刘超 关闭。
    修改了 Bug状态 ,旧值为 "resolved",新值为 "closed"。
    修改了 指派给 ,旧值为 "liuchao",新值为 "closed"。
    修改了 由谁关闭,旧值为 "",新值为 "liuchao"。
    修改了 关闭日期,旧值为 "",新值为 "2026-04-10 15:36:10"。
所属项目 技术中心-需求池
所属模块 供应链   仓储物流   物流
所属计划
所属迭代
Bug类型
严重程度 一般
优先级 P2
Bug状态 已关闭
业务部门 技术研发中心
影响功能
开发责任人 鞠智明
测试责任人 袁慧斌
解决时效 1.75
激活次数 0
激活日期
是否确认 是
当前指派 Closed 于 2026-04-10 15:36:10
截止日期 0000-00-00
上线时间 2026-04-10 11:11:39
上线时效 1.75
操作系统
浏览器
关键词
抄送给
所属迭代
相关需求
相关任务
由谁创建 袁慧斌 于 2026-04-10 09:26:30
影响环境 生产环境-业务反馈
由谁解决 鞠智明 于 2026-04-10 11:11:39
解决版本 主干
解决方案 性能问题
由谁关闭 刘超 于 2026-04-10 15:36:10
最后修改 刘超 于 2026-04-10 15:36:10
相关Bug