[步骤]
[05:30:31] -------------------------------------------------------------
CODE:N053031124
Error:11_-2_0_-2146232060
SQL: DECLARE @tempTable TABLE(item varchar(50));
INSERT INTO @tempTable
EXEC proc_string_split @skuStr,','; SELECT COUNT(*) AS TotalCount
FROM RB_Procurement_Detail_PutList RPDP with(nolock)
LEFT JOIN RB_Procurement_List RPL with(nolock)
ON RPDP.CustomerID = RPL.CustomerID AND RPDP.P_Code = RPL.P_Code
JOIN RB_Product p with(nolock)
ON RPDP.CustomerID = p.CustomerID AND RPDP.SKU=P.SKU
WHERE RPDP.CustomerID=@CustomerID
AND RPDP.AddTime>=@AddTime
AND ISNULL(RPL.IsSample,0) =0
AND EXISTS (SELECT 1 FROM @tempTable WHERE item=RPDP.SKU) ;
PARAMS:@CustomerID = 1 ,@AddTime = 2024/10/18 5:30:01 ,@skuStr = 16731239,21696936,18565589,13355830,21450347,13385430,11850347,17742873,8603322,13672181,6755482,21734574,10453123,10590570,20744961,16719449,19438113,19935652,16214740,17882530,16287930,20763688,6316780,18093170,3890543,20107978,12848035,16858879,17855940,11818279,18627894,7161414,13608708,20906744,4778327,16083002,16318515,18087812,16368118,11885871,17493149,20007217,14633266,19492971,17578794,3981665,17962762
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.DAL.DBOperator.QueryDataRow(String SQLString, SqlParameter[] cmdParms, Boolean IsWriteDB)
在 RB.DALExtend.RB_Procurement_Detail_PutListExtend.GetProcurementDetailPutListRecord(Int32 customerId, DateTime addTime, List`1 skuList)
在 Biz.Irobotbox.Product.ProductService.BatchUpdateProductPurchaseDaysService()
在 ChinaDownLoadImage.Task.Product.Task_Product_PurchaseDays.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()
[结果]
[期望]