重现步骤

[步骤]



[16:01:12]  -------------------------------------------------------------
CODE:N160112246
Error:17_8632_2_-2146232060
SQL:select ID,CustomerID,ClientOrderCode from RB_Mercadolibre_BillingInfo with(nolock) where CustomerID=1 and ClientOrderCode in ('2000008251160988','2000008253809584','2000008255240590','2000008258242974','2000008263143154','2000008263247318','2000008263247322','2000008263915262','2000008267187774','2000008267367694','2000008269281394','2000008271922380','2000008273255492','2000008274832106','2000008276665106','2000008279561610','2000008283819776','2000008284247766','2000008284494174','2000008284491884','2000008289699464','2000008290558908','2000008290738944','2000008293270584','2000008293446152','2000008294480842','2000008297665794','2000008301659510','2000008303179566','2000008303460928','2000008300824208','2000008306821198','2000008307626142','2000008308081806','2000008309091876','2000008315329096','2000008315570216','2000008316629546','2000008320254562','2000008320254548','2000008320802432'
PARAMS:
MESSAGE:Internal error: An expression services limit has been reached. Please look for potentially complex expressions in your query, and try to simplify them.
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.DALExtendV2.Generate.RB_Mercadolibre_BillingInfoExtendV2.GetBillingInfoList(Int32 customerID, IEnumerable`1 clientOrderIdList, String executeStatus)
   在 Biz.Mercadolibre.OrderBill.MercadolibreBillingInfoService.FilterProcessedClientOrderCodeList(Int32 customerId, List`1 paramModels)
   在 Biz.Mercadolibre.OrderBill.MercadolibreBillingInfoService.Process(Int32 customerId, Nullable`1 orderSourceId)
   在 ChinaDownLoadImage.Task.Mercadolibre.Task_Mercadolibre_ShipmentCompensation.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()


[结果]


[期望]

分批次 查询 或者 采用 表传值方式 不报错
历史记录  
  1. 2024-06-12 17:08:28, 由 袁慧斌 创建。
  2. 2024-06-12 17:09:17, 由 李乐同 指派给 姚杰远。
    修改了 指派给,旧值为 "liletong",新值为 "yaojieyuan"。
  3. 2024-06-12 17:12:29, 由 李乐同 指派给 王金锋。
    修改了 指派给,旧值为 "yaojieyuan",新值为 "wangjinfeng"。
  4. 2024-06-12 17:15:51, 由 王金锋 指派给 李乐同。
    修改了 指派给,旧值为 "wangjinfeng",新值为 "liletong"。
    这个看表是在158系统,不是在Java系统,不是我这边的
  5. 2024-06-12 17:21:29, 由 李乐同 指派给 何智军。
    修改了 指派给,旧值为 "liletong",新值为 "hezhijun"。
  6. 2024-06-12 18:03:42, 由 何智军 指派给 谭颖。
    修改了 指派给,旧值为 "hezhijun",新值为 "tanying"。
  7. 2024-06-13 09:04:39, 由 谭颖 解决,方案为 性能问题 。
    修改了 解决方案,旧值为 "",新值为 "performance"。
    修改了 解决版本,旧值为 "",新值为 "trunk"。
    修改了 解决日期,旧值为 "",新值为 "2024-06-13 09:04:22"。
    修改了 指派给 ,旧值为 "tanying",新值为 "zengqian"。
    修改了 Bug状态 ,旧值为 "active",新值为 "resolved"。
    修改了 是否确认,旧值为 "0",新值为 "1"。
    修改了 解决者 ,旧值为 "",新值为 "tanying"。
  8. 2024-06-17 14:51:24, 由 曾倩 关闭。
    修改了 Bug状态 ,旧值为 "resolved",新值为 "closed"。
    修改了 指派给 ,旧值为 "zengqian",新值为 "closed"。
    修改了 由谁关闭,旧值为 "",新值为 "zengqian"。
    修改了 关闭日期,旧值为 "",新值为 "2024-06-17 14:51:24"。
所属项目 技术中心-需求池
所属模块 多平台   mercado
所属计划
所属迭代
Bug类型
严重程度 一般
优先级 P1
Bug状态 已关闭
业务部门
影响功能
开发责任人 谭颖
测试责任人
解决时效 0
激活次数 0
激活日期
是否确认 是
当前指派 Closed 于 2024-06-17 14:51:24
截止日期 0000-00-00
上线时间
上线时效
操作系统
浏览器
关键词
抄送给
所属迭代
相关需求
相关任务
由谁创建 袁慧斌 于 2024-06-12 17:08:28
影响环境 577
由谁解决 谭颖 于 2024-06-13 09:04:22
解决版本 主干
解决方案 性能问题
由谁关闭 曾倩 于 2024-06-17 14:51:24
最后修改 曾倩 于 2024-06-17 14:51:24
相关Bug