**************************mima_b2b_Login()2022/6/26 5:41:44************************* paramter0:1013 paramter1:oDppT5AEfLeaFykFDhidBnjJeQe8 Api.Helper.Exceptions.KatException: 密码错误 在 Api.BLL.b2b.CustomerService.mima_b2b_Login(String oper_id, String pwd, String open_id, B2B_Oper& oper, String& token) ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 05:41:44 [错误信息] => 密码错误 [sql] => select a.oper_id, a.oper_name, a.oper_pwd, a.open_id, (case when isnull(c.cust_level, 1) = '' then '1' else isnull(c.cust_level, 1) end) as cus_level, c.is_branch, b.supcust_no, c.supcust_group from sa_t_mobile_oper as a inner join sa_t_mobile_data_main as b on a.oper_id = b.oper_id left join bi_t_supcust_info as c on b.supcust_no = c.supcust_no where a.oper_id = '1013' or a.login_no = '1013' [详细] => 在 Api.BLL.b2b.CustomerService.mima_b2b_Login(String oper_id, String pwd, String open_id, B2B_Oper& oper, String& token) 在 Api.SingOut.b2b.mina.oper.login(String card_id, String vip_pass, String is_bind, String open_id) [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.oper , [方法] => login [入参] => {"card_id":"1013","vip_pass":"123446","is_bind":"1","open_id":"oDppT5AEfLeaFykFDhidBnjJeQe8"} ************************************************************************************** **************************mima_b2b_Login()2022/6/26 5:41:48************************* paramter0:1013 paramter1:oDppT5AEfLeaFykFDhidBnjJeQe8 Api.Helper.Exceptions.KatException: 密码错误 在 Api.BLL.b2b.CustomerService.mima_b2b_Login(String oper_id, String pwd, String open_id, B2B_Oper& oper, String& token) ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 05:41:48 [错误信息] => 密码错误 [sql] => select a.oper_id, a.oper_name, a.oper_pwd, a.open_id, (case when isnull(c.cust_level, 1) = '' then '1' else isnull(c.cust_level, 1) end) as cus_level, c.is_branch, b.supcust_no, c.supcust_group from sa_t_mobile_oper as a inner join sa_t_mobile_data_main as b on a.oper_id = b.oper_id left join bi_t_supcust_info as c on b.supcust_no = c.supcust_no where a.oper_id = '1013' or a.login_no = '1013' [详细] => 在 Api.BLL.b2b.CustomerService.mima_b2b_Login(String oper_id, String pwd, String open_id, B2B_Oper& oper, String& token) 在 Api.SingOut.b2b.mina.oper.login(String card_id, String vip_pass, String is_bind, String open_id) [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.oper , [方法] => login [入参] => {"card_id":"1013","vip_pass":"1234466","is_bind":"1","open_id":"oDppT5AEfLeaFykFDhidBnjJeQe8"} ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 13:41:23 [错误信息] => 事务(进程 ID 70)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => SELECT * FROM (SELECT ROW_NUMBER() OVER (ORDER BY goods_id) AS rowid, * from (select a.goods_id , a.cls_id , a.goods_name , a.barcode , a.goods_size , isnull(a.product_area, '') product_area , a.unit_no , isnull(a.item_pack, 0) item_pack , a.small_img_url , isnull(d.is_collect, '0') is_collect , isnull(e.qty, 0) qty , dbo.FUNC_GET_ITEM_SALE_PRICE('1025',a.goods_id) as price , (case when isnull(a.small_img_url, '') = '' then '' else 'http://fxh.ivytalksoft.com:4617' + a.small_img_url end) as small_img_full_url from goods a left join (select goods_id,is_default,max(prices) as prices from goods_std group by goods_id,is_default) as c on c.goods_id = a.goods_id left join (select goods_id, '1' as is_collect from tr_collect where cus_no = '1025') d on d.goods_id = a.goods_id left join (select goods_id, isnull(sum(qty), 0) qty from tr_shopcart where open_id = '1025' group by goods_id) e on e.goods_id = a.goods_id where a.cls_id in (select cls_id from goods_cls where isnull(is_show_mall, '0') = '1' and cls_no like '0305%' ) and c.is_default = '1' and a.status = '1' and isnull(a.is_show_mall, '0') = '1' ) as m where 1 = 1) t WHERE t.rowid > 0 AND t.rowid <= 100 [详细] => 在 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.TryHasMoreRows(Boolean& moreRows) 在 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(DataTable[] dataTables, 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(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior) 在 System.Data.Common.DbDataAdapter.Fill(DataTable dataTable) 在 Db.DBContext.ExecuteToTable(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.GoodsService.GetClsGoods(String cls_no, String theme, String low_price, String up_price, Int32 page_no, Int32 page_size, Int32& total, String oper_id, String supcust_group, String supcust_no, String cus_level) 在 Api.SingOut.b2b.mina.goods.get_cls_goods(String cls_no, String theme, String low_price, String up_price, Int32 page_no, Int32 page_size) [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.goods , [方法] => get_cls_goods [入参] => {"cls_no":"0305","theme":"","low_price":"","up_price":"","page_no":1,"page_size":100} ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 13:41:28 [错误信息] => 事务(进程 ID 65)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => update tr_shopcart set price='2.80000000',unit_no='斤',amount=2.80000000 * qty where goods_id='0000000005732' and open_id='1025';update tr_shopcart set price='1.00000000',unit_no='斤',amount=1.00000000 * qty where goods_id='0000000005737' and open_id='1025';update tr_shopcart set price='2.00000000',unit_no='斤',amount=2.00000000 * qty where goods_id='0000000005753' and open_id='1025';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005799' and open_id='1025';update tr_shopcart set price='3.60000000',unit_no='斤',amount=3.60000000 * qty where goods_id='0000000005800' and open_id='1025';update tr_shopcart set price='2.00000000',unit_no='斤',amount=2.00000000 * qty where goods_id='0000000005814' and open_id='1025';update tr_shopcart set price='1.10000000',unit_no='斤',amount=1.10000000 * qty where goods_id='0000000005827' and open_id='1025';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000027' and open_id='1025';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005859' and open_id='1025';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000028' and open_id='1025';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005741' and open_id='1025';update tr_shopcart set price='3.40000000',unit_no='斤',amount=3.40000000 * qty where goods_id='0000000005743' and open_id='1025';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005749' and open_id='1025'; [详细] => 在 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.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.ExecuteScalar() 在 Db.DBContext.ExecuteScalar(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.GetAll(String oper_id, String supcust_no) 在 Api.SingOut.b2b.mina.shopcart.get_all() [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => get_all [入参] => ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 13:42:18 [错误信息] => 事务(进程 ID 70)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => update tr_shopcart set price='2.80000000',unit_no='斤',amount=2.80000000 * qty where goods_id='0000000005732' and open_id='1025';update tr_shopcart set price='1.00000000',unit_no='斤',amount=1.00000000 * qty where goods_id='0000000005737' and open_id='1025';update tr_shopcart set price='2.00000000',unit_no='斤',amount=2.00000000 * qty where goods_id='0000000005753' and open_id='1025';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005799' and open_id='1025';update tr_shopcart set price='3.60000000',unit_no='斤',amount=3.60000000 * qty where goods_id='0000000005800' and open_id='1025';update tr_shopcart set price='2.00000000',unit_no='斤',amount=2.00000000 * qty where goods_id='0000000005814' and open_id='1025';update tr_shopcart set price='1.10000000',unit_no='斤',amount=1.10000000 * qty where goods_id='0000000005827' and open_id='1025';update tr_shopcart set price='1.30000000',unit_no='斤',amount=1.30000000 * qty where goods_id='0000000005828' and open_id='1025';update tr_shopcart set price='3.40000000',unit_no='斤',amount=3.40000000 * qty where goods_id='0000000004688' and open_id='1025';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005758' and open_id='1025';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000027' and open_id='1025';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005859' and open_id='1025';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000028' and open_id='1025';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005741' and open_id='1025';update tr_shopcart set price='3.40000000',unit_no='斤',amount=3.40000000 * qty where goods_id='0000000005743' and open_id='1025';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005749' and open_id='1025';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000004720' and open_id='1025'; [详细] => 在 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.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.ExecuteScalar() 在 Db.DBContext.ExecuteScalar(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.GetAll(String oper_id, String supcust_no) 在 Api.SingOut.b2b.mina.shopcart.get_all() [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => get_all [入参] => ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 13:42:18 [错误信息] => 事务(进程 ID 73)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => select qty from tr_shopcart where goods_id='0000000005758' and open_id='1025' [详细] => 在 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.TryHasMoreRows(Boolean& moreRows) 在 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(DataTable[] dataTables, 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(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior) 在 System.Data.Common.DbDataAdapter.Fill(DataTable dataTable) 在 Db.DBContext.ExecuteToTable(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.AddQtyOne(tr_shopcart shopcart, Decimal& count, String oper_id, String cus_level, Int32 merId) 在 Api.SingOut.b2b.mina.shopcart.add_qty_one(String goods_id) [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => add_qty_one [入参] => {"goods_id":"0000000005758"} ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 13:42:23 [错误信息] => 事务(进程 ID 72)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => select a.row_index, a.goods_id, b.goods_no, b.goods_name, b.small_img_url, 'http://fxh.ivytalksoft.com:4617' + b.small_img_url as small_img_full_url, dbo.FUNC_GET_ITEM_SALE_PRICE('1047',a.goods_id) as price, (dbo.FUNC_GET_ITEM_SALE_PRICE('1047',a.goods_id) * a.qty) as amount, a.qty, b.unit_no, isnull(a.remark, '') remark from tr_shopcart a left join goods b on a.goods_id = b.goods_id where a.open_id = '1047' [详细] => 在 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.TryHasMoreRows(Boolean& moreRows) 在 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(DataTable[] dataTables, 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(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior) 在 System.Data.Common.DbDataAdapter.Fill(DataTable dataTable) 在 Db.DBContext.ExecuteToTable(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.GetAll(String oper_id, String supcust_no) 在 Api.SingOut.b2b.mina.shopcart.get_all() [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => get_all [入参] => ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 13:42:28 [错误信息] => 事务(进程 ID 78)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => update tr_shopcart set qty = qty -1,amount = amount-'13.00000000' where goods_id = '0000000005947' and open_id = '1047' [详细] => 在 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.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.ExecuteScalar() 在 Db.DBContext.ExecuteScalar(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.DeleteQtyOne(tr_shopcart shopcart, Decimal& count, String oper_id, String cus_level) 在 Api.SingOut.b2b.mina.shopcart.delete_qty_one(String goods_id) [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => delete_qty_one [入参] => {"goods_id":"0000000005947"} ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 13:42:28 [错误信息] => 事务(进程 ID 71)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => SELECT * FROM (SELECT ROW_NUMBER() OVER (ORDER BY goods_id) AS rowid, * from (select a.goods_id , a.cls_id , a.goods_name , a.barcode , a.goods_size , isnull(a.product_area, '') product_area , a.unit_no , isnull(a.item_pack, 0) item_pack , a.small_img_url , isnull(d.is_collect, '0') is_collect , isnull(e.qty, 0) qty , dbo.FUNC_GET_ITEM_SALE_PRICE('1020',a.goods_id) as price , (case when isnull(a.small_img_url, '') = '' then '' else 'http://fxh.ivytalksoft.com:4617' + a.small_img_url end) as small_img_full_url from goods a left join (select goods_id,is_default,max(prices) as prices from goods_std group by goods_id,is_default) as c on c.goods_id = a.goods_id left join (select goods_id, '1' as is_collect from tr_collect where cus_no = '1020') d on d.goods_id = a.goods_id left join (select goods_id, isnull(sum(qty), 0) qty from tr_shopcart where open_id = '1020' group by goods_id) e on e.goods_id = a.goods_id where a.cls_id in (select cls_id from goods_cls where isnull(is_show_mall, '0') = '1' and cls_no like '0301%' ) and c.is_default = '1' and a.status = '1' and isnull(a.is_show_mall, '0') = '1' ) as m where 1 = 1) t WHERE t.rowid > 0 AND t.rowid <= 100 [详细] => 在 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.TryHasMoreRows(Boolean& moreRows) 在 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(DataTable[] dataTables, 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(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior) 在 System.Data.Common.DbDataAdapter.Fill(DataTable dataTable) 在 Db.DBContext.ExecuteToTable(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.GoodsService.GetClsGoods(String cls_no, String theme, String low_price, String up_price, Int32 page_no, Int32 page_size, Int32& total, String oper_id, String supcust_group, String supcust_no, String cus_level) 在 Api.SingOut.b2b.mina.goods.get_cls_goods(String cls_no, String theme, String low_price, String up_price, Int32 page_no, Int32 page_size) [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.goods , [方法] => get_cls_goods [入参] => {"cls_no":"0301","theme":"","low_price":"","up_price":"","page_no":1,"page_size":100} ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 13:42:31 [错误信息] => 事务(进程 ID 75)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => update tr_shopcart set price='13.50000000',unit_no='斤',amount=13.50000000 * qty where goods_id='0000000005932' and open_id='1047';update tr_shopcart set price='13.00000000',unit_no='斤',amount=13.00000000 * qty where goods_id='0000000005947' and open_id='1047'; [详细] => 在 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.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.ExecuteScalar() 在 Db.DBContext.ExecuteScalar(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.GetAll(String oper_id, String supcust_no) 在 Api.SingOut.b2b.mina.shopcart.get_all() [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => get_all [入参] => ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 13:42:31 [错误信息] => 事务(进程 ID 64)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => select a.*, isnull(d.is_collect, '0') is_collect, isnull(e.qty, 0) qty from goods a left join (select goods_id, '1' as is_collect from tr_collect where cus_no = '1040') d on d.goods_id = a.goods_id left join (select goods_id, isnull(sum(qty), 0) qty from tr_shopcart where open_id = '1040' group by goods_id) e on e.goods_id = a.goods_id where a.goods_id = '0000000004816' [详细] => 在 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.TryHasMoreRows(Boolean& moreRows) 在 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(DataTable[] dataTables, 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(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior) 在 System.Data.Common.DbDataAdapter.Fill(DataTable dataTable) 在 Db.DBContext.ExecuteToTable(String sql, IDbDataParameter[] pars) 在 Db.DBContext.ExecuteToModel[T](String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.GoodsService.GetGoodsDetail(String goods_id, String oper_id, String supcust_no) 在 Api.SingOut.b2b.mina.goods.get_goods_detail(String goods_id) [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.goods , [方法] => get_goods_detail [入参] => {"goods_id":"0000000004816"} ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 13:42:32 [错误信息] => 事务(进程 ID 84)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => SELECT * FROM (SELECT ROW_NUMBER() OVER (ORDER BY goods_id) AS rowid, * from (select a.goods_id , a.cls_id , a.goods_name , a.barcode , a.goods_size , isnull(a.product_area, '') product_area , a.unit_no , isnull(a.item_pack, 0) item_pack , a.small_img_url , isnull(d.is_collect, '0') is_collect , isnull(e.qty, 0) qty , dbo.FUNC_GET_ITEM_SALE_PRICE('1040',a.goods_id) as price , (case when isnull(a.small_img_url, '') = '' then '' else 'http://fxh.ivytalksoft.com:4617' + a.small_img_url end) as small_img_full_url from goods a left join (select goods_id,is_default,max(prices) as prices from goods_std group by goods_id,is_default) as c on c.goods_id = a.goods_id left join (select goods_id, '1' as is_collect from tr_collect where cus_no = '1040') d on d.goods_id = a.goods_id left join (select goods_id, isnull(sum(qty), 0) qty from tr_shopcart where open_id = '1040' group by goods_id) e on e.goods_id = a.goods_id where a.cls_id in (select cls_id from goods_cls where isnull(is_show_mall, '0') = '1' and cls_no like '0201%' ) and c.is_default = '1' and a.status = '1' and isnull(a.is_show_mall, '0') = '1' ) as m where 1 = 1) t WHERE t.rowid > 0 AND t.rowid <= 100 [详细] => 在 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.TryHasMoreRows(Boolean& moreRows) 在 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(DataTable[] dataTables, 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(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior) 在 System.Data.Common.DbDataAdapter.Fill(DataTable dataTable) 在 Db.DBContext.ExecuteToTable(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.GoodsService.GetClsGoods(String cls_no, String theme, String low_price, String up_price, Int32 page_no, Int32 page_size, Int32& total, String oper_id, String supcust_group, String supcust_no, String cus_level) 在 Api.SingOut.b2b.mina.goods.get_cls_goods(String cls_no, String theme, String low_price, String up_price, Int32 page_no, Int32 page_size) [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.goods , [方法] => get_cls_goods [入参] => {"cls_no":"0201","theme":"","low_price":"","up_price":"","page_no":1,"page_size":100} ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 13:42:33 [错误信息] => 事务(进程 ID 80)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => SELECT * FROM (SELECT ROW_NUMBER() OVER (ORDER BY goods_id) AS rowid, * from (select a.goods_id , a.cls_id , a.goods_name , a.barcode , a.goods_size , isnull(a.product_area, '') product_area , a.unit_no , isnull(a.item_pack, 0) item_pack , a.small_img_url , isnull(d.is_collect, '0') is_collect , isnull(e.qty, 0) qty , dbo.FUNC_GET_ITEM_SALE_PRICE('1020',a.goods_id) as price , (case when isnull(a.small_img_url, '') = '' then '' else 'http://fxh.ivytalksoft.com:4617' + a.small_img_url end) as small_img_full_url from goods a left join (select goods_id,is_default,max(prices) as prices from goods_std group by goods_id,is_default) as c on c.goods_id = a.goods_id left join (select goods_id, '1' as is_collect from tr_collect where cus_no = '1020') d on d.goods_id = a.goods_id left join (select goods_id, isnull(sum(qty), 0) qty from tr_shopcart where open_id = '1020' group by goods_id) e on e.goods_id = a.goods_id where a.cls_id in (select cls_id from goods_cls where isnull(is_show_mall, '0') = '1' and cls_no like '0301%' ) and c.is_default = '1' and a.status = '1' and isnull(a.is_show_mall, '0') = '1' ) as m where 1 = 1) t WHERE t.rowid > 0 AND t.rowid <= 100 [详细] => 在 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.TryHasMoreRows(Boolean& moreRows) 在 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(DataTable[] dataTables, 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(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior) 在 System.Data.Common.DbDataAdapter.Fill(DataTable dataTable) 在 Db.DBContext.ExecuteToTable(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.GoodsService.GetClsGoods(String cls_no, String theme, String low_price, String up_price, Int32 page_no, Int32 page_size, Int32& total, String oper_id, String supcust_group, String supcust_no, String cus_level) 在 Api.SingOut.b2b.mina.goods.get_cls_goods(String cls_no, String theme, String low_price, String up_price, Int32 page_no, Int32 page_size) [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.goods , [方法] => get_cls_goods [入参] => {"cls_no":"0301","theme":"","low_price":"","up_price":"","page_no":1,"page_size":100} ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 13:42:33 [错误信息] => 事务(进程 ID 82)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005855' and open_id='1040';update tr_shopcart set price='12.00000000',unit_no='斤',amount=12.00000000 * qty where goods_id='0000000005921' and open_id='1040';update tr_shopcart set price='13.00000000',unit_no='斤',amount=13.00000000 * qty where goods_id='0000000005947' and open_id='1040';update tr_shopcart set price='24.50000000',unit_no='斤',amount=24.50000000 * qty where goods_id='0000000005949' and open_id='1040';update tr_shopcart set price='49.50000000',unit_no='斤',amount=49.50000000 * qty where goods_id='0000000005896' and open_id='1040';update tr_shopcart set price='15.10000000',unit_no='斤',amount=15.10000000 * qty where goods_id='0000000000832' and open_id='1040';update tr_shopcart set price='11.50000000',unit_no='斤',amount=11.50000000 * qty where goods_id='0000000005939' and open_id='1040';update tr_shopcart set price='5.80000000',unit_no='斤',amount=5.80000000 * qty where goods_id='0000000004758' and open_id='1040';update tr_shopcart set price='2.25000000',unit_no='斤',amount=2.25000000 * qty where goods_id='0000000005423' and open_id='1040';update tr_shopcart set price='6.25000000',unit_no='斤',amount=6.25000000 * qty where goods_id='0000000005493' and open_id='1040';update tr_shopcart set price='7.50000000',unit_no='斤',amount=7.50000000 * qty where goods_id='0000000005756' and open_id='1040';update tr_shopcart set price='5.70000000',unit_no='斤',amount=5.70000000 * qty where goods_id='0000000005822' and open_id='1040';update tr_shopcart set price='5.75000000',unit_no='斤',amount=5.75000000 * qty where goods_id='0000000005807' and open_id='1040'; [详细] => 在 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.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.ExecuteScalar() 在 Db.DBContext.ExecuteScalar(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.GetAll(String oper_id, String supcust_no) 在 Api.SingOut.b2b.mina.shopcart.get_all() [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => get_all [入参] => ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 13:42:33 [错误信息] => 事务(进程 ID 77)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005855' and open_id='1040';update tr_shopcart set price='12.00000000',unit_no='斤',amount=12.00000000 * qty where goods_id='0000000005921' and open_id='1040';update tr_shopcart set price='13.00000000',unit_no='斤',amount=13.00000000 * qty where goods_id='0000000005947' and open_id='1040';update tr_shopcart set price='24.50000000',unit_no='斤',amount=24.50000000 * qty where goods_id='0000000005949' and open_id='1040';update tr_shopcart set price='49.50000000',unit_no='斤',amount=49.50000000 * qty where goods_id='0000000005896' and open_id='1040';update tr_shopcart set price='15.10000000',unit_no='斤',amount=15.10000000 * qty where goods_id='0000000000832' and open_id='1040';update tr_shopcart set price='11.50000000',unit_no='斤',amount=11.50000000 * qty where goods_id='0000000005939' and open_id='1040';update tr_shopcart set price='5.80000000',unit_no='斤',amount=5.80000000 * qty where goods_id='0000000004758' and open_id='1040';update tr_shopcart set price='2.25000000',unit_no='斤',amount=2.25000000 * qty where goods_id='0000000005423' and open_id='1040';update tr_shopcart set price='6.25000000',unit_no='斤',amount=6.25000000 * qty where goods_id='0000000005493' and open_id='1040';update tr_shopcart set price='7.50000000',unit_no='斤',amount=7.50000000 * qty where goods_id='0000000005756' and open_id='1040';update tr_shopcart set price='5.70000000',unit_no='斤',amount=5.70000000 * qty where goods_id='0000000005822' and open_id='1040';update tr_shopcart set price='5.75000000',unit_no='斤',amount=5.75000000 * qty where goods_id='0000000005807' and open_id='1040'; [详细] => 在 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.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.ExecuteScalar() 在 Db.DBContext.ExecuteScalar(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.GetAll(String oper_id, String supcust_no) 在 Api.SingOut.b2b.mina.shopcart.get_all() [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => get_all [入参] => ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 13:42:33 [错误信息] => 事务(进程 ID 74)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => SELECT * FROM (SELECT ROW_NUMBER() OVER (ORDER BY goods_id) AS rowid, * from (select a.goods_id , a.cls_id , a.goods_name , a.barcode , a.goods_size , isnull(a.product_area, '') product_area , a.unit_no , isnull(a.item_pack, 0) item_pack , a.small_img_url , isnull(d.is_collect, '0') is_collect , isnull(e.qty, 0) qty , dbo.FUNC_GET_ITEM_SALE_PRICE('1020',a.goods_id) as price , (case when isnull(a.small_img_url, '') = '' then '' else 'http://fxh.ivytalksoft.com:4617' + a.small_img_url end) as small_img_full_url from goods a left join (select goods_id,is_default,max(prices) as prices from goods_std group by goods_id,is_default) as c on c.goods_id = a.goods_id left join (select goods_id, '1' as is_collect from tr_collect where cus_no = '1020') d on d.goods_id = a.goods_id left join (select goods_id, isnull(sum(qty), 0) qty from tr_shopcart where open_id = '1020' group by goods_id) e on e.goods_id = a.goods_id where a.cls_id in (select cls_id from goods_cls where isnull(is_show_mall, '0') = '1' and cls_no like '0301%' ) and c.is_default = '1' and a.status = '1' and isnull(a.is_show_mall, '0') = '1' ) as m where 1 = 1) t WHERE t.rowid > 0 AND t.rowid <= 100 [详细] => 在 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.TryHasMoreRows(Boolean& moreRows) 在 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(DataTable[] dataTables, 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(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior) 在 System.Data.Common.DbDataAdapter.Fill(DataTable dataTable) 在 Db.DBContext.ExecuteToTable(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.GoodsService.GetClsGoods(String cls_no, String theme, String low_price, String up_price, Int32 page_no, Int32 page_size, Int32& total, String oper_id, String supcust_group, String supcust_no, String cus_level) 在 Api.SingOut.b2b.mina.goods.get_cls_goods(String cls_no, String theme, String low_price, String up_price, Int32 page_no, Int32 page_size) [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.goods , [方法] => get_cls_goods [入参] => {"cls_no":"0301","theme":"","low_price":"","up_price":"","page_no":1,"page_size":100} ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 13:42:33 [错误信息] => 事务(进程 ID 65)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => update tr_shopcart set price='2.80000000',unit_no='斤',amount=2.80000000 * qty where goods_id='0000000005732' and open_id='1025';update tr_shopcart set price='1.00000000',unit_no='斤',amount=1.00000000 * qty where goods_id='0000000005737' and open_id='1025';update tr_shopcart set price='2.00000000',unit_no='斤',amount=2.00000000 * qty where goods_id='0000000005753' and open_id='1025';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005799' and open_id='1025';update tr_shopcart set price='3.60000000',unit_no='斤',amount=3.60000000 * qty where goods_id='0000000005800' and open_id='1025';update tr_shopcart set price='2.00000000',unit_no='斤',amount=2.00000000 * qty where goods_id='0000000005814' and open_id='1025';update tr_shopcart set price='1.10000000',unit_no='斤',amount=1.10000000 * qty where goods_id='0000000005827' and open_id='1025';update tr_shopcart set price='1.30000000',unit_no='斤',amount=1.30000000 * qty where goods_id='0000000005828' and open_id='1025';update tr_shopcart set price='3.40000000',unit_no='斤',amount=3.40000000 * qty where goods_id='0000000004688' and open_id='1025';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005758' and open_id='1025';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000027' and open_id='1025';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005859' and open_id='1025';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000028' and open_id='1025';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005741' and open_id='1025';update tr_shopcart set price='3.40000000',unit_no='斤',amount=3.40000000 * qty where goods_id='0000000005743' and open_id='1025';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005749' and open_id='1025';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000004720' and open_id='1025'; [详细] => 在 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.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.ExecuteScalar() 在 Db.DBContext.ExecuteScalar(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.GetAll(String oper_id, String supcust_no) 在 Api.SingOut.b2b.mina.shopcart.get_all() [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => get_all [入参] => ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 13:44:46 [错误信息] => 事务(进程 ID 64)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000005870' and open_id='1020';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000005830' and open_id='1020';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000005868' and open_id='1020';update tr_shopcart set price='2.00000000',unit_no='斤',amount=2.00000000 * qty where goods_id='0000000005871' and open_id='1020';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000005772' and open_id='1020';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005778' and open_id='1020';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000000964' and open_id='1020';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000004768' and open_id='1020';update tr_shopcart set price='2.80000000',unit_no='斤',amount=2.80000000 * qty where goods_id='0000000005732' and open_id='1020';update tr_shopcart set price='5.60000000',unit_no='斤',amount=5.60000000 * qty where goods_id='0000000005847' and open_id='1020';update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000005863' and open_id='1020';update tr_shopcart set price='4.60000000',unit_no='斤',amount=4.60000000 * qty where goods_id='0000000000871' and open_id='1020';update tr_shopcart set price='4.80000000',unit_no='盒',amount=4.80000000 * qty where goods_id='0000000001254' and open_id='1020';update tr_shopcart set price='4.80000000',unit_no='盒',amount=4.80000000 * qty where goods_id='0000000001270' and open_id='1020';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005773' and open_id='1020';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005775' and open_id='1020';update tr_shopcart set price='3.40000000',unit_no='包',amount=3.40000000 * qty where goods_id='0000000005776' and open_id='1020';update tr_shopcart set price='4.30000000',unit_no='斤',amount=4.30000000 * qty where goods_id='0000000001278' and open_id='1020';update tr_shopcart set price='4.50000000',unit_no='斤',amount=4.50000000 * qty where goods_id='0000000005709' and open_id='1020';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000027' and open_id='1020';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000028' and open_id='1020';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005731' and open_id='1020';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000005840' and open_id='1020';update tr_shopcart set price='2.70000000',unit_no='斤',amount=2.70000000 * qty where goods_id='0000000005843' and open_id='1020';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005859' and open_id='1020';update tr_shopcart set price='3.80000000',unit_no='斤',amount=3.80000000 * qty where goods_id='0000000005861' and open_id='1020';update tr_shopcart set price='4.40000000',unit_no='斤',amount=4.40000000 * qty where goods_id='0000000005862' and open_id='1020';update tr_shopcart set price='4.50000000',unit_no='斤',amount=4.50000000 * qty where goods_id='0000000005864' and open_id='1020'; [详细] => 在 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.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.ExecuteScalar() 在 Db.DBContext.ExecuteScalar(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.GetAll(String oper_id, String supcust_no) 在 Api.SingOut.b2b.mina.shopcart.get_all() [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => get_all [入参] => ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 13:45:26 [错误信息] => 事务(进程 ID 85)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => update tr_shopcart set price='2.80000000',unit_no='斤',amount=2.80000000 * qty where goods_id='0000000005732' and open_id='1025';update tr_shopcart set price='1.00000000',unit_no='斤',amount=1.00000000 * qty where goods_id='0000000005737' and open_id='1025';update tr_shopcart set price='2.00000000',unit_no='斤',amount=2.00000000 * qty where goods_id='0000000005753' and open_id='1025';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005799' and open_id='1025';update tr_shopcart set price='3.60000000',unit_no='斤',amount=3.60000000 * qty where goods_id='0000000005800' and open_id='1025';update tr_shopcart set price='2.00000000',unit_no='斤',amount=2.00000000 * qty where goods_id='0000000005814' and open_id='1025';update tr_shopcart set price='1.10000000',unit_no='斤',amount=1.10000000 * qty where goods_id='0000000005827' and open_id='1025';update tr_shopcart set price='1.80000000',unit_no='斤',amount=1.80000000 * qty where goods_id='0000000005762' and open_id='1025';update tr_shopcart set price='4.90000000',unit_no='斤',amount=4.90000000 * qty where goods_id='0000000005765' and open_id='1025';update tr_shopcart set price='7.80000000',unit_no='斤',amount=7.80000000 * qty where goods_id='0000000005768' and open_id='1025';update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000005769' and open_id='1025';update tr_shopcart set price='1.30000000',unit_no='斤',amount=1.30000000 * qty where goods_id='0000000005828' and open_id='1025';update tr_shopcart set price='3.40000000',unit_no='斤',amount=3.40000000 * qty where goods_id='0000000004688' and open_id='1025';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005758' and open_id='1025';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000027' and open_id='1025';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005859' and open_id='1025';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000028' and open_id='1025';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005741' and open_id='1025';update tr_shopcart set price='3.40000000',unit_no='斤',amount=3.40000000 * qty where goods_id='0000000005743' and open_id='1025';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005749' and open_id='1025';update tr_shopcart set price='1.80000000',unit_no='斤',amount=1.80000000 * qty where goods_id='0000000005764' and open_id='1025';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005766' and open_id='1025';update tr_shopcart set price='6.50000000',unit_no='斤',amount=6.50000000 * qty where goods_id='0000000005763' and open_id='1025';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005810' and open_id='1025';update tr_shopcart set price='2.20000000',unit_no='斤',amount=2.20000000 * qty where goods_id='0000000001746' and open_id='1025';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000004769' and open_id='1025';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000004720' and open_id='1025';update tr_shopcart set price='2.20000000',unit_no='斤',amount=2.20000000 * qty where goods_id='0000000004780' and open_id='1025';update tr_shopcart set price='4.70000000',unit_no='斤',amount=4.70000000 * qty where goods_id='0000000005839' and open_id='1025'; [详细] => 在 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.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.ExecuteScalar() 在 Db.DBContext.ExecuteScalar(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.GetAll(String oper_id, String supcust_no) 在 Api.SingOut.b2b.mina.shopcart.get_all() [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => get_all [入参] => ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 13:45:37 [错误信息] => 事务(进程 ID 76)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000005870' and open_id='1020';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000005830' and open_id='1020';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000005868' and open_id='1020';update tr_shopcart set price='2.00000000',unit_no='斤',amount=2.00000000 * qty where goods_id='0000000005871' and open_id='1020';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000005772' and open_id='1020';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005778' and open_id='1020';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000000964' and open_id='1020';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000004768' and open_id='1020';update tr_shopcart set price='2.80000000',unit_no='斤',amount=2.80000000 * qty where goods_id='0000000005732' and open_id='1020';update tr_shopcart set price='5.60000000',unit_no='斤',amount=5.60000000 * qty where goods_id='0000000005847' and open_id='1020';update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000005863' and open_id='1020';update tr_shopcart set price='4.60000000',unit_no='斤',amount=4.60000000 * qty where goods_id='0000000000871' and open_id='1020';update tr_shopcart set price='4.80000000',unit_no='盒',amount=4.80000000 * qty where goods_id='0000000001254' and open_id='1020';update tr_shopcart set price='4.80000000',unit_no='盒',amount=4.80000000 * qty where goods_id='0000000001270' and open_id='1020';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005773' and open_id='1020';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005775' and open_id='1020';update tr_shopcart set price='3.40000000',unit_no='包',amount=3.40000000 * qty where goods_id='0000000005776' and open_id='1020';update tr_shopcart set price='4.30000000',unit_no='斤',amount=4.30000000 * qty where goods_id='0000000001278' and open_id='1020';update tr_shopcart set price='4.50000000',unit_no='斤',amount=4.50000000 * qty where goods_id='0000000005709' and open_id='1020';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005735' and open_id='1020';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000005736' and open_id='1020';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005741' and open_id='1020';update tr_shopcart set price='3.40000000',unit_no='斤',amount=3.40000000 * qty where goods_id='0000000005743' and open_id='1020';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000027' and open_id='1020';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000028' and open_id='1020';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005731' and open_id='1020';update tr_shopcart set price='5.60000000',unit_no='斤',amount=5.60000000 * qty where goods_id='0000000005748' and open_id='1020';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005749' and open_id='1020';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005750' and open_id='1020';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000005840' and open_id='1020';update tr_shopcart set price='2.70000000',unit_no='斤',amount=2.70000000 * qty where goods_id='0000000005843' and open_id='1020';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005859' and open_id='1020';update tr_shopcart set price='3.80000000',unit_no='斤',amount=3.80000000 * qty where goods_id='0000000005861' and open_id='1020';update tr_shopcart set price='4.40000000',unit_no='斤',amount=4.40000000 * qty where goods_id='0000000005862' and open_id='1020';update tr_shopcart set price='4.50000000',unit_no='斤',amount=4.50000000 * qty where goods_id='0000000005864' and open_id='1020'; [详细] => 在 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.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.ExecuteScalar() 在 Db.DBContext.ExecuteScalar(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.GetAll(String oper_id, String supcust_no) 在 Api.SingOut.b2b.mina.shopcart.get_all() [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => get_all [入参] => ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 13:45:42 [错误信息] => 事务(进程 ID 84)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => update tr_shopcart set qty=qty+1,amount=amount+2.50000000 where goods_id='0000000005859' and open_id='1101' [详细] => 在 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.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.ExecuteScalar() 在 Db.DBContext.ExecuteScalar(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.AddQtyOne(tr_shopcart shopcart, Decimal& count, String oper_id, String cus_level, Int32 merId) 在 Api.SingOut.b2b.mina.shopcart.add_qty_one(String goods_id) [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => add_qty_one [入参] => {"goods_id":"0000000005859"} ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 13:45:45 [错误信息] => 事务(进程 ID 81)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => update tr_shopcart set price='2.30000000',unit_no='斤',amount=2.30000000 * qty where goods_id='0000000005848' and open_id='1101';update tr_shopcart set price='1.88000000',unit_no='斤',amount=1.88000000 * qty where goods_id='0000000005478' and open_id='1101';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005483' and open_id='1101';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000004769' and open_id='1101';update tr_shopcart set price='2.20000000',unit_no='斤',amount=2.20000000 * qty where goods_id='0000000001746' and open_id='1101';update tr_shopcart set price='2.20000000',unit_no='斤',amount=2.20000000 * qty where goods_id='0000000001271' and open_id='1101';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005482' and open_id='1101';update tr_shopcart set price='1.88000000',unit_no='斤',amount=1.88000000 * qty where goods_id='0000000005488' and open_id='1101';update tr_shopcart set price='1.88000000',unit_no='斤',amount=1.88000000 * qty where goods_id='0000000005491' and open_id='1101';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005859' and open_id='1101'; [详细] => 在 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.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.ExecuteScalar() 在 Db.DBContext.ExecuteScalar(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.GetAll(String oper_id, String supcust_no) 在 Api.SingOut.b2b.mina.shopcart.get_all() [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => get_all [入参] => ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 13:45:45 [错误信息] => 事务(进程 ID 80)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => update tr_shopcart set price='24.50000000',unit_no='斤',amount=24.50000000 * qty where goods_id='0000000005949' and open_id='1047';update tr_shopcart set price='14.30000000',unit_no='斤',amount=14.30000000 * qty where goods_id='0000000005909' and open_id='1047';update tr_shopcart set price='13.50000000',unit_no='斤',amount=13.50000000 * qty where goods_id='0000000005932' and open_id='1047';update tr_shopcart set price='13.00000000',unit_no='斤',amount=13.00000000 * qty where goods_id='0000000005947' and open_id='1047';update tr_shopcart set price='49.50000000',unit_no='斤',amount=49.50000000 * qty where goods_id='0000000005896' and open_id='1047';update tr_shopcart set price='14.00000000',unit_no='斤',amount=14.00000000 * qty where goods_id='0000000005013' and open_id='1047';update tr_shopcart set price='28.00000000',unit_no='斤',amount=28.00000000 * qty where goods_id='0000000005906' and open_id='1047';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000005830' and open_id='1047';update tr_shopcart set price='8.80000000',unit_no='斤',amount=8.80000000 * qty where goods_id='0000000005012' and open_id='1047';update tr_shopcart set price='13.80000000',unit_no='斤',amount=13.80000000 * qty where goods_id='0000000005015' and open_id='1047';update tr_shopcart set price='13.80000000',unit_no='斤',amount=13.80000000 * qty where goods_id='0000000005873' and open_id='1047';update tr_shopcart set price='22.00000000',unit_no='斤',amount=22.00000000 * qty where goods_id='0000000005905' and open_id='1047';update tr_shopcart set price='14.50000000',unit_no='斤',amount=14.50000000 * qty where goods_id='0000000005907' and open_id='1047'; [详细] => 在 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.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.ExecuteScalar() 在 Db.DBContext.ExecuteScalar(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.GetAll(String oper_id, String supcust_no) 在 Api.SingOut.b2b.mina.shopcart.get_all() [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => get_all [入参] => ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 13:45:52 [错误信息] => 事务(进程 ID 78)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000005870' and open_id='1020';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000005830' and open_id='1020';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000005868' and open_id='1020';update tr_shopcart set price='2.00000000',unit_no='斤',amount=2.00000000 * qty where goods_id='0000000005871' and open_id='1020';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000005772' and open_id='1020';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005778' and open_id='1020';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000000964' and open_id='1020';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000004768' and open_id='1020';update tr_shopcart set price='2.80000000',unit_no='斤',amount=2.80000000 * qty where goods_id='0000000005732' and open_id='1020';update tr_shopcart set price='5.60000000',unit_no='斤',amount=5.60000000 * qty where goods_id='0000000005847' and open_id='1020';update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000005863' and open_id='1020';update tr_shopcart set price='4.60000000',unit_no='斤',amount=4.60000000 * qty where goods_id='0000000000871' and open_id='1020';update tr_shopcart set price='4.80000000',unit_no='盒',amount=4.80000000 * qty where goods_id='0000000001254' and open_id='1020';update tr_shopcart set price='4.80000000',unit_no='盒',amount=4.80000000 * qty where goods_id='0000000001270' and open_id='1020';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005773' and open_id='1020';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005775' and open_id='1020';update tr_shopcart set price='3.40000000',unit_no='包',amount=3.40000000 * qty where goods_id='0000000005776' and open_id='1020';update tr_shopcart set price='4.30000000',unit_no='斤',amount=4.30000000 * qty where goods_id='0000000001278' and open_id='1020';update tr_shopcart set price='4.50000000',unit_no='斤',amount=4.50000000 * qty where goods_id='0000000005709' and open_id='1020';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005735' and open_id='1020';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000005736' and open_id='1020';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005741' and open_id='1020';update tr_shopcart set price='3.40000000',unit_no='斤',amount=3.40000000 * qty where goods_id='0000000005743' and open_id='1020';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000027' and open_id='1020';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000028' and open_id='1020';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005731' and open_id='1020';update tr_shopcart set price='5.60000000',unit_no='斤',amount=5.60000000 * qty where goods_id='0000000005748' and open_id='1020';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005749' and open_id='1020';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005750' and open_id='1020';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000005840' and open_id='1020';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005751' and open_id='1020';update tr_shopcart set price='2.70000000',unit_no='斤',amount=2.70000000 * qty where goods_id='0000000005843' and open_id='1020';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005859' and open_id='1020';update tr_shopcart set price='3.80000000',unit_no='斤',amount=3.80000000 * qty where goods_id='0000000005861' and open_id='1020';update tr_shopcart set price='4.40000000',unit_no='斤',amount=4.40000000 * qty where goods_id='0000000005862' and open_id='1020';update tr_shopcart set price='4.50000000',unit_no='斤',amount=4.50000000 * qty where goods_id='0000000005864' and open_id='1020'; [详细] => 在 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.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.ExecuteScalar() 在 Db.DBContext.ExecuteScalar(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.GetAll(String oper_id, String supcust_no) 在 Api.SingOut.b2b.mina.shopcart.get_all() [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => get_all [入参] => ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 13:46:52 [错误信息] => 商品数量不能小于零! [sql] => select qty from tr_shopcart where goods_id = '0000000001290' and open_id='1101' [详细] => 在 Api.BLL.b2b.ShopCartService.DeleteQtyOne(tr_shopcart shopcart, Decimal& count, String oper_id, String cus_level) 在 Api.SingOut.b2b.mina.shopcart.delete_qty_one(String goods_id) [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => delete_qty_one [入参] => {"goods_id":"0000000001290"} ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 13:49:52 [错误信息] => 事务(进程 ID 85)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000005870' and open_id='1020';update tr_shopcart set price='5.80000000',unit_no='斤',amount=5.80000000 * qty where goods_id='0000000004758' and open_id='1020';update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000005769' and open_id='1020';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005758' and open_id='1020';update tr_shopcart set price='6.00000000',unit_no='斤',amount=6.00000000 * qty where goods_id='0000000005759' and open_id='1020';update tr_shopcart set price='1.80000000',unit_no='斤',amount=1.80000000 * qty where goods_id='0000000005762' and open_id='1020';update tr_shopcart set price='7.40000000',unit_no='斤',amount=7.40000000 * qty where goods_id='0000000005767' and open_id='1020';update tr_shopcart set price='7.80000000',unit_no='斤',amount=7.80000000 * qty where goods_id='0000000005768' and open_id='1020';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000005830' and open_id='1020';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000005868' and open_id='1020';update tr_shopcart set price='2.00000000',unit_no='斤',amount=2.00000000 * qty where goods_id='0000000005871' and open_id='1020';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000005772' and open_id='1020';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005778' and open_id='1020';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000000964' and open_id='1020';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000004768' and open_id='1020';update tr_shopcart set price='2.80000000',unit_no='斤',amount=2.80000000 * qty where goods_id='0000000005732' and open_id='1020';update tr_shopcart set price='5.60000000',unit_no='斤',amount=5.60000000 * qty where goods_id='0000000005847' and open_id='1020';update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000005863' and open_id='1020';update tr_shopcart set price='3.60000000',unit_no='斤',amount=3.60000000 * qty where goods_id='0000000005800' and open_id='1020';update tr_shopcart set price='5.10000000',unit_no='斤',amount=5.10000000 * qty where goods_id='0000000005754' and open_id='1020';update tr_shopcart set price='7.70000000',unit_no='斤',amount=7.70000000 * qty where goods_id='0000000004761' and open_id='1020';update tr_shopcart set price='7.50000000',unit_no='斤',amount=7.50000000 * qty where goods_id='0000000005756' and open_id='1020';update tr_shopcart set price='4.60000000',unit_no='斤',amount=4.60000000 * qty where goods_id='0000000000871' and open_id='1020';update tr_shopcart set price='4.80000000',unit_no='盒',amount=4.80000000 * qty where goods_id='0000000001254' and open_id='1020';update tr_shopcart set price='4.80000000',unit_no='盒',amount=4.80000000 * qty where goods_id='0000000001270' and open_id='1020';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005773' and open_id='1020';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005775' and open_id='1020';update tr_shopcart set price='3.40000000',unit_no='包',amount=3.40000000 * qty where goods_id='0000000005776' and open_id='1020';update tr_shopcart set price='4.30000000',unit_no='斤',amount=4.30000000 * qty where goods_id='0000000001278' and open_id='1020';update tr_shopcart set price='4.50000000',unit_no='斤',amount=4.50000000 * qty where goods_id='0000000005709' and open_id='1020';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005735' and open_id='1020';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000005736' and open_id='1020';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005741' and open_id='1020';update tr_shopcart set price='3.40000000',unit_no='斤',amount=3.40000000 * qty where goods_id='0000000005743' and open_id='1020';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000027' and open_id='1020';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000028' and open_id='1020';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005731' and open_id='1020';update tr_shopcart set price='5.60000000',unit_no='斤',amount=5.60000000 * qty where goods_id='0000000005748' and open_id='1020';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005749' and open_id='1020';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005750' and open_id='1020';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000004755' and open_id='1020';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000005840' and open_id='1020';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005751' and open_id='1020';update tr_shopcart set price='1.70000000',unit_no='斤',amount=1.70000000 * qty where goods_id='0000000005752' and open_id='1020';update tr_shopcart set price='2.00000000',unit_no='斤',amount=2.00000000 * qty where goods_id='0000000005753' and open_id='1020';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000004698' and open_id='1020';update tr_shopcart set price='2.70000000',unit_no='斤',amount=2.70000000 * qty where goods_id='0000000005843' and open_id='1020';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005859' and open_id='1020';update tr_shopcart set price='3.80000000',unit_no='斤',amount=3.80000000 * qty where goods_id='0000000005861' and open_id='1020';update tr_shopcart set price='4.40000000',unit_no='斤',amount=4.40000000 * qty where goods_id='0000000005862' and open_id='1020';update tr_shopcart set price='4.50000000',unit_no='斤',amount=4.50000000 * qty where goods_id='0000000005864' and open_id='1020';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005799' and open_id='1020';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000004759' and open_id='1020';update tr_shopcart set price='1.30000000',unit_no='斤',amount=1.30000000 * qty where goods_id='0000000005789' and open_id='1020';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000004720' and open_id='1020';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000005757' and open_id='1020';update tr_shopcart set price='6.50000000',unit_no='斤',amount=6.50000000 * qty where goods_id='0000000005763' and open_id='1020';update tr_shopcart set price='4.90000000',unit_no='斤',amount=4.90000000 * qty where goods_id='0000000005765' and open_id='1020';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005766' and open_id='1020'; [详细] => 在 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.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.ExecuteScalar() 在 Db.DBContext.ExecuteScalar(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.GetAll(String oper_id, String supcust_no) 在 Api.SingOut.b2b.mina.shopcart.get_all() [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => get_all [入参] => ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 13:50:28 [错误信息] => 事务(进程 ID 78)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000005870' and open_id='1020';update tr_shopcart set price='5.80000000',unit_no='斤',amount=5.80000000 * qty where goods_id='0000000004758' and open_id='1020';update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000005769' and open_id='1020';update tr_shopcart set price='5.75000000',unit_no='斤',amount=5.75000000 * qty where goods_id='0000000005807' and open_id='1020';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005810' and open_id='1020';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005758' and open_id='1020';update tr_shopcart set price='6.00000000',unit_no='斤',amount=6.00000000 * qty where goods_id='0000000005759' and open_id='1020';update tr_shopcart set price='1.80000000',unit_no='斤',amount=1.80000000 * qty where goods_id='0000000005762' and open_id='1020';update tr_shopcart set price='7.40000000',unit_no='斤',amount=7.40000000 * qty where goods_id='0000000005767' and open_id='1020';update tr_shopcart set price='7.80000000',unit_no='斤',amount=7.80000000 * qty where goods_id='0000000005768' and open_id='1020';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000005830' and open_id='1020';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000005868' and open_id='1020';update tr_shopcart set price='2.00000000',unit_no='斤',amount=2.00000000 * qty where goods_id='0000000005871' and open_id='1020';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000005772' and open_id='1020';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005778' and open_id='1020';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000000964' and open_id='1020';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000004768' and open_id='1020';update tr_shopcart set price='2.80000000',unit_no='斤',amount=2.80000000 * qty where goods_id='0000000005732' and open_id='1020';update tr_shopcart set price='5.60000000',unit_no='斤',amount=5.60000000 * qty where goods_id='0000000005847' and open_id='1020';update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000005863' and open_id='1020';update tr_shopcart set price='3.60000000',unit_no='斤',amount=3.60000000 * qty where goods_id='0000000005800' and open_id='1020';update tr_shopcart set price='5.10000000',unit_no='斤',amount=5.10000000 * qty where goods_id='0000000005754' and open_id='1020';update tr_shopcart set price='7.70000000',unit_no='斤',amount=7.70000000 * qty where goods_id='0000000004761' and open_id='1020';update tr_shopcart set price='7.50000000',unit_no='斤',amount=7.50000000 * qty where goods_id='0000000005756' and open_id='1020';update tr_shopcart set price='4.60000000',unit_no='斤',amount=4.60000000 * qty where goods_id='0000000000871' and open_id='1020';update tr_shopcart set price='4.80000000',unit_no='盒',amount=4.80000000 * qty where goods_id='0000000001254' and open_id='1020';update tr_shopcart set price='4.80000000',unit_no='盒',amount=4.80000000 * qty where goods_id='0000000001270' and open_id='1020';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005773' and open_id='1020';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005775' and open_id='1020';update tr_shopcart set price='3.40000000',unit_no='包',amount=3.40000000 * qty where goods_id='0000000005776' and open_id='1020';update tr_shopcart set price='4.30000000',unit_no='斤',amount=4.30000000 * qty where goods_id='0000000001278' and open_id='1020';update tr_shopcart set price='4.50000000',unit_no='斤',amount=4.50000000 * qty where goods_id='0000000005709' and open_id='1020';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005735' and open_id='1020';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000005736' and open_id='1020';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005741' and open_id='1020';update tr_shopcart set price='3.40000000',unit_no='斤',amount=3.40000000 * qty where goods_id='0000000005743' and open_id='1020';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000027' and open_id='1020';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000028' and open_id='1020';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005731' and open_id='1020';update tr_shopcart set price='5.60000000',unit_no='斤',amount=5.60000000 * qty where goods_id='0000000005748' and open_id='1020';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005749' and open_id='1020';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005750' and open_id='1020';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000004755' and open_id='1020';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000005840' and open_id='1020';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005751' and open_id='1020';update tr_shopcart set price='1.70000000',unit_no='斤',amount=1.70000000 * qty where goods_id='0000000005752' and open_id='1020';update tr_shopcart set price='2.00000000',unit_no='斤',amount=2.00000000 * qty where goods_id='0000000005753' and open_id='1020';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000004698' and open_id='1020';update tr_shopcart set price='2.70000000',unit_no='斤',amount=2.70000000 * qty where goods_id='0000000005843' and open_id='1020';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005859' and open_id='1020';update tr_shopcart set price='3.80000000',unit_no='斤',amount=3.80000000 * qty where goods_id='0000000005861' and open_id='1020';update tr_shopcart set price='4.40000000',unit_no='斤',amount=4.40000000 * qty where goods_id='0000000005862' and open_id='1020';update tr_shopcart set price='4.50000000',unit_no='斤',amount=4.50000000 * qty where goods_id='0000000005864' and open_id='1020';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005799' and open_id='1020';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000004759' and open_id='1020';update tr_shopcart set price='1.30000000',unit_no='斤',amount=1.30000000 * qty where goods_id='0000000005789' and open_id='1020';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000004720' and open_id='1020';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000005757' and open_id='1020';update tr_shopcart set price='6.50000000',unit_no='斤',amount=6.50000000 * qty where goods_id='0000000005763' and open_id='1020';update tr_shopcart set price='4.90000000',unit_no='斤',amount=4.90000000 * qty where goods_id='0000000005765' and open_id='1020';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005766' and open_id='1020';update tr_shopcart set price='8.50000000',unit_no='斤',amount=8.50000000 * qty where goods_id='0000000001117' and open_id='1020';update tr_shopcart set price='8.80000000',unit_no='斤',amount=8.80000000 * qty where goods_id='0000000001123' and open_id='1020';update tr_shopcart set price='7.00000000',unit_no='斤',amount=7.00000000 * qty where goods_id='0000000001570' and open_id='1020'; [详细] => 在 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.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.ExecuteScalar() 在 Db.DBContext.ExecuteScalar(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.GetAll(String oper_id, String supcust_no) 在 Api.SingOut.b2b.mina.shopcart.get_all() [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => get_all [入参] => ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 13:53:25 [错误信息] => 事务(进程 ID 78)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => update tr_shopcart set price='5.50000000',unit_no='斤',amount=5.50000000 * qty where goods_id='0000000000001' and open_id='1101';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000004698' and open_id='1101';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005799' and open_id='1101';update tr_shopcart set price='2.30000000',unit_no='斤',amount=2.30000000 * qty where goods_id='0000000005848' and open_id='1101';update tr_shopcart set price='4.60000000',unit_no='斤',amount=4.60000000 * qty where goods_id='0000000005747' and open_id='1101';update tr_shopcart set price='2.20000000',unit_no='斤',amount=2.20000000 * qty where goods_id='0000000000660' and open_id='1101';update tr_shopcart set price='3.60000000',unit_no='斤',amount=3.60000000 * qty where goods_id='0000000005800' and open_id='1101';update tr_shopcart set price='3.40000000',unit_no='包',amount=3.40000000 * qty where goods_id='0000000005776' and open_id='1101';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000028' and open_id='1101';update tr_shopcart set price='2.80000000',unit_no='斤',amount=2.80000000 * qty where goods_id='0000000005732' and open_id='1101';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005758' and open_id='1101';update tr_shopcart set price='4.50000000',unit_no='斤',amount=4.50000000 * qty where goods_id='0000000005709' and open_id='1101';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000005757' and open_id='1101';update tr_shopcart set price='1.80000000',unit_no='斤',amount=1.80000000 * qty where goods_id='0000000005762' and open_id='1101';update tr_shopcart set price='1.88000000',unit_no='斤',amount=1.88000000 * qty where goods_id='0000000005478' and open_id='1101';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005483' and open_id='1101';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000004769' and open_id='1101';update tr_shopcart set price='2.20000000',unit_no='斤',amount=2.20000000 * qty where goods_id='0000000001746' and open_id='1101';update tr_shopcart set price='2.20000000',unit_no='斤',amount=2.20000000 * qty where goods_id='0000000001271' and open_id='1101';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005482' and open_id='1101';update tr_shopcart set price='1.88000000',unit_no='斤',amount=1.88000000 * qty where goods_id='0000000005488' and open_id='1101';update tr_shopcart set price='1.88000000',unit_no='斤',amount=1.88000000 * qty where goods_id='0000000005491' and open_id='1101';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000001290' and open_id='1101';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000005772' and open_id='1101';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005775' and open_id='1101';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000005868' and open_id='1101';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005859' and open_id='1101';update tr_shopcart set price='1.70000000',unit_no='斤',amount=1.70000000 * qty where goods_id='0000000005752' and open_id='1101'; [详细] => 在 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.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.ExecuteScalar() 在 Db.DBContext.ExecuteScalar(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.GetAll(String oper_id, String supcust_no) 在 Api.SingOut.b2b.mina.shopcart.get_all() [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => get_all [入参] => ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 13:53:53 [错误信息] => 事务(进程 ID 80)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000005870' and open_id='1020';update tr_shopcart set price='5.80000000',unit_no='斤',amount=5.80000000 * qty where goods_id='0000000004758' and open_id='1020';update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000005769' and open_id='1020';update tr_shopcart set price='5.75000000',unit_no='斤',amount=5.75000000 * qty where goods_id='0000000005807' and open_id='1020';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005810' and open_id='1020';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000002448' and open_id='1020';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000004776' and open_id='1020';update tr_shopcart set price='3.60000000',unit_no='斤',amount=3.60000000 * qty where goods_id='0000000005703' and open_id='1020';update tr_shopcart set price='9.00000000',unit_no='斤',amount=9.00000000 * qty where goods_id='0000000005100' and open_id='1020';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005758' and open_id='1020';update tr_shopcart set price='6.00000000',unit_no='斤',amount=6.00000000 * qty where goods_id='0000000005759' and open_id='1020';update tr_shopcart set price='1.80000000',unit_no='斤',amount=1.80000000 * qty where goods_id='0000000005762' and open_id='1020';update tr_shopcart set price='7.40000000',unit_no='斤',amount=7.40000000 * qty where goods_id='0000000005767' and open_id='1020';update tr_shopcart set price='7.80000000',unit_no='斤',amount=7.80000000 * qty where goods_id='0000000005768' and open_id='1020';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000005830' and open_id='1020';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000005868' and open_id='1020';update tr_shopcart set price='2.00000000',unit_no='斤',amount=2.00000000 * qty where goods_id='0000000005871' and open_id='1020';update tr_shopcart set price='17.78000000',unit_no='盒',amount=17.78000000 * qty where goods_id='0000000000966' and open_id='1020';update tr_shopcart set price='11.00000000',unit_no='盒',amount=11.00000000 * qty where goods_id='0000000001653' and open_id='1020';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000005772' and open_id='1020';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005778' and open_id='1020';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000000964' and open_id='1020';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000004768' and open_id='1020';update tr_shopcart set price='2.80000000',unit_no='斤',amount=2.80000000 * qty where goods_id='0000000005732' and open_id='1020';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005485' and open_id='1020';update tr_shopcart set price='1.88000000',unit_no='斤',amount=1.88000000 * qty where goods_id='0000000005488' and open_id='1020';update tr_shopcart set price='2.25000000',unit_no='斤',amount=2.25000000 * qty where goods_id='0000000005489' and open_id='1020';update tr_shopcart set price='5.60000000',unit_no='斤',amount=5.60000000 * qty where goods_id='0000000005847' and open_id='1020';update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000005863' and open_id='1020';update tr_shopcart set price='1.88000000',unit_no='斤',amount=1.88000000 * qty where goods_id='0000000005464' and open_id='1020';update tr_shopcart set price='3.60000000',unit_no='斤',amount=3.60000000 * qty where goods_id='0000000005800' and open_id='1020';update tr_shopcart set price='5.10000000',unit_no='斤',amount=5.10000000 * qty where goods_id='0000000005754' and open_id='1020';update tr_shopcart set price='7.70000000',unit_no='斤',amount=7.70000000 * qty where goods_id='0000000004761' and open_id='1020';update tr_shopcart set price='7.50000000',unit_no='斤',amount=7.50000000 * qty where goods_id='0000000005756' and open_id='1020';update tr_shopcart set price='4.30000000',unit_no='斤',amount=4.30000000 * qty where goods_id='0000000005708' and open_id='1020';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005482' and open_id='1020';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005483' and open_id='1020';update tr_shopcart set price='4.60000000',unit_no='斤',amount=4.60000000 * qty where goods_id='0000000000871' and open_id='1020';update tr_shopcart set price='4.80000000',unit_no='盒',amount=4.80000000 * qty where goods_id='0000000001254' and open_id='1020';update tr_shopcart set price='4.80000000',unit_no='盒',amount=4.80000000 * qty where goods_id='0000000001270' and open_id='1020';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005773' and open_id='1020';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005775' and open_id='1020';update tr_shopcart set price='3.40000000',unit_no='包',amount=3.40000000 * qty where goods_id='0000000005776' and open_id='1020';update tr_shopcart set price='4.30000000',unit_no='斤',amount=4.30000000 * qty where goods_id='0000000001278' and open_id='1020';update tr_shopcart set price='4.50000000',unit_no='斤',amount=4.50000000 * qty where goods_id='0000000005709' and open_id='1020';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005735' and open_id='1020';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000005736' and open_id='1020';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005741' and open_id='1020';update tr_shopcart set price='3.40000000',unit_no='斤',amount=3.40000000 * qty where goods_id='0000000005743' and open_id='1020';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000027' and open_id='1020';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000028' and open_id='1020';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005731' and open_id='1020';update tr_shopcart set price='5.60000000',unit_no='斤',amount=5.60000000 * qty where goods_id='0000000005748' and open_id='1020';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005749' and open_id='1020';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005750' and open_id='1020';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000004755' and open_id='1020';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000005840' and open_id='1020';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005751' and open_id='1020';update tr_shopcart set price='1.70000000',unit_no='斤',amount=1.70000000 * qty where goods_id='0000000005752' and open_id='1020';update tr_shopcart set price='2.00000000',unit_no='斤',amount=2.00000000 * qty where goods_id='0000000005753' and open_id='1020';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000004698' and open_id='1020';update tr_shopcart set price='2.70000000',unit_no='斤',amount=2.70000000 * qty where goods_id='0000000005843' and open_id='1020';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005859' and open_id='1020';update tr_shopcart set price='3.80000000',unit_no='斤',amount=3.80000000 * qty where goods_id='0000000005861' and open_id='1020';update tr_shopcart set price='4.40000000',unit_no='斤',amount=4.40000000 * qty where goods_id='0000000005862' and open_id='1020';update tr_shopcart set price='4.50000000',unit_no='斤',amount=4.50000000 * qty where goods_id='0000000005864' and open_id='1020';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005799' and open_id='1020';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000004759' and open_id='1020';update tr_shopcart set price='1.30000000',unit_no='斤',amount=1.30000000 * qty where goods_id='0000000005789' and open_id='1020';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000004720' and open_id='1020';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000005757' and open_id='1020';update tr_shopcart set price='6.50000000',unit_no='斤',amount=6.50000000 * qty where goods_id='0000000005763' and open_id='1020';update tr_shopcart set price='4.90000000',unit_no='斤',amount=4.90000000 * qty where goods_id='0000000005765' and open_id='1020';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005766' and open_id='1020';update tr_shopcart set price='8.50000000',unit_no='斤',amount=8.50000000 * qty where goods_id='0000000001117' and open_id='1020';update tr_shopcart set price='8.80000000',unit_no='斤',amount=8.80000000 * qty where goods_id='0000000001123' and open_id='1020';update tr_shopcart set price='7.00000000',unit_no='斤',amount=7.00000000 * qty where goods_id='0000000001570' and open_id='1020';update tr_shopcart set price='23.00000000',unit_no='斤',amount=23.00000000 * qty where goods_id='0000000005649' and open_id='1020';update tr_shopcart set price='34.44000000',unit_no='斤',amount=34.44000000 * qty where goods_id='0000000005662' and open_id='1020';update tr_shopcart set price='7.80000000',unit_no='斤',amount=7.80000000 * qty where goods_id='0000000004568' and open_id='1020';update tr_shopcart set price='17.60000000',unit_no='斤',amount=17.60000000 * qty where goods_id='0000000004606' and open_id='1020';update tr_shopcart set price='17.60000000',unit_no='斤',amount=17.60000000 * qty where goods_id='0000000004607' and open_id='1020';update tr_shopcart set price='2.25000000',unit_no='斤',amount=2.25000000 * qty where goods_id='0000000005423' and open_id='1020'; [详细] => 在 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.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.ExecuteScalar() 在 Db.DBContext.ExecuteScalar(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.GetAll(String oper_id, String supcust_no) 在 Api.SingOut.b2b.mina.shopcart.get_all() [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => get_all [入参] => ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 13:55:50 [错误信息] => 事务(进程 ID 76)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => update tr_shopcart set price='11.00000000',unit_no='斤',amount=11.00000000 * qty where goods_id='0000000004715' and open_id='1047';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005751' and open_id='1047';update tr_shopcart set price='4.50000000',unit_no='斤',amount=4.50000000 * qty where goods_id='0000000005709' and open_id='1047';update tr_shopcart set price='3.60000000',unit_no='斤',amount=3.60000000 * qty where goods_id='0000000004684' and open_id='1047';update tr_shopcart set price='24.50000000',unit_no='斤',amount=24.50000000 * qty where goods_id='0000000005949' and open_id='1047';update tr_shopcart set price='14.30000000',unit_no='斤',amount=14.30000000 * qty where goods_id='0000000005909' and open_id='1047';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005741' and open_id='1047';update tr_shopcart set price='13.50000000',unit_no='斤',amount=13.50000000 * qty where goods_id='0000000005932' and open_id='1047';update tr_shopcart set price='13.00000000',unit_no='斤',amount=13.00000000 * qty where goods_id='0000000005947' and open_id='1047';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000004698' and open_id='1047';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005778' and open_id='1047';update tr_shopcart set price='18.00000000',unit_no='斤',amount=18.00000000 * qty where goods_id='0000000000025' and open_id='1047';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000028' and open_id='1047';update tr_shopcart set price='16.50000000',unit_no='斤',amount=16.50000000 * qty where goods_id='0000000004700' and open_id='1047';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005750' and open_id='1047';update tr_shopcart set price='1.70000000',unit_no='斤',amount=1.70000000 * qty where goods_id='0000000005752' and open_id='1047';update tr_shopcart set price='2.00000000',unit_no='斤',amount=2.00000000 * qty where goods_id='0000000005753' and open_id='1047';update tr_shopcart set price='49.50000000',unit_no='斤',amount=49.50000000 * qty where goods_id='0000000005896' and open_id='1047';update tr_shopcart set price='14.00000000',unit_no='斤',amount=14.00000000 * qty where goods_id='0000000005013' and open_id='1047';update tr_shopcart set price='28.00000000',unit_no='斤',amount=28.00000000 * qty where goods_id='0000000005906' and open_id='1047';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000005830' and open_id='1047';update tr_shopcart set price='4.60000000',unit_no='斤',amount=4.60000000 * qty where goods_id='0000000005747' and open_id='1047';update tr_shopcart set price='8.80000000',unit_no='斤',amount=8.80000000 * qty where goods_id='0000000005012' and open_id='1047';update tr_shopcart set price='13.80000000',unit_no='斤',amount=13.80000000 * qty where goods_id='0000000005015' and open_id='1047';update tr_shopcart set price='13.80000000',unit_no='斤',amount=13.80000000 * qty where goods_id='0000000005873' and open_id='1047';update tr_shopcart set price='22.00000000',unit_no='斤',amount=22.00000000 * qty where goods_id='0000000005905' and open_id='1047';update tr_shopcart set price='14.50000000',unit_no='斤',amount=14.50000000 * qty where goods_id='0000000005907' and open_id='1047';update tr_shopcart set price='11.50000000',unit_no='斤',amount=11.50000000 * qty where goods_id='0000000005832' and open_id='1047';update tr_shopcart set price='5.60000000',unit_no='斤',amount=5.60000000 * qty where goods_id='0000000005847' and open_id='1047';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005859' and open_id='1047';update tr_shopcart set price='4.40000000',unit_no='斤',amount=4.40000000 * qty where goods_id='0000000005862' and open_id='1047';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000005868' and open_id='1047';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000005772' and open_id='1047';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005773' and open_id='1047';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005775' and open_id='1047';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000005840' and open_id='1047';update tr_shopcart set price='2.70000000',unit_no='斤',amount=2.70000000 * qty where goods_id='0000000005843' and open_id='1047';update tr_shopcart set price='3.70000000',unit_no='斤',amount=3.70000000 * qty where goods_id='0000000005846' and open_id='1047';update tr_shopcart set price='3.80000000',unit_no='斤',amount=3.80000000 * qty where goods_id='0000000005861' and open_id='1047';update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000005863' and open_id='1047';update tr_shopcart set price='4.50000000',unit_no='斤',amount=4.50000000 * qty where goods_id='0000000005864' and open_id='1047';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000027' and open_id='1047';update tr_shopcart set price='3.40000000',unit_no='包',amount=3.40000000 * qty where goods_id='0000000005776' and open_id='1047';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000000964' and open_id='1047';update tr_shopcart set price='5.50000000',unit_no='斤',amount=5.50000000 * qty where goods_id='0000000001276' and open_id='1047';update tr_shopcart set price='2.60000000',unit_no='斤',amount=2.60000000 * qty where goods_id='0000000005733' and open_id='1047';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000005736' and open_id='1047';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005745' and open_id='1047';update tr_shopcart set price='5.60000000',unit_no='斤',amount=5.60000000 * qty where goods_id='0000000005748' and open_id='1047';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005749' and open_id='1047'; [详细] => 在 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.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.ExecuteScalar() 在 Db.DBContext.ExecuteScalar(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.GetAll(String oper_id, String supcust_no) 在 Api.SingOut.b2b.mina.shopcart.get_all() [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => get_all [入参] => ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 13:55:55 [错误信息] => 事务(进程 ID 84)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => select qty from tr_shopcart where goods_id='0000000004715' and open_id='1047' [详细] => 在 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.TryHasMoreRows(Boolean& moreRows) 在 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(DataTable[] dataTables, 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(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior) 在 System.Data.Common.DbDataAdapter.Fill(DataTable dataTable) 在 Db.DBContext.ExecuteToTable(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.AddQtyOne(tr_shopcart shopcart, Decimal& count, String oper_id, String cus_level, Int32 merId) 在 Api.SingOut.b2b.mina.shopcart.add_qty_one(String goods_id) [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => add_qty_one [入参] => {"goods_id":"0000000004715"} ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 13:55:58 [错误信息] => 事务(进程 ID 85)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => delete from tr_shopcart where goods_id='0000000005871' and open_id='1026' [详细] => 在 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.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.ExecuteScalar() 在 Db.DBContext.ExecuteScalar(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.Delete(String goods_id, String oper_id) 在 Api.SingOut.b2b.mina.shopcart.delete(String goods_ids) [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => delete [入参] => {"goods_ids":"0000000005871"} ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 13:55:59 [错误信息] => 事务(进程 ID 64)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => update tr_shopcart set price='11.00000000',unit_no='斤',amount=11.00000000 * qty where goods_id='0000000004715' and open_id='1047';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005751' and open_id='1047';update tr_shopcart set price='4.50000000',unit_no='斤',amount=4.50000000 * qty where goods_id='0000000005709' and open_id='1047';update tr_shopcart set price='3.60000000',unit_no='斤',amount=3.60000000 * qty where goods_id='0000000004684' and open_id='1047';update tr_shopcart set price='24.50000000',unit_no='斤',amount=24.50000000 * qty where goods_id='0000000005949' and open_id='1047';update tr_shopcart set price='14.30000000',unit_no='斤',amount=14.30000000 * qty where goods_id='0000000005909' and open_id='1047';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005741' and open_id='1047';update tr_shopcart set price='13.50000000',unit_no='斤',amount=13.50000000 * qty where goods_id='0000000005932' and open_id='1047';update tr_shopcart set price='13.00000000',unit_no='斤',amount=13.00000000 * qty where goods_id='0000000005947' and open_id='1047';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000004698' and open_id='1047';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005778' and open_id='1047';update tr_shopcart set price='18.00000000',unit_no='斤',amount=18.00000000 * qty where goods_id='0000000000025' and open_id='1047';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000028' and open_id='1047';update tr_shopcart set price='16.50000000',unit_no='斤',amount=16.50000000 * qty where goods_id='0000000004700' and open_id='1047';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005750' and open_id='1047';update tr_shopcart set price='1.70000000',unit_no='斤',amount=1.70000000 * qty where goods_id='0000000005752' and open_id='1047';update tr_shopcart set price='2.00000000',unit_no='斤',amount=2.00000000 * qty where goods_id='0000000005753' and open_id='1047';update tr_shopcart set price='49.50000000',unit_no='斤',amount=49.50000000 * qty where goods_id='0000000005896' and open_id='1047';update tr_shopcart set price='14.00000000',unit_no='斤',amount=14.00000000 * qty where goods_id='0000000005013' and open_id='1047';update tr_shopcart set price='28.00000000',unit_no='斤',amount=28.00000000 * qty where goods_id='0000000005906' and open_id='1047';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000005830' and open_id='1047';update tr_shopcart set price='4.60000000',unit_no='斤',amount=4.60000000 * qty where goods_id='0000000005747' and open_id='1047';update tr_shopcart set price='8.80000000',unit_no='斤',amount=8.80000000 * qty where goods_id='0000000005012' and open_id='1047';update tr_shopcart set price='13.80000000',unit_no='斤',amount=13.80000000 * qty where goods_id='0000000005015' and open_id='1047';update tr_shopcart set price='13.80000000',unit_no='斤',amount=13.80000000 * qty where goods_id='0000000005873' and open_id='1047';update tr_shopcart set price='22.00000000',unit_no='斤',amount=22.00000000 * qty where goods_id='0000000005905' and open_id='1047';update tr_shopcart set price='14.50000000',unit_no='斤',amount=14.50000000 * qty where goods_id='0000000005907' and open_id='1047';update tr_shopcart set price='11.50000000',unit_no='斤',amount=11.50000000 * qty where goods_id='0000000005832' and open_id='1047';update tr_shopcart set price='5.60000000',unit_no='斤',amount=5.60000000 * qty where goods_id='0000000005847' and open_id='1047';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005859' and open_id='1047';update tr_shopcart set price='4.40000000',unit_no='斤',amount=4.40000000 * qty where goods_id='0000000005862' and open_id='1047';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000005868' and open_id='1047';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000005772' and open_id='1047';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005773' and open_id='1047';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005775' and open_id='1047';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000005840' and open_id='1047';update tr_shopcart set price='2.70000000',unit_no='斤',amount=2.70000000 * qty where goods_id='0000000005843' and open_id='1047';update tr_shopcart set price='3.70000000',unit_no='斤',amount=3.70000000 * qty where goods_id='0000000005846' and open_id='1047';update tr_shopcart set price='3.80000000',unit_no='斤',amount=3.80000000 * qty where goods_id='0000000005861' and open_id='1047';update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000005863' and open_id='1047';update tr_shopcart set price='4.50000000',unit_no='斤',amount=4.50000000 * qty where goods_id='0000000005864' and open_id='1047';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000027' and open_id='1047';update tr_shopcart set price='3.40000000',unit_no='包',amount=3.40000000 * qty where goods_id='0000000005776' and open_id='1047';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000000964' and open_id='1047';update tr_shopcart set price='5.50000000',unit_no='斤',amount=5.50000000 * qty where goods_id='0000000001276' and open_id='1047';update tr_shopcart set price='2.60000000',unit_no='斤',amount=2.60000000 * qty where goods_id='0000000005733' and open_id='1047';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000005736' and open_id='1047';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005745' and open_id='1047';update tr_shopcart set price='5.60000000',unit_no='斤',amount=5.60000000 * qty where goods_id='0000000005748' and open_id='1047';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005749' and open_id='1047'; [详细] => 在 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.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.ExecuteScalar() 在 Db.DBContext.ExecuteScalar(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.GetAll(String oper_id, String supcust_no) 在 Api.SingOut.b2b.mina.shopcart.get_all() [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => get_all [入参] => ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 13:56:02 [错误信息] => 事务(进程 ID 65)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005855' and open_id='1040';update tr_shopcart set price='12.00000000',unit_no='斤',amount=12.00000000 * qty where goods_id='0000000005921' and open_id='1040';update tr_shopcart set price='13.00000000',unit_no='斤',amount=13.00000000 * qty where goods_id='0000000005947' and open_id='1040';update tr_shopcart set price='24.50000000',unit_no='斤',amount=24.50000000 * qty where goods_id='0000000005949' and open_id='1040';update tr_shopcart set price='49.50000000',unit_no='斤',amount=49.50000000 * qty where goods_id='0000000005896' and open_id='1040';update tr_shopcart set price='15.10000000',unit_no='斤',amount=15.10000000 * qty where goods_id='0000000000832' and open_id='1040';update tr_shopcart set price='11.50000000',unit_no='斤',amount=11.50000000 * qty where goods_id='0000000005939' and open_id='1040';update tr_shopcart set price='5.80000000',unit_no='斤',amount=5.80000000 * qty where goods_id='0000000004758' and open_id='1040';update tr_shopcart set price='2.25000000',unit_no='斤',amount=2.25000000 * qty where goods_id='0000000005423' and open_id='1040';update tr_shopcart set price='6.25000000',unit_no='斤',amount=6.25000000 * qty where goods_id='0000000005493' and open_id='1040';update tr_shopcart set price='7.50000000',unit_no='斤',amount=7.50000000 * qty where goods_id='0000000005756' and open_id='1040';update tr_shopcart set price='5.70000000',unit_no='斤',amount=5.70000000 * qty where goods_id='0000000005822' and open_id='1040';update tr_shopcart set price='5.75000000',unit_no='斤',amount=5.75000000 * qty where goods_id='0000000005807' and open_id='1040';update tr_shopcart set price='155.00000000',unit_no='斤',amount=155.00000000 * qty where goods_id='0000000004925' and open_id='1040'; [详细] => 在 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.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.ExecuteScalar() 在 Db.DBContext.ExecuteScalar(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.GetAll(String oper_id, String supcust_no) 在 Api.SingOut.b2b.mina.shopcart.get_all() [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => get_all [入参] => ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 13:56:02 [错误信息] => 事务(进程 ID 78)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005855' and open_id='1040';update tr_shopcart set price='12.00000000',unit_no='斤',amount=12.00000000 * qty where goods_id='0000000005921' and open_id='1040';update tr_shopcart set price='13.00000000',unit_no='斤',amount=13.00000000 * qty where goods_id='0000000005947' and open_id='1040';update tr_shopcart set price='24.50000000',unit_no='斤',amount=24.50000000 * qty where goods_id='0000000005949' and open_id='1040';update tr_shopcart set price='49.50000000',unit_no='斤',amount=49.50000000 * qty where goods_id='0000000005896' and open_id='1040';update tr_shopcart set price='15.10000000',unit_no='斤',amount=15.10000000 * qty where goods_id='0000000000832' and open_id='1040';update tr_shopcart set price='11.50000000',unit_no='斤',amount=11.50000000 * qty where goods_id='0000000005939' and open_id='1040';update tr_shopcart set price='5.80000000',unit_no='斤',amount=5.80000000 * qty where goods_id='0000000004758' and open_id='1040';update tr_shopcart set price='2.25000000',unit_no='斤',amount=2.25000000 * qty where goods_id='0000000005423' and open_id='1040';update tr_shopcart set price='6.25000000',unit_no='斤',amount=6.25000000 * qty where goods_id='0000000005493' and open_id='1040';update tr_shopcart set price='7.50000000',unit_no='斤',amount=7.50000000 * qty where goods_id='0000000005756' and open_id='1040';update tr_shopcart set price='5.70000000',unit_no='斤',amount=5.70000000 * qty where goods_id='0000000005822' and open_id='1040';update tr_shopcart set price='5.75000000',unit_no='斤',amount=5.75000000 * qty where goods_id='0000000005807' and open_id='1040';update tr_shopcart set price='155.00000000',unit_no='斤',amount=155.00000000 * qty where goods_id='0000000004925' and open_id='1040'; [详细] => 在 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.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.ExecuteScalar() 在 Db.DBContext.ExecuteScalar(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.GetAll(String oper_id, String supcust_no) 在 Api.SingOut.b2b.mina.shopcart.get_all() [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => get_all [入参] => ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 13:56:04 [错误信息] => 事务(进程 ID 66)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000027' and open_id='1034';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000028' and open_id='1034';update tr_shopcart set price='2.20000000',unit_no='斤',amount=2.20000000 * qty where goods_id='0000000000660' and open_id='1034';update tr_shopcart set price='4.60000000',unit_no='斤',amount=4.60000000 * qty where goods_id='0000000000871' and open_id='1034';update tr_shopcart set price='60.00000000',unit_no='只',amount=60.00000000 * qty where goods_id='0000000000894' and open_id='1034';update tr_shopcart set price='55.00000000',unit_no='斤',amount=55.00000000 * qty where goods_id='0000000000935' and open_id='1034';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000000964' and open_id='1034';update tr_shopcart set price='8.80000000',unit_no='斤',amount=8.80000000 * qty where goods_id='0000000001123' and open_id='1034';update tr_shopcart set price='3.80000000',unit_no='斤',amount=3.80000000 * qty where goods_id='0000000001247' and open_id='1034';update tr_shopcart set price='5.00000000',unit_no='斤',amount=5.00000000 * qty where goods_id='0000000001258' and open_id='1034';update tr_shopcart set price='2.20000000',unit_no='斤',amount=2.20000000 * qty where goods_id='0000000001271' and open_id='1034';update tr_shopcart set price='5.50000000',unit_no='斤',amount=5.50000000 * qty where goods_id='0000000001276' and open_id='1034';update tr_shopcart set price='4.30000000',unit_no='斤',amount=4.30000000 * qty where goods_id='0000000001278' and open_id='1034';update tr_shopcart set price='2.20000000',unit_no='斤',amount=2.20000000 * qty where goods_id='0000000001746' and open_id='1034';update tr_shopcart set price='2.70000000',unit_no='斤',amount=2.70000000 * qty where goods_id='0000000001749' and open_id='1034';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000002448' and open_id='1034';update tr_shopcart set price='16.00000000',unit_no='斤',amount=16.00000000 * qty where goods_id='0000000004643' and open_id='1034';update tr_shopcart set price='5.30000000',unit_no='斤',amount=5.30000000 * qty where goods_id='0000000004697' and open_id='1034';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000004698' and open_id='1034';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000004718' and open_id='1034';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000004720' and open_id='1034';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000004730' and open_id='1034';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000004744' and open_id='1034';update tr_shopcart set price='5.00000000',unit_no='斤',amount=5.00000000 * qty where goods_id='0000000004757' and open_id='1034';update tr_shopcart set price='5.80000000',unit_no='斤',amount=5.80000000 * qty where goods_id='0000000004758' and open_id='1034';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000004769' and open_id='1034';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000004776' and open_id='1034';update tr_shopcart set price='3.10000000',unit_no='斤',amount=3.10000000 * qty where goods_id='0000000004779' and open_id='1034';update tr_shopcart set price='31.30000000',unit_no='只',amount=31.30000000 * qty where goods_id='0000000004924' and open_id='1034';update tr_shopcart set price='24.50000000',unit_no='斤',amount=24.50000000 * qty where goods_id='0000000004961' and open_id='1034';update tr_shopcart set price='24.44000000',unit_no='斤',amount=24.44000000 * qty where goods_id='0000000004962' and open_id='1034';update tr_shopcart set price='10.00000000',unit_no='斤',amount=10.00000000 * qty where goods_id='0000000004963' and open_id='1034';update tr_shopcart set price='22.00000000',unit_no='板',amount=22.00000000 * qty where goods_id='0000000005432' and open_id='1034';update tr_shopcart set price='1.88000000',unit_no='斤',amount=1.88000000 * qty where goods_id='0000000005464' and open_id='1034';update tr_shopcart set price='1.88000000',unit_no='斤',amount=1.88000000 * qty where goods_id='0000000005478' and open_id='1034';update tr_shopcart set price='4.50000000',unit_no='斤',amount=4.50000000 * qty where goods_id='0000000005479' and open_id='1034';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005482' and open_id='1034';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005483' and open_id='1034';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005484' and open_id='1034';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005485' and open_id='1034';update tr_shopcart set price='2.85000000',unit_no='斤',amount=2.85000000 * qty where goods_id='0000000005490' and open_id='1034';update tr_shopcart set price='1.88000000',unit_no='斤',amount=1.88000000 * qty where goods_id='0000000005491' and open_id='1034';update tr_shopcart set price='6.25000000',unit_no='斤',amount=6.25000000 * qty where goods_id='0000000005493' and open_id='1034';update tr_shopcart set price='5.00000000',unit_no='斤',amount=5.00000000 * qty where goods_id='0000000005501' and open_id='1034';update tr_shopcart set price='5.00000000',unit_no='斤',amount=5.00000000 * qty where goods_id='0000000005502' and open_id='1034';update tr_shopcart set price='19.44000000',unit_no='斤',amount=19.44000000 * qty where goods_id='0000000005671' and open_id='1034';update tr_shopcart set price='19.80000000',unit_no='斤',amount=19.80000000 * qty where goods_id='0000000005673' and open_id='1034';update tr_shopcart set price='8.00000000',unit_no='包',amount=8.00000000 * qty where goods_id='0000000005702' and open_id='1034';update tr_shopcart set price='3.60000000',unit_no='斤',amount=3.60000000 * qty where goods_id='0000000005703' and open_id='1034';update tr_shopcart set price='4.50000000',unit_no='斤',amount=4.50000000 * qty where goods_id='0000000005709' and open_id='1034';update tr_shopcart set price='8.20000000',unit_no='斤',amount=8.20000000 * qty where goods_id='0000000005712' and open_id='1034';update tr_shopcart set price='3.40000000',unit_no='斤',amount=3.40000000 * qty where goods_id='0000000005713' and open_id='1034';update tr_shopcart set price='4.30000000',unit_no='斤',amount=4.30000000 * qty where goods_id='0000000005718' and open_id='1034';update tr_shopcart set price='3.24000000',unit_no='斤',amount=3.24000000 * qty where goods_id='0000000005729' and open_id='1034';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005731' and open_id='1034';update tr_shopcart set price='2.80000000',unit_no='斤',amount=2.80000000 * qty where goods_id='0000000005732' and open_id='1034';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000005736' and open_id='1034';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005741' and open_id='1034';update tr_shopcart set price='3.40000000',unit_no='斤',amount=3.40000000 * qty where goods_id='0000000005743' and open_id='1034';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005745' and open_id='1034';update tr_shopcart set price='5.60000000',unit_no='斤',amount=5.60000000 * qty where goods_id='0000000005748' and open_id='1034';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005750' and open_id='1034';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005751' and open_id='1034';update tr_shopcart set price='1.70000000',unit_no='斤',amount=1.70000000 * qty where goods_id='0000000005752' and open_id='1034';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000005757' and open_id='1034';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005758' and open_id='1034';update tr_shopcart set price='6.50000000',unit_no='斤',amount=6.50000000 * qty where goods_id='0000000005763' and open_id='1034';update tr_shopcart set price='4.90000000',unit_no='斤',amount=4.90000000 * qty where goods_id='0000000005765' and open_id='1034';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005766' and open_id='1034';update tr_shopcart set price='7.40000000',unit_no='斤',amount=7.40000000 * qty where goods_id='0000000005767' and open_id='1034';update tr_shopcart set price='7.80000000',unit_no='斤',amount=7.80000000 * qty where goods_id='0000000005768' and open_id='1034';update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000005769' and open_id='1034';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005771' and open_id='1034';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000005772' and open_id='1034';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005773' and open_id='1034';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005775' and open_id='1034';update tr_shopcart set price='3.40000000',unit_no='包',amount=3.40000000 * qty where goods_id='0000000005776' and open_id='1034';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005778' and open_id='1034';update tr_shopcart set price='2.30000000',unit_no='斤',amount=2.30000000 * qty where goods_id='0000000005786' and open_id='1034';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005799' and open_id='1034';update tr_shopcart set price='3.60000000',unit_no='斤',amount=3.60000000 * qty where goods_id='0000000005800' and open_id='1034';update tr_shopcart set price='5.75000000',unit_no='斤',amount=5.75000000 * qty where goods_id='0000000005807' and open_id='1034';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005808' and open_id='1034';update tr_shopcart set price='2.20000000',unit_no='斤',amount=2.20000000 * qty where goods_id='0000000005809' and open_id='1034';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005810' and open_id='1034';update tr_shopcart set price='2.80000000',unit_no='斤',amount=2.80000000 * qty where goods_id='0000000005812' and open_id='1034';update tr_shopcart set price='2.20000000',unit_no='斤',amount=2.20000000 * qty where goods_id='0000000005813' and open_id='1034';update tr_shopcart set price='2.00000000',unit_no='斤',amount=2.00000000 * qty where goods_id='0000000005814' and open_id='1034';update tr_shopcart set price='3.40000000',unit_no='斤',amount=3.40000000 * qty where goods_id='0000000005821' and open_id='1034';update tr_shopcart set price='5.70000000',unit_no='斤',amount=5.70000000 * qty where goods_id='0000000005822' and open_id='1034';update tr_shopcart set price='6.00000000',unit_no='斤',amount=6.00000000 * qty where goods_id='0000000005823' and open_id='1034';update tr_shopcart set price='1.10000000',unit_no='斤',amount=1.10000000 * qty where goods_id='0000000005827' and open_id='1034';update tr_shopcart set price='1.30000000',unit_no='斤',amount=1.30000000 * qty where goods_id='0000000005828' and open_id='1034';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000005838' and open_id='1034';update tr_shopcart set price='4.70000000',unit_no='斤',amount=4.70000000 * qty where goods_id='0000000005839' and open_id='1034';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000005840' and open_id='1034';update tr_shopcart set price='2.70000000',unit_no='斤',amount=2.70000000 * qty where goods_id='0000000005843' and open_id='1034';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005844' and open_id='1034';update tr_shopcart set price='3.70000000',unit_no='斤',amount=3.70000000 * qty where goods_id='0000000005846' and open_id='1034';update tr_shopcart set price='5.60000000',unit_no='斤',amount=5.60000000 * qty where goods_id='0000000005847' and open_id='1034';update tr_shopcart set price='2.30000000',unit_no='斤',amount=2.30000000 * qty where goods_id='0000000005848' and open_id='1034';update tr_shopcart set price='3.80000000',unit_no='斤',amount=3.80000000 * qty where goods_id='0000000005852' and open_id='1034';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005855' and open_id='1034';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005859' and open_id='1034';update tr_shopcart set price='3.80000000',unit_no='斤',amount=3.80000000 * qty where goods_id='0000000005861' and open_id='1034';update tr_shopcart set price='4.40000000',unit_no='斤',amount=4.40000000 * qty where goods_id='0000000005862' and open_id='1034';update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000005863' and open_id='1034';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000005868' and open_id='1034';update tr_shopcart set price='49.50000000',unit_no='斤',amount=49.50000000 * qty where goods_id='0000000005896' and open_id='1034';update tr_shopcart set price='13.80000000',unit_no='斤',amount=13.80000000 * qty where goods_id='0000000005897' and open_id='1034'; [详细] => 在 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.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.ExecuteScalar() 在 Db.DBContext.ExecuteScalar(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.GetAll(String oper_id, String supcust_no) 在 Api.SingOut.b2b.mina.shopcart.get_all() [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => get_all [入参] => ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 13:56:08 [错误信息] => 事务(进程 ID 68)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => update tr_shopcart set qty=qty+1,amount=amount+4.30000000 where goods_id='0000000005708' and open_id='1101' [详细] => 在 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.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.ExecuteScalar() 在 Db.DBContext.ExecuteScalar(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.AddQtyOne(tr_shopcart shopcart, Decimal& count, String oper_id, String cus_level, Int32 merId) 在 Api.SingOut.b2b.mina.shopcart.add_qty_one(String goods_id) [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => add_qty_one [入参] => {"goods_id":"0000000005708"} ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 13:56:11 [错误信息] => 事务(进程 ID 81)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => update tr_shopcart set price='3.40000000',unit_no='斤',amount=3.40000000 * qty where goods_id='0000000005713' and open_id='1026';update tr_shopcart set price='4.70000000',unit_no='斤',amount=4.70000000 * qty where goods_id='0000000005839' and open_id='1026';update tr_shopcart set price='3.80000000',unit_no='斤',amount=3.80000000 * qty where goods_id='0000000005852' and open_id='1026';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005859' and open_id='1026';update tr_shopcart set price='4.40000000',unit_no='斤',amount=4.40000000 * qty where goods_id='0000000005862' and open_id='1026';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000005868' and open_id='1026';update tr_shopcart set price='1.30000000',unit_no='斤',amount=1.30000000 * qty where goods_id='0000000005828' and open_id='1026';update tr_shopcart set price='1.10000000',unit_no='斤',amount=1.10000000 * qty where goods_id='0000000005827' and open_id='1026';update tr_shopcart set price='3.60000000',unit_no='斤',amount=3.60000000 * qty where goods_id='0000000005800' and open_id='1026';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005773' and open_id='1026';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000028' and open_id='1026';update tr_shopcart set price='2.20000000',unit_no='斤',amount=2.20000000 * qty where goods_id='0000000000660' and open_id='1026';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005741' and open_id='1026';update tr_shopcart set price='3.40000000',unit_no='斤',amount=3.40000000 * qty where goods_id='0000000005743' and open_id='1026';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005735' and open_id='1026';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000004755' and open_id='1026';update tr_shopcart set price='3.30000000',unit_no='斤',amount=3.30000000 * qty where goods_id='0000000005798' and open_id='1026';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005758' and open_id='1026';update tr_shopcart set price='6.00000000',unit_no='斤',amount=6.00000000 * qty where goods_id='0000000005759' and open_id='1026';update tr_shopcart set price='1.80000000',unit_no='斤',amount=1.80000000 * qty where goods_id='0000000005762' and open_id='1026';update tr_shopcart set price='6.50000000',unit_no='斤',amount=6.50000000 * qty where goods_id='0000000005763' and open_id='1026';update tr_shopcart set price='1.80000000',unit_no='斤',amount=1.80000000 * qty where goods_id='0000000005764' and open_id='1026';update tr_shopcart set price='4.90000000',unit_no='斤',amount=4.90000000 * qty where goods_id='0000000005765' and open_id='1026';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005766' and open_id='1026';update tr_shopcart set price='16.00000000',unit_no='斤',amount=16.00000000 * qty where goods_id='0000000000880' and open_id='1026';update tr_shopcart set price='13.80000000',unit_no='斤',amount=13.80000000 * qty where goods_id='0000000005873' and open_id='1026';update tr_shopcart set price='1.00000000',unit_no='斤',amount=1.00000000 * qty where goods_id='0000000005737' and open_id='1026';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000004768' and open_id='1026'; [详细] => 在 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.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.ExecuteScalar() 在 Db.DBContext.ExecuteScalar(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.GetAll(String oper_id, String supcust_no) 在 Api.SingOut.b2b.mina.shopcart.get_all() [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => get_all [入参] => ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 13:56:11 [错误信息] => 事务(进程 ID 73)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => update tr_shopcart set qty=qty+1,amount=amount+6.50000000 where goods_id='0000000004725' and open_id='1047' [详细] => 在 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.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.ExecuteScalar() 在 Db.DBContext.ExecuteScalar(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.AddQtyOne(tr_shopcart shopcart, Decimal& count, String oper_id, String cus_level, Int32 merId) 在 Api.SingOut.b2b.mina.shopcart.add_qty_one(String goods_id) [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => add_qty_one [入参] => {"goods_id":"0000000004725"} ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 13:56:19 [错误信息] => 事务(进程 ID 77)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => update tr_shopcart set price='11.00000000',unit_no='斤',amount=11.00000000 * qty where goods_id='0000000004715' and open_id='1047';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005751' and open_id='1047';update tr_shopcart set price='4.50000000',unit_no='斤',amount=4.50000000 * qty where goods_id='0000000005709' and open_id='1047';update tr_shopcart set price='3.60000000',unit_no='斤',amount=3.60000000 * qty where goods_id='0000000004684' and open_id='1047';update tr_shopcart set price='24.50000000',unit_no='斤',amount=24.50000000 * qty where goods_id='0000000005949' and open_id='1047';update tr_shopcart set price='14.30000000',unit_no='斤',amount=14.30000000 * qty where goods_id='0000000005909' and open_id='1047';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005741' and open_id='1047';update tr_shopcart set price='6.50000000',unit_no='斤',amount=6.50000000 * qty where goods_id='0000000004725' and open_id='1047';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000004755' and open_id='1047';update tr_shopcart set price='13.50000000',unit_no='斤',amount=13.50000000 * qty where goods_id='0000000005932' and open_id='1047';update tr_shopcart set price='13.00000000',unit_no='斤',amount=13.00000000 * qty where goods_id='0000000005947' and open_id='1047';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000004698' and open_id='1047';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005778' and open_id='1047';update tr_shopcart set price='18.00000000',unit_no='斤',amount=18.00000000 * qty where goods_id='0000000000025' and open_id='1047';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000028' and open_id='1047';update tr_shopcart set price='16.50000000',unit_no='斤',amount=16.50000000 * qty where goods_id='0000000004700' and open_id='1047';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005750' and open_id='1047';update tr_shopcart set price='1.70000000',unit_no='斤',amount=1.70000000 * qty where goods_id='0000000005752' and open_id='1047';update tr_shopcart set price='2.00000000',unit_no='斤',amount=2.00000000 * qty where goods_id='0000000005753' and open_id='1047';update tr_shopcart set price='49.50000000',unit_no='斤',amount=49.50000000 * qty where goods_id='0000000005896' and open_id='1047';update tr_shopcart set price='14.00000000',unit_no='斤',amount=14.00000000 * qty where goods_id='0000000005013' and open_id='1047';update tr_shopcart set price='28.00000000',unit_no='斤',amount=28.00000000 * qty where goods_id='0000000005906' and open_id='1047';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000005830' and open_id='1047';update tr_shopcart set price='4.60000000',unit_no='斤',amount=4.60000000 * qty where goods_id='0000000005747' and open_id='1047';update tr_shopcart set price='8.80000000',unit_no='斤',amount=8.80000000 * qty where goods_id='0000000005012' and open_id='1047';update tr_shopcart set price='13.80000000',unit_no='斤',amount=13.80000000 * qty where goods_id='0000000005015' and open_id='1047';update tr_shopcart set price='13.80000000',unit_no='斤',amount=13.80000000 * qty where goods_id='0000000005873' and open_id='1047';update tr_shopcart set price='22.00000000',unit_no='斤',amount=22.00000000 * qty where goods_id='0000000005905' and open_id='1047';update tr_shopcart set price='14.50000000',unit_no='斤',amount=14.50000000 * qty where goods_id='0000000005907' and open_id='1047';update tr_shopcart set price='11.50000000',unit_no='斤',amount=11.50000000 * qty where goods_id='0000000005832' and open_id='1047';update tr_shopcart set price='5.60000000',unit_no='斤',amount=5.60000000 * qty where goods_id='0000000005847' and open_id='1047';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005859' and open_id='1047';update tr_shopcart set price='4.40000000',unit_no='斤',amount=4.40000000 * qty where goods_id='0000000005862' and open_id='1047';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000005868' and open_id='1047';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000005772' and open_id='1047';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005773' and open_id='1047';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005775' and open_id='1047';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000005840' and open_id='1047';update tr_shopcart set price='2.70000000',unit_no='斤',amount=2.70000000 * qty where goods_id='0000000005843' and open_id='1047';update tr_shopcart set price='3.70000000',unit_no='斤',amount=3.70000000 * qty where goods_id='0000000005846' and open_id='1047';update tr_shopcart set price='3.80000000',unit_no='斤',amount=3.80000000 * qty where goods_id='0000000005861' and open_id='1047';update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000005863' and open_id='1047';update tr_shopcart set price='4.50000000',unit_no='斤',amount=4.50000000 * qty where goods_id='0000000005864' and open_id='1047';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000027' and open_id='1047';update tr_shopcart set price='3.40000000',unit_no='包',amount=3.40000000 * qty where goods_id='0000000005776' and open_id='1047';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000000964' and open_id='1047';update tr_shopcart set price='5.50000000',unit_no='斤',amount=5.50000000 * qty where goods_id='0000000001276' and open_id='1047';update tr_shopcart set price='2.60000000',unit_no='斤',amount=2.60000000 * qty where goods_id='0000000005733' and open_id='1047';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000005736' and open_id='1047';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005745' and open_id='1047';update tr_shopcart set price='5.60000000',unit_no='斤',amount=5.60000000 * qty where goods_id='0000000005748' and open_id='1047';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005749' and open_id='1047'; [详细] => 在 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.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.ExecuteScalar() 在 Db.DBContext.ExecuteScalar(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.GetAll(String oper_id, String supcust_no) 在 Api.SingOut.b2b.mina.shopcart.get_all() [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => get_all [入参] => ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 13:57:21 [错误信息] => 事务(进程 ID 72)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000027' and open_id='1034';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000028' and open_id='1034';update tr_shopcart set price='2.20000000',unit_no='斤',amount=2.20000000 * qty where goods_id='0000000000660' and open_id='1034';update tr_shopcart set price='4.60000000',unit_no='斤',amount=4.60000000 * qty where goods_id='0000000000871' and open_id='1034';update tr_shopcart set price='60.00000000',unit_no='只',amount=60.00000000 * qty where goods_id='0000000000894' and open_id='1034';update tr_shopcart set price='55.00000000',unit_no='斤',amount=55.00000000 * qty where goods_id='0000000000935' and open_id='1034';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000000964' and open_id='1034';update tr_shopcart set price='8.80000000',unit_no='斤',amount=8.80000000 * qty where goods_id='0000000001123' and open_id='1034';update tr_shopcart set price='3.80000000',unit_no='斤',amount=3.80000000 * qty where goods_id='0000000001247' and open_id='1034';update tr_shopcart set price='5.00000000',unit_no='斤',amount=5.00000000 * qty where goods_id='0000000001258' and open_id='1034';update tr_shopcart set price='2.20000000',unit_no='斤',amount=2.20000000 * qty where goods_id='0000000001271' and open_id='1034';update tr_shopcart set price='5.50000000',unit_no='斤',amount=5.50000000 * qty where goods_id='0000000001276' and open_id='1034';update tr_shopcart set price='4.30000000',unit_no='斤',amount=4.30000000 * qty where goods_id='0000000001278' and open_id='1034';update tr_shopcart set price='2.20000000',unit_no='斤',amount=2.20000000 * qty where goods_id='0000000001746' and open_id='1034';update tr_shopcart set price='2.70000000',unit_no='斤',amount=2.70000000 * qty where goods_id='0000000001749' and open_id='1034';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000002448' and open_id='1034';update tr_shopcart set price='16.00000000',unit_no='斤',amount=16.00000000 * qty where goods_id='0000000004643' and open_id='1034';update tr_shopcart set price='5.30000000',unit_no='斤',amount=5.30000000 * qty where goods_id='0000000004697' and open_id='1034';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000004698' and open_id='1034';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000004718' and open_id='1034';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000004720' and open_id='1034';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000004730' and open_id='1034';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000004744' and open_id='1034';update tr_shopcart set price='5.00000000',unit_no='斤',amount=5.00000000 * qty where goods_id='0000000004757' and open_id='1034';update tr_shopcart set price='5.80000000',unit_no='斤',amount=5.80000000 * qty where goods_id='0000000004758' and open_id='1034';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000004769' and open_id='1034';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000004776' and open_id='1034';update tr_shopcart set price='3.10000000',unit_no='斤',amount=3.10000000 * qty where goods_id='0000000004779' and open_id='1034';update tr_shopcart set price='31.30000000',unit_no='只',amount=31.30000000 * qty where goods_id='0000000004924' and open_id='1034';update tr_shopcart set price='24.50000000',unit_no='斤',amount=24.50000000 * qty where goods_id='0000000004961' and open_id='1034';update tr_shopcart set price='24.44000000',unit_no='斤',amount=24.44000000 * qty where goods_id='0000000004962' and open_id='1034';update tr_shopcart set price='10.00000000',unit_no='斤',amount=10.00000000 * qty where goods_id='0000000004963' and open_id='1034';update tr_shopcart set price='22.00000000',unit_no='板',amount=22.00000000 * qty where goods_id='0000000005432' and open_id='1034';update tr_shopcart set price='1.88000000',unit_no='斤',amount=1.88000000 * qty where goods_id='0000000005464' and open_id='1034';update tr_shopcart set price='1.88000000',unit_no='斤',amount=1.88000000 * qty where goods_id='0000000005478' and open_id='1034';update tr_shopcart set price='4.50000000',unit_no='斤',amount=4.50000000 * qty where goods_id='0000000005479' and open_id='1034';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005482' and open_id='1034';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005483' and open_id='1034';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005484' and open_id='1034';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005485' and open_id='1034';update tr_shopcart set price='2.85000000',unit_no='斤',amount=2.85000000 * qty where goods_id='0000000005490' and open_id='1034';update tr_shopcart set price='1.88000000',unit_no='斤',amount=1.88000000 * qty where goods_id='0000000005491' and open_id='1034';update tr_shopcart set price='6.25000000',unit_no='斤',amount=6.25000000 * qty where goods_id='0000000005493' and open_id='1034';update tr_shopcart set price='5.00000000',unit_no='斤',amount=5.00000000 * qty where goods_id='0000000005501' and open_id='1034';update tr_shopcart set price='5.00000000',unit_no='斤',amount=5.00000000 * qty where goods_id='0000000005502' and open_id='1034';update tr_shopcart set price='19.44000000',unit_no='斤',amount=19.44000000 * qty where goods_id='0000000005671' and open_id='1034';update tr_shopcart set price='19.80000000',unit_no='斤',amount=19.80000000 * qty where goods_id='0000000005673' and open_id='1034';update tr_shopcart set price='8.00000000',unit_no='包',amount=8.00000000 * qty where goods_id='0000000005702' and open_id='1034';update tr_shopcart set price='3.60000000',unit_no='斤',amount=3.60000000 * qty where goods_id='0000000005703' and open_id='1034';update tr_shopcart set price='4.50000000',unit_no='斤',amount=4.50000000 * qty where goods_id='0000000005709' and open_id='1034';update tr_shopcart set price='8.20000000',unit_no='斤',amount=8.20000000 * qty where goods_id='0000000005712' and open_id='1034';update tr_shopcart set price='3.40000000',unit_no='斤',amount=3.40000000 * qty where goods_id='0000000005713' and open_id='1034';update tr_shopcart set price='4.30000000',unit_no='斤',amount=4.30000000 * qty where goods_id='0000000005718' and open_id='1034';update tr_shopcart set price='3.24000000',unit_no='斤',amount=3.24000000 * qty where goods_id='0000000005729' and open_id='1034';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005731' and open_id='1034';update tr_shopcart set price='2.80000000',unit_no='斤',amount=2.80000000 * qty where goods_id='0000000005732' and open_id='1034';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000005736' and open_id='1034';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005741' and open_id='1034';update tr_shopcart set price='3.40000000',unit_no='斤',amount=3.40000000 * qty where goods_id='0000000005743' and open_id='1034';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005745' and open_id='1034';update tr_shopcart set price='5.60000000',unit_no='斤',amount=5.60000000 * qty where goods_id='0000000005748' and open_id='1034';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005750' and open_id='1034';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005751' and open_id='1034';update tr_shopcart set price='1.70000000',unit_no='斤',amount=1.70000000 * qty where goods_id='0000000005752' and open_id='1034';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000005757' and open_id='1034';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005758' and open_id='1034';update tr_shopcart set price='6.50000000',unit_no='斤',amount=6.50000000 * qty where goods_id='0000000005763' and open_id='1034';update tr_shopcart set price='4.90000000',unit_no='斤',amount=4.90000000 * qty where goods_id='0000000005765' and open_id='1034';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005766' and open_id='1034';update tr_shopcart set price='7.40000000',unit_no='斤',amount=7.40000000 * qty where goods_id='0000000005767' and open_id='1034';update tr_shopcart set price='7.80000000',unit_no='斤',amount=7.80000000 * qty where goods_id='0000000005768' and open_id='1034';update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000005769' and open_id='1034';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005771' and open_id='1034';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000005772' and open_id='1034';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005773' and open_id='1034';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005775' and open_id='1034';update tr_shopcart set price='3.40000000',unit_no='包',amount=3.40000000 * qty where goods_id='0000000005776' and open_id='1034';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005778' and open_id='1034';update tr_shopcart set price='2.30000000',unit_no='斤',amount=2.30000000 * qty where goods_id='0000000005786' and open_id='1034';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005799' and open_id='1034';update tr_shopcart set price='3.60000000',unit_no='斤',amount=3.60000000 * qty where goods_id='0000000005800' and open_id='1034';update tr_shopcart set price='5.75000000',unit_no='斤',amount=5.75000000 * qty where goods_id='0000000005807' and open_id='1034';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005808' and open_id='1034';update tr_shopcart set price='2.20000000',unit_no='斤',amount=2.20000000 * qty where goods_id='0000000005809' and open_id='1034';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005810' and open_id='1034';update tr_shopcart set price='2.80000000',unit_no='斤',amount=2.80000000 * qty where goods_id='0000000005812' and open_id='1034';update tr_shopcart set price='2.20000000',unit_no='斤',amount=2.20000000 * qty where goods_id='0000000005813' and open_id='1034';update tr_shopcart set price='2.00000000',unit_no='斤',amount=2.00000000 * qty where goods_id='0000000005814' and open_id='1034';update tr_shopcart set price='3.40000000',unit_no='斤',amount=3.40000000 * qty where goods_id='0000000005821' and open_id='1034';update tr_shopcart set price='5.70000000',unit_no='斤',amount=5.70000000 * qty where goods_id='0000000005822' and open_id='1034';update tr_shopcart set price='6.00000000',unit_no='斤',amount=6.00000000 * qty where goods_id='0000000005823' and open_id='1034';update tr_shopcart set price='1.10000000',unit_no='斤',amount=1.10000000 * qty where goods_id='0000000005827' and open_id='1034';update tr_shopcart set price='1.30000000',unit_no='斤',amount=1.30000000 * qty where goods_id='0000000005828' and open_id='1034';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000005838' and open_id='1034';update tr_shopcart set price='4.70000000',unit_no='斤',amount=4.70000000 * qty where goods_id='0000000005839' and open_id='1034';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000005840' and open_id='1034';update tr_shopcart set price='2.70000000',unit_no='斤',amount=2.70000000 * qty where goods_id='0000000005843' and open_id='1034';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005844' and open_id='1034';update tr_shopcart set price='3.70000000',unit_no='斤',amount=3.70000000 * qty where goods_id='0000000005846' and open_id='1034';update tr_shopcart set price='5.60000000',unit_no='斤',amount=5.60000000 * qty where goods_id='0000000005847' and open_id='1034';update tr_shopcart set price='2.30000000',unit_no='斤',amount=2.30000000 * qty where goods_id='0000000005848' and open_id='1034';update tr_shopcart set price='3.80000000',unit_no='斤',amount=3.80000000 * qty where goods_id='0000000005852' and open_id='1034';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005855' and open_id='1034';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005859' and open_id='1034';update tr_shopcart set price='3.80000000',unit_no='斤',amount=3.80000000 * qty where goods_id='0000000005861' and open_id='1034';update tr_shopcart set price='4.40000000',unit_no='斤',amount=4.40000000 * qty where goods_id='0000000005862' and open_id='1034';update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000005863' and open_id='1034';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000005868' and open_id='1034';update tr_shopcart set price='49.50000000',unit_no='斤',amount=49.50000000 * qty where goods_id='0000000005896' and open_id='1034';update tr_shopcart set price='13.80000000',unit_no='斤',amount=13.80000000 * qty where goods_id='0000000005897' and open_id='1034'; [详细] => 在 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.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.ExecuteScalar() 在 Db.DBContext.ExecuteScalar(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.GetAll(String oper_id, String supcust_no) 在 Api.SingOut.b2b.mina.shopcart.get_all() [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => get_all [入参] => ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 13:57:22 [错误信息] => 该商品已失效! [sql] => select qty from tr_shopcart where goods_id = '0000000005809' and open_id='1047' [详细] => 在 Api.BLL.b2b.ShopCartService.DeleteQtyOne(tr_shopcart shopcart, Decimal& count, String oper_id, String cus_level) 在 Api.SingOut.b2b.mina.shopcart.delete_qty_one(String goods_id) [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => delete_qty_one [入参] => {"goods_id":"0000000005809"} ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 13:57:23 [错误信息] => 该商品已失效! [sql] => select qty from tr_shopcart where goods_id = '0000000005809' and open_id='1047' [详细] => 在 Api.BLL.b2b.ShopCartService.DeleteQtyOne(tr_shopcart shopcart, Decimal& count, String oper_id, String cus_level) 在 Api.SingOut.b2b.mina.shopcart.delete_qty_one(String goods_id) [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => delete_qty_one [入参] => {"goods_id":"0000000005809"} ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 13:57:28 [错误信息] => 事务(进程 ID 74)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000027' and open_id='1034';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000028' and open_id='1034';update tr_shopcart set price='2.20000000',unit_no='斤',amount=2.20000000 * qty where goods_id='0000000000660' and open_id='1034';update tr_shopcart set price='4.60000000',unit_no='斤',amount=4.60000000 * qty where goods_id='0000000000871' and open_id='1034';update tr_shopcart set price='60.00000000',unit_no='只',amount=60.00000000 * qty where goods_id='0000000000894' and open_id='1034';update tr_shopcart set price='55.00000000',unit_no='斤',amount=55.00000000 * qty where goods_id='0000000000935' and open_id='1034';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000000964' and open_id='1034';update tr_shopcart set price='8.80000000',unit_no='斤',amount=8.80000000 * qty where goods_id='0000000001123' and open_id='1034';update tr_shopcart set price='3.80000000',unit_no='斤',amount=3.80000000 * qty where goods_id='0000000001247' and open_id='1034';update tr_shopcart set price='5.00000000',unit_no='斤',amount=5.00000000 * qty where goods_id='0000000001258' and open_id='1034';update tr_shopcart set price='2.20000000',unit_no='斤',amount=2.20000000 * qty where goods_id='0000000001271' and open_id='1034';update tr_shopcart set price='5.50000000',unit_no='斤',amount=5.50000000 * qty where goods_id='0000000001276' and open_id='1034';update tr_shopcart set price='4.30000000',unit_no='斤',amount=4.30000000 * qty where goods_id='0000000001278' and open_id='1034';update tr_shopcart set price='2.20000000',unit_no='斤',amount=2.20000000 * qty where goods_id='0000000001746' and open_id='1034';update tr_shopcart set price='2.70000000',unit_no='斤',amount=2.70000000 * qty where goods_id='0000000001749' and open_id='1034';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000002448' and open_id='1034';update tr_shopcart set price='16.00000000',unit_no='斤',amount=16.00000000 * qty where goods_id='0000000004643' and open_id='1034';update tr_shopcart set price='5.30000000',unit_no='斤',amount=5.30000000 * qty where goods_id='0000000004697' and open_id='1034';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000004698' and open_id='1034';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000004718' and open_id='1034';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000004720' and open_id='1034';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000004730' and open_id='1034';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000004744' and open_id='1034';update tr_shopcart set price='5.00000000',unit_no='斤',amount=5.00000000 * qty where goods_id='0000000004757' and open_id='1034';update tr_shopcart set price='5.80000000',unit_no='斤',amount=5.80000000 * qty where goods_id='0000000004758' and open_id='1034';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000004769' and open_id='1034';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000004776' and open_id='1034';update tr_shopcart set price='3.10000000',unit_no='斤',amount=3.10000000 * qty where goods_id='0000000004779' and open_id='1034';update tr_shopcart set price='31.30000000',unit_no='只',amount=31.30000000 * qty where goods_id='0000000004924' and open_id='1034';update tr_shopcart set price='24.50000000',unit_no='斤',amount=24.50000000 * qty where goods_id='0000000004961' and open_id='1034';update tr_shopcart set price='24.44000000',unit_no='斤',amount=24.44000000 * qty where goods_id='0000000004962' and open_id='1034';update tr_shopcart set price='10.00000000',unit_no='斤',amount=10.00000000 * qty where goods_id='0000000004963' and open_id='1034';update tr_shopcart set price='22.00000000',unit_no='板',amount=22.00000000 * qty where goods_id='0000000005432' and open_id='1034';update tr_shopcart set price='1.88000000',unit_no='斤',amount=1.88000000 * qty where goods_id='0000000005464' and open_id='1034';update tr_shopcart set price='1.88000000',unit_no='斤',amount=1.88000000 * qty where goods_id='0000000005478' and open_id='1034';update tr_shopcart set price='4.50000000',unit_no='斤',amount=4.50000000 * qty where goods_id='0000000005479' and open_id='1034';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005482' and open_id='1034';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005483' and open_id='1034';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005484' and open_id='1034';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005485' and open_id='1034';update tr_shopcart set price='2.85000000',unit_no='斤',amount=2.85000000 * qty where goods_id='0000000005490' and open_id='1034';update tr_shopcart set price='1.88000000',unit_no='斤',amount=1.88000000 * qty where goods_id='0000000005491' and open_id='1034';update tr_shopcart set price='6.25000000',unit_no='斤',amount=6.25000000 * qty where goods_id='0000000005493' and open_id='1034';update tr_shopcart set price='5.00000000',unit_no='斤',amount=5.00000000 * qty where goods_id='0000000005501' and open_id='1034';update tr_shopcart set price='5.00000000',unit_no='斤',amount=5.00000000 * qty where goods_id='0000000005502' and open_id='1034';update tr_shopcart set price='19.44000000',unit_no='斤',amount=19.44000000 * qty where goods_id='0000000005671' and open_id='1034';update tr_shopcart set price='19.80000000',unit_no='斤',amount=19.80000000 * qty where goods_id='0000000005673' and open_id='1034';update tr_shopcart set price='8.00000000',unit_no='包',amount=8.00000000 * qty where goods_id='0000000005702' and open_id='1034';update tr_shopcart set price='3.60000000',unit_no='斤',amount=3.60000000 * qty where goods_id='0000000005703' and open_id='1034';update tr_shopcart set price='4.50000000',unit_no='斤',amount=4.50000000 * qty where goods_id='0000000005709' and open_id='1034';update tr_shopcart set price='8.20000000',unit_no='斤',amount=8.20000000 * qty where goods_id='0000000005712' and open_id='1034';update tr_shopcart set price='3.40000000',unit_no='斤',amount=3.40000000 * qty where goods_id='0000000005713' and open_id='1034';update tr_shopcart set price='4.30000000',unit_no='斤',amount=4.30000000 * qty where goods_id='0000000005718' and open_id='1034';update tr_shopcart set price='3.24000000',unit_no='斤',amount=3.24000000 * qty where goods_id='0000000005729' and open_id='1034';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005731' and open_id='1034';update tr_shopcart set price='2.80000000',unit_no='斤',amount=2.80000000 * qty where goods_id='0000000005732' and open_id='1034';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000005736' and open_id='1034';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005741' and open_id='1034';update tr_shopcart set price='3.40000000',unit_no='斤',amount=3.40000000 * qty where goods_id='0000000005743' and open_id='1034';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005745' and open_id='1034';update tr_shopcart set price='5.60000000',unit_no='斤',amount=5.60000000 * qty where goods_id='0000000005748' and open_id='1034';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005750' and open_id='1034';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005751' and open_id='1034';update tr_shopcart set price='1.70000000',unit_no='斤',amount=1.70000000 * qty where goods_id='0000000005752' and open_id='1034';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000005757' and open_id='1034';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005758' and open_id='1034';update tr_shopcart set price='6.50000000',unit_no='斤',amount=6.50000000 * qty where goods_id='0000000005763' and open_id='1034';update tr_shopcart set price='4.90000000',unit_no='斤',amount=4.90000000 * qty where goods_id='0000000005765' and open_id='1034';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005766' and open_id='1034';update tr_shopcart set price='7.40000000',unit_no='斤',amount=7.40000000 * qty where goods_id='0000000005767' and open_id='1034';update tr_shopcart set price='7.80000000',unit_no='斤',amount=7.80000000 * qty where goods_id='0000000005768' and open_id='1034';update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000005769' and open_id='1034';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005771' and open_id='1034';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000005772' and open_id='1034';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005773' and open_id='1034';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005775' and open_id='1034';update tr_shopcart set price='3.40000000',unit_no='包',amount=3.40000000 * qty where goods_id='0000000005776' and open_id='1034';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005778' and open_id='1034';update tr_shopcart set price='2.30000000',unit_no='斤',amount=2.30000000 * qty where goods_id='0000000005786' and open_id='1034';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005799' and open_id='1034';update tr_shopcart set price='3.60000000',unit_no='斤',amount=3.60000000 * qty where goods_id='0000000005800' and open_id='1034';update tr_shopcart set price='5.75000000',unit_no='斤',amount=5.75000000 * qty where goods_id='0000000005807' and open_id='1034';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005808' and open_id='1034';update tr_shopcart set price='2.20000000',unit_no='斤',amount=2.20000000 * qty where goods_id='0000000005809' and open_id='1034';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005810' and open_id='1034';update tr_shopcart set price='2.80000000',unit_no='斤',amount=2.80000000 * qty where goods_id='0000000005812' and open_id='1034';update tr_shopcart set price='2.20000000',unit_no='斤',amount=2.20000000 * qty where goods_id='0000000005813' and open_id='1034';update tr_shopcart set price='2.00000000',unit_no='斤',amount=2.00000000 * qty where goods_id='0000000005814' and open_id='1034';update tr_shopcart set price='3.40000000',unit_no='斤',amount=3.40000000 * qty where goods_id='0000000005821' and open_id='1034';update tr_shopcart set price='5.70000000',unit_no='斤',amount=5.70000000 * qty where goods_id='0000000005822' and open_id='1034';update tr_shopcart set price='6.00000000',unit_no='斤',amount=6.00000000 * qty where goods_id='0000000005823' and open_id='1034';update tr_shopcart set price='1.10000000',unit_no='斤',amount=1.10000000 * qty where goods_id='0000000005827' and open_id='1034';update tr_shopcart set price='1.30000000',unit_no='斤',amount=1.30000000 * qty where goods_id='0000000005828' and open_id='1034';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000005838' and open_id='1034';update tr_shopcart set price='4.70000000',unit_no='斤',amount=4.70000000 * qty where goods_id='0000000005839' and open_id='1034';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000005840' and open_id='1034';update tr_shopcart set price='2.70000000',unit_no='斤',amount=2.70000000 * qty where goods_id='0000000005843' and open_id='1034';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005844' and open_id='1034';update tr_shopcart set price='3.70000000',unit_no='斤',amount=3.70000000 * qty where goods_id='0000000005846' and open_id='1034';update tr_shopcart set price='5.60000000',unit_no='斤',amount=5.60000000 * qty where goods_id='0000000005847' and open_id='1034';update tr_shopcart set price='2.30000000',unit_no='斤',amount=2.30000000 * qty where goods_id='0000000005848' and open_id='1034';update tr_shopcart set price='3.80000000',unit_no='斤',amount=3.80000000 * qty where goods_id='0000000005852' and open_id='1034';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005855' and open_id='1034';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005859' and open_id='1034';update tr_shopcart set price='3.80000000',unit_no='斤',amount=3.80000000 * qty where goods_id='0000000005861' and open_id='1034';update tr_shopcart set price='4.40000000',unit_no='斤',amount=4.40000000 * qty where goods_id='0000000005862' and open_id='1034';update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000005863' and open_id='1034';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000005868' and open_id='1034';update tr_shopcart set price='49.50000000',unit_no='斤',amount=49.50000000 * qty where goods_id='0000000005896' and open_id='1034';update tr_shopcart set price='13.80000000',unit_no='斤',amount=13.80000000 * qty where goods_id='0000000005897' and open_id='1034'; [详细] => 在 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.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.ExecuteScalar() 在 Db.DBContext.ExecuteScalar(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.GetAll(String oper_id, String supcust_no) 在 Api.SingOut.b2b.mina.shopcart.get_all() [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => get_all [入参] => ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 14:02:44 [错误信息] => 事务(进程 ID 74)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => update tr_shopcart set price='11.00000000',unit_no='斤',amount=11.00000000 * qty where goods_id='0000000004715' and open_id='1047';update tr_shopcart set price='5.80000000',unit_no='斤',amount=5.80000000 * qty where goods_id='0000000004758' and open_id='1047';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005751' and open_id='1047';update tr_shopcart set price='4.50000000',unit_no='斤',amount=4.50000000 * qty where goods_id='0000000005709' and open_id='1047';update tr_shopcart set price='8.00000000',unit_no='包',amount=8.00000000 * qty where goods_id='0000000005702' and open_id='1047';update tr_shopcart set price='3.60000000',unit_no='斤',amount=3.60000000 * qty where goods_id='0000000004684' and open_id='1047';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005766' and open_id='1047';update tr_shopcart set price='4.50000000',unit_no='包',amount=4.50000000 * qty where goods_id='0000000005715' and open_id='1047';update tr_shopcart set price='7.00000000',unit_no='斤',amount=7.00000000 * qty where goods_id='0000000005818' and open_id='1047';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005819' and open_id='1047';update tr_shopcart set price='24.50000000',unit_no='斤',amount=24.50000000 * qty where goods_id='0000000005949' and open_id='1047';update tr_shopcart set price='3.40000000',unit_no='斤',amount=3.40000000 * qty where goods_id='0000000005821' and open_id='1047';update tr_shopcart set price='6.00000000',unit_no='斤',amount=6.00000000 * qty where goods_id='0000000005823' and open_id='1047';update tr_shopcart set price='1.87000000',unit_no='斤',amount=1.87000000 * qty where goods_id='0000000005826' and open_id='1047';update tr_shopcart set price='1.10000000',unit_no='斤',amount=1.10000000 * qty where goods_id='0000000005827' and open_id='1047';update tr_shopcart set price='4.90000000',unit_no='斤',amount=4.90000000 * qty where goods_id='0000000005765' and open_id='1047';update tr_shopcart set price='5.50000000',unit_no='盒',amount=5.50000000 * qty where goods_id='0000000005721' and open_id='1047';update tr_shopcart set price='14.30000000',unit_no='斤',amount=14.30000000 * qty where goods_id='0000000005909' and open_id='1047';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005741' and open_id='1047';update tr_shopcart set price='6.50000000',unit_no='斤',amount=6.50000000 * qty where goods_id='0000000004725' and open_id='1047';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000004755' and open_id='1047';update tr_shopcart set price='13.50000000',unit_no='斤',amount=13.50000000 * qty where goods_id='0000000005932' and open_id='1047';update tr_shopcart set price='13.00000000',unit_no='斤',amount=13.00000000 * qty where goods_id='0000000005947' and open_id='1047';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000004698' and open_id='1047';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005778' and open_id='1047';update tr_shopcart set price='18.00000000',unit_no='斤',amount=18.00000000 * qty where goods_id='0000000000025' and open_id='1047';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000028' and open_id='1047';update tr_shopcart set price='16.50000000',unit_no='斤',amount=16.50000000 * qty where goods_id='0000000004700' and open_id='1047';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005750' and open_id='1047';update tr_shopcart set price='1.70000000',unit_no='斤',amount=1.70000000 * qty where goods_id='0000000005752' and open_id='1047';update tr_shopcart set price='2.00000000',unit_no='斤',amount=2.00000000 * qty where goods_id='0000000005753' and open_id='1047';update tr_shopcart set price='49.50000000',unit_no='斤',amount=49.50000000 * qty where goods_id='0000000005896' and open_id='1047';update tr_shopcart set price='14.00000000',unit_no='斤',amount=14.00000000 * qty where goods_id='0000000005013' and open_id='1047';update tr_shopcart set price='28.00000000',unit_no='斤',amount=28.00000000 * qty where goods_id='0000000005906' and open_id='1047';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000005830' and open_id='1047';update tr_shopcart set price='3.90000000',unit_no='盒',amount=3.90000000 * qty where goods_id='0000000005723' and open_id='1047';update tr_shopcart set price='5.00000000',unit_no='盒',amount=5.00000000 * qty where goods_id='0000000005727' and open_id='1047';update tr_shopcart set price='16.00000000',unit_no='斤',amount=16.00000000 * qty where goods_id='0000000004643' and open_id='1047';update tr_shopcart set price='2.25000000',unit_no='斤',amount=2.25000000 * qty where goods_id='0000000005423' and open_id='1047';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005462' and open_id='1047';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005483' and open_id='1047';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005484' and open_id='1047';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005485' and open_id='1047';update tr_shopcart set price='1.88000000',unit_no='斤',amount=1.88000000 * qty where goods_id='0000000005488' and open_id='1047';update tr_shopcart set price='6.25000000',unit_no='包',amount=6.25000000 * qty where goods_id='0000000001511' and open_id='1047';update tr_shopcart set price='5.00000000',unit_no='斤',amount=5.00000000 * qty where goods_id='0000000001510' and open_id='1047';update tr_shopcart set price='3.12000000',unit_no='个',amount=3.12000000 * qty where goods_id='0000000005429' and open_id='1047';update tr_shopcart set price='7.50000000',unit_no='斤',amount=7.50000000 * qty where goods_id='0000000005472' and open_id='1047';update tr_shopcart set price='3.30000000',unit_no='斤',amount=3.30000000 * qty where goods_id='0000000005798' and open_id='1047';update tr_shopcart set price='1.98000000',unit_no='包',amount=1.98000000 * qty where goods_id='0000000004683' and open_id='1047';update tr_shopcart set price='2.80000000',unit_no='斤',amount=2.80000000 * qty where goods_id='0000000005812' and open_id='1047';update tr_shopcart set price='5.70000000',unit_no='斤',amount=5.70000000 * qty where goods_id='0000000005822' and open_id='1047';update tr_shopcart set price='6.50000000',unit_no='斤',amount=6.50000000 * qty where goods_id='0000000005763' and open_id='1047';update tr_shopcart set price='7.40000000',unit_no='斤',amount=7.40000000 * qty where goods_id='0000000005767' and open_id='1047';update tr_shopcart set price='7.80000000',unit_no='斤',amount=7.80000000 * qty where goods_id='0000000005768' and open_id='1047';update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000005769' and open_id='1047';update tr_shopcart set price='5.75000000',unit_no='斤',amount=5.75000000 * qty where goods_id='0000000005807' and open_id='1047';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005810' and open_id='1047';update tr_shopcart set price='4.00000000',unit_no='盒',amount=4.00000000 * qty where goods_id='0000000000996' and open_id='1047';update tr_shopcart set price='3.80000000',unit_no='盒',amount=3.80000000 * qty where goods_id='0000000005717' and open_id='1047';update tr_shopcart set price='4.00000000',unit_no='盒',amount=4.00000000 * qty where goods_id='0000000005722' and open_id='1047';update tr_shopcart set price='4.60000000',unit_no='斤',amount=4.60000000 * qty where goods_id='0000000005747' and open_id='1047';update tr_shopcart set price='8.80000000',unit_no='斤',amount=8.80000000 * qty where goods_id='0000000005012' and open_id='1047';update tr_shopcart set price='3.40000000',unit_no='包',amount=3.40000000 * qty where goods_id='0000000005725' and open_id='1047';update tr_shopcart set price='3.90000000',unit_no='盒',amount=3.90000000 * qty where goods_id='0000000005726' and open_id='1047';update tr_shopcart set price='1.88000000',unit_no='斤',amount=1.88000000 * qty where goods_id='0000000005464' and open_id='1047';update tr_shopcart set price='13.80000000',unit_no='斤',amount=13.80000000 * qty where goods_id='0000000005015' and open_id='1047';update tr_shopcart set price='13.80000000',unit_no='斤',amount=13.80000000 * qty where goods_id='0000000005873' and open_id='1047';update tr_shopcart set price='1.88000000',unit_no='斤',amount=1.88000000 * qty where goods_id='0000000005478' and open_id='1047';update tr_shopcart set price='22.00000000',unit_no='斤',amount=22.00000000 * qty where goods_id='0000000005905' and open_id='1047';update tr_shopcart set price='14.50000000',unit_no='斤',amount=14.50000000 * qty where goods_id='0000000005907' and open_id='1047';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005482' and open_id='1047';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005487' and open_id='1047';update tr_shopcart set price='6.25000000',unit_no='板',amount=6.25000000 * qty where goods_id='0000000005431' and open_id='1047';update tr_shopcart set price='0.62000000',unit_no='条',amount=0.62000000 * qty where goods_id='0000000005457' and open_id='1047';update tr_shopcart set price='9.80000000',unit_no='斤',amount=9.80000000 * qty where goods_id='0000000005473' and open_id='1047';update tr_shopcart set price='6.25000000',unit_no='斤',amount=6.25000000 * qty where goods_id='0000000005493' and open_id='1047';update tr_shopcart set price='3.75000000',unit_no='斤',amount=3.75000000 * qty where goods_id='0000000005500' and open_id='1047';update tr_shopcart set price='11.50000000',unit_no='斤',amount=11.50000000 * qty where goods_id='0000000005832' and open_id='1047';update tr_shopcart set price='5.60000000',unit_no='斤',amount=5.60000000 * qty where goods_id='0000000005847' and open_id='1047';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005859' and open_id='1047';update tr_shopcart set price='4.40000000',unit_no='斤',amount=4.40000000 * qty where goods_id='0000000005862' and open_id='1047';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000005868' and open_id='1047';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000005772' and open_id='1047';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005773' and open_id='1047';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005775' and open_id='1047';update tr_shopcart set price='4.20000000',unit_no='盒',amount=4.20000000 * qty where goods_id='0000000005728' and open_id='1047';update tr_shopcart set price='2.00000000',unit_no='盒',amount=2.00000000 * qty where goods_id='0000000005730' and open_id='1047';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000005840' and open_id='1047';update tr_shopcart set price='2.70000000',unit_no='斤',amount=2.70000000 * qty where goods_id='0000000005843' and open_id='1047';update tr_shopcart set price='3.70000000',unit_no='斤',amount=3.70000000 * qty where goods_id='0000000005846' and open_id='1047';update tr_shopcart set price='3.80000000',unit_no='斤',amount=3.80000000 * qty where goods_id='0000000005861' and open_id='1047';update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000005863' and open_id='1047';update tr_shopcart set price='4.50000000',unit_no='斤',amount=4.50000000 * qty where goods_id='0000000005864' and open_id='1047';update tr_shopcart set price='17.00000000',unit_no='斤',amount=17.00000000 * qty where goods_id='0000000005644' and open_id='1047';update tr_shopcart set price='20.30000000',unit_no='斤',amount=20.30000000 * qty where goods_id='0000000004652' and open_id='1047';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000027' and open_id='1047';update tr_shopcart set price='6.60000000',unit_no='斤',amount=6.60000000 * qty where goods_id='0000000005785' and open_id='1047';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005790' and open_id='1047';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000005791' and open_id='1047';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005796' and open_id='1047';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005797' and open_id='1047';update tr_shopcart set price='3.40000000',unit_no='包',amount=3.40000000 * qty where goods_id='0000000005776' and open_id='1047';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000000964' and open_id='1047';update tr_shopcart set price='5.50000000',unit_no='斤',amount=5.50000000 * qty where goods_id='0000000001276' and open_id='1047';update tr_shopcart set price='2.60000000',unit_no='斤',amount=2.60000000 * qty where goods_id='0000000005733' and open_id='1047';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000005736' and open_id='1047';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005745' and open_id='1047';update tr_shopcart set price='5.60000000',unit_no='斤',amount=5.60000000 * qty where goods_id='0000000005748' and open_id='1047';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005749' and open_id='1047'; [详细] => 在 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.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.ExecuteScalar() 在 Db.DBContext.ExecuteScalar(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.GetAll(String oper_id, String supcust_no) 在 Api.SingOut.b2b.mina.shopcart.get_all() [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => get_all [入参] => ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 14:03:41 [错误信息] => 事务(进程 ID 76)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => SELECT * FROM (SELECT ROW_NUMBER() OVER (ORDER BY goods_id) AS rowid, * from (select a.goods_id , a.cls_id , a.goods_name , a.barcode , a.goods_size , isnull(a.product_area, '') product_area , a.unit_no , isnull(a.item_pack, 0) item_pack , a.small_img_url , isnull(d.is_collect, '0') is_collect , isnull(e.qty, 0) qty , dbo.FUNC_GET_ITEM_SALE_PRICE('1113',a.goods_id) as price , (case when isnull(a.small_img_url, '') = '' then '' else 'http://fxh.ivytalksoft.com:4617' + a.small_img_url end) as small_img_full_url from goods a left join (select goods_id,is_default,max(prices) as prices from goods_std group by goods_id,is_default) as c on c.goods_id = a.goods_id left join (select goods_id, '1' as is_collect from tr_collect where cus_no = '1113') d on d.goods_id = a.goods_id left join (select goods_id, isnull(sum(qty), 0) qty from tr_shopcart where open_id = '1113' group by goods_id) e on e.goods_id = a.goods_id where a.cls_id in (select cls_id from goods_cls where isnull(is_show_mall, '0') = '1' and cls_no like '0304%' ) and c.is_default = '1' and a.status = '1' and isnull(a.is_show_mall, '0') = '1' ) as m where 1 = 1) t WHERE t.rowid > 0 AND t.rowid <= 100 [详细] => 在 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.TryHasMoreRows(Boolean& moreRows) 在 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(DataTable[] dataTables, 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(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior) 在 System.Data.Common.DbDataAdapter.Fill(DataTable dataTable) 在 Db.DBContext.ExecuteToTable(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.GoodsService.GetClsGoods(String cls_no, String theme, String low_price, String up_price, Int32 page_no, Int32 page_size, Int32& total, String oper_id, String supcust_group, String supcust_no, String cus_level) 在 Api.SingOut.b2b.mina.goods.get_cls_goods(String cls_no, String theme, String low_price, String up_price, Int32 page_no, Int32 page_size) [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.goods , [方法] => get_cls_goods [入参] => {"cls_no":"0304","theme":"","low_price":"","up_price":"","page_no":1,"page_size":100} ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 14:03:46 [错误信息] => 事务(进程 ID 78)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => update tr_shopcart set price='2.70000000',unit_no='斤',amount=2.70000000 * qty where goods_id='0000000001749' and open_id='1047';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000004730' and open_id='1047';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000004769' and open_id='1047';update tr_shopcart set price='11.00000000',unit_no='斤',amount=11.00000000 * qty where goods_id='0000000004715' and open_id='1047';update tr_shopcart set price='5.80000000',unit_no='斤',amount=5.80000000 * qty where goods_id='0000000004758' and open_id='1047';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005751' and open_id='1047';update tr_shopcart set price='4.50000000',unit_no='斤',amount=4.50000000 * qty where goods_id='0000000005709' and open_id='1047';update tr_shopcart set price='8.00000000',unit_no='包',amount=8.00000000 * qty where goods_id='0000000005702' and open_id='1047';update tr_shopcart set price='3.60000000',unit_no='斤',amount=3.60000000 * qty where goods_id='0000000004684' and open_id='1047';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005766' and open_id='1047';update tr_shopcart set price='4.50000000',unit_no='包',amount=4.50000000 * qty where goods_id='0000000005715' and open_id='1047';update tr_shopcart set price='7.00000000',unit_no='斤',amount=7.00000000 * qty where goods_id='0000000005818' and open_id='1047';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005819' and open_id='1047';update tr_shopcart set price='24.50000000',unit_no='斤',amount=24.50000000 * qty where goods_id='0000000005949' and open_id='1047';update tr_shopcart set price='3.40000000',unit_no='斤',amount=3.40000000 * qty where goods_id='0000000005821' and open_id='1047';update tr_shopcart set price='6.00000000',unit_no='斤',amount=6.00000000 * qty where goods_id='0000000005823' and open_id='1047';update tr_shopcart set price='1.87000000',unit_no='斤',amount=1.87000000 * qty where goods_id='0000000005826' and open_id='1047';update tr_shopcart set price='1.10000000',unit_no='斤',amount=1.10000000 * qty where goods_id='0000000005827' and open_id='1047';update tr_shopcart set price='4.90000000',unit_no='斤',amount=4.90000000 * qty where goods_id='0000000005765' and open_id='1047';update tr_shopcart set price='5.50000000',unit_no='盒',amount=5.50000000 * qty where goods_id='0000000005721' and open_id='1047';update tr_shopcart set price='14.30000000',unit_no='斤',amount=14.30000000 * qty where goods_id='0000000005909' and open_id='1047';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005741' and open_id='1047';update tr_shopcart set price='6.50000000',unit_no='斤',amount=6.50000000 * qty where goods_id='0000000004725' and open_id='1047';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000004755' and open_id='1047';update tr_shopcart set price='13.50000000',unit_no='斤',amount=13.50000000 * qty where goods_id='0000000005932' and open_id='1047';update tr_shopcart set price='13.00000000',unit_no='斤',amount=13.00000000 * qty where goods_id='0000000005947' and open_id='1047';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000004698' and open_id='1047';update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000004729' and open_id='1047';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005778' and open_id='1047';update tr_shopcart set price='18.00000000',unit_no='斤',amount=18.00000000 * qty where goods_id='0000000000025' and open_id='1047';update tr_shopcart set price='2.20000000',unit_no='斤',amount=2.20000000 * qty where goods_id='0000000004780' and open_id='1047';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000005838' and open_id='1047';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000028' and open_id='1047';update tr_shopcart set price='16.50000000',unit_no='斤',amount=16.50000000 * qty where goods_id='0000000004700' and open_id='1047';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005750' and open_id='1047';update tr_shopcart set price='1.70000000',unit_no='斤',amount=1.70000000 * qty where goods_id='0000000005752' and open_id='1047';update tr_shopcart set price='2.00000000',unit_no='斤',amount=2.00000000 * qty where goods_id='0000000005753' and open_id='1047';update tr_shopcart set price='49.50000000',unit_no='斤',amount=49.50000000 * qty where goods_id='0000000005896' and open_id='1047';update tr_shopcart set price='14.00000000',unit_no='斤',amount=14.00000000 * qty where goods_id='0000000005013' and open_id='1047';update tr_shopcart set price='28.00000000',unit_no='斤',amount=28.00000000 * qty where goods_id='0000000005906' and open_id='1047';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000005830' and open_id='1047';update tr_shopcart set price='3.90000000',unit_no='盒',amount=3.90000000 * qty where goods_id='0000000005723' and open_id='1047';update tr_shopcart set price='5.00000000',unit_no='盒',amount=5.00000000 * qty where goods_id='0000000005727' and open_id='1047';update tr_shopcart set price='16.00000000',unit_no='斤',amount=16.00000000 * qty where goods_id='0000000004643' and open_id='1047';update tr_shopcart set price='2.25000000',unit_no='斤',amount=2.25000000 * qty where goods_id='0000000005423' and open_id='1047';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005462' and open_id='1047';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005483' and open_id='1047';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005484' and open_id='1047';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005485' and open_id='1047';update tr_shopcart set price='1.88000000',unit_no='斤',amount=1.88000000 * qty where goods_id='0000000005488' and open_id='1047';update tr_shopcart set price='6.25000000',unit_no='包',amount=6.25000000 * qty where goods_id='0000000001511' and open_id='1047';update tr_shopcart set price='5.00000000',unit_no='斤',amount=5.00000000 * qty where goods_id='0000000001510' and open_id='1047';update tr_shopcart set price='3.12000000',unit_no='个',amount=3.12000000 * qty where goods_id='0000000005429' and open_id='1047';update tr_shopcart set price='7.50000000',unit_no='斤',amount=7.50000000 * qty where goods_id='0000000005472' and open_id='1047';update tr_shopcart set price='3.30000000',unit_no='斤',amount=3.30000000 * qty where goods_id='0000000005798' and open_id='1047';update tr_shopcart set price='1.98000000',unit_no='包',amount=1.98000000 * qty where goods_id='0000000004683' and open_id='1047';update tr_shopcart set price='2.80000000',unit_no='斤',amount=2.80000000 * qty where goods_id='0000000005812' and open_id='1047';update tr_shopcart set price='5.70000000',unit_no='斤',amount=5.70000000 * qty where goods_id='0000000005822' and open_id='1047';update tr_shopcart set price='6.50000000',unit_no='斤',amount=6.50000000 * qty where goods_id='0000000005763' and open_id='1047';update tr_shopcart set price='7.40000000',unit_no='斤',amount=7.40000000 * qty where goods_id='0000000005767' and open_id='1047';update tr_shopcart set price='7.80000000',unit_no='斤',amount=7.80000000 * qty where goods_id='0000000005768' and open_id='1047';update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000005769' and open_id='1047';update tr_shopcart set price='5.75000000',unit_no='斤',amount=5.75000000 * qty where goods_id='0000000005807' and open_id='1047';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005810' and open_id='1047';update tr_shopcart set price='4.00000000',unit_no='盒',amount=4.00000000 * qty where goods_id='0000000000996' and open_id='1047';update tr_shopcart set price='3.80000000',unit_no='盒',amount=3.80000000 * qty where goods_id='0000000005717' and open_id='1047';update tr_shopcart set price='4.00000000',unit_no='盒',amount=4.00000000 * qty where goods_id='0000000005722' and open_id='1047';update tr_shopcart set price='4.60000000',unit_no='斤',amount=4.60000000 * qty where goods_id='0000000005747' and open_id='1047';update tr_shopcart set price='8.80000000',unit_no='斤',amount=8.80000000 * qty where goods_id='0000000005012' and open_id='1047';update tr_shopcart set price='3.40000000',unit_no='包',amount=3.40000000 * qty where goods_id='0000000005725' and open_id='1047';update tr_shopcart set price='3.90000000',unit_no='盒',amount=3.90000000 * qty where goods_id='0000000005726' and open_id='1047';update tr_shopcart set price='1.88000000',unit_no='斤',amount=1.88000000 * qty where goods_id='0000000005464' and open_id='1047';update tr_shopcart set price='13.80000000',unit_no='斤',amount=13.80000000 * qty where goods_id='0000000005015' and open_id='1047';update tr_shopcart set price='13.80000000',unit_no='斤',amount=13.80000000 * qty where goods_id='0000000005873' and open_id='1047';update tr_shopcart set price='1.88000000',unit_no='斤',amount=1.88000000 * qty where goods_id='0000000005478' and open_id='1047';update tr_shopcart set price='22.00000000',unit_no='斤',amount=22.00000000 * qty where goods_id='0000000005905' and open_id='1047';update tr_shopcart set price='14.50000000',unit_no='斤',amount=14.50000000 * qty where goods_id='0000000005907' and open_id='1047';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005482' and open_id='1047';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005487' and open_id='1047';update tr_shopcart set price='6.25000000',unit_no='板',amount=6.25000000 * qty where goods_id='0000000005431' and open_id='1047';update tr_shopcart set price='0.62000000',unit_no='条',amount=0.62000000 * qty where goods_id='0000000005457' and open_id='1047';update tr_shopcart set price='9.80000000',unit_no='斤',amount=9.80000000 * qty where goods_id='0000000005473' and open_id='1047';update tr_shopcart set price='6.25000000',unit_no='斤',amount=6.25000000 * qty where goods_id='0000000005493' and open_id='1047';update tr_shopcart set price='3.75000000',unit_no='斤',amount=3.75000000 * qty where goods_id='0000000005500' and open_id='1047';update tr_shopcart set price='11.50000000',unit_no='斤',amount=11.50000000 * qty where goods_id='0000000005832' and open_id='1047';update tr_shopcart set price='5.60000000',unit_no='斤',amount=5.60000000 * qty where goods_id='0000000005847' and open_id='1047';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005859' and open_id='1047';update tr_shopcart set price='4.40000000',unit_no='斤',amount=4.40000000 * qty where goods_id='0000000005862' and open_id='1047';update tr_shopcart set price='2.20000000',unit_no='斤',amount=2.20000000 * qty where goods_id='0000000001746' and open_id='1047';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000005868' and open_id='1047';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000005772' and open_id='1047';update tr_shopcart set price='8.20000000',unit_no='斤',amount=8.20000000 * qty where goods_id='0000000005712' and open_id='1047';update tr_shopcart set price='3.40000000',unit_no='斤',amount=3.40000000 * qty where goods_id='0000000005713' and open_id='1047';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005773' and open_id='1047';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005775' and open_id='1047';update tr_shopcart set price='4.20000000',unit_no='盒',amount=4.20000000 * qty where goods_id='0000000005728' and open_id='1047';update tr_shopcart set price='2.00000000',unit_no='盒',amount=2.00000000 * qty where goods_id='0000000005730' and open_id='1047';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000005840' and open_id='1047';update tr_shopcart set price='2.70000000',unit_no='斤',amount=2.70000000 * qty where goods_id='0000000005843' and open_id='1047';update tr_shopcart set price='3.70000000',unit_no='斤',amount=3.70000000 * qty where goods_id='0000000005846' and open_id='1047';update tr_shopcart set price='3.80000000',unit_no='斤',amount=3.80000000 * qty where goods_id='0000000005861' and open_id='1047';update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000005863' and open_id='1047';update tr_shopcart set price='4.50000000',unit_no='斤',amount=4.50000000 * qty where goods_id='0000000005864' and open_id='1047';update tr_shopcart set price='17.00000000',unit_no='斤',amount=17.00000000 * qty where goods_id='0000000005644' and open_id='1047';update tr_shopcart set price='20.30000000',unit_no='斤',amount=20.30000000 * qty where goods_id='0000000004652' and open_id='1047';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000027' and open_id='1047';update tr_shopcart set price='6.60000000',unit_no='斤',amount=6.60000000 * qty where goods_id='0000000005785' and open_id='1047';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005790' and open_id='1047';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000005791' and open_id='1047';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005796' and open_id='1047';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005797' and open_id='1047';update tr_shopcart set price='3.40000000',unit_no='包',amount=3.40000000 * qty where goods_id='0000000005776' and open_id='1047';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000000965' and open_id='1047';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000000964' and open_id='1047';update tr_shopcart set price='5.50000000',unit_no='斤',amount=5.50000000 * qty where goods_id='0000000001276' and open_id='1047';update tr_shopcart set price='2.60000000',unit_no='斤',amount=2.60000000 * qty where goods_id='0000000005733' and open_id='1047';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000005736' and open_id='1047';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005745' and open_id='1047';update tr_shopcart set price='5.60000000',unit_no='斤',amount=5.60000000 * qty where goods_id='0000000005748' and open_id='1047';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005749' and open_id='1047'; [详细] => 在 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.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.ExecuteScalar() 在 Db.DBContext.ExecuteScalar(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.GetAll(String oper_id, String supcust_no) 在 Api.SingOut.b2b.mina.shopcart.get_all() [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => get_all [入参] => ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 14:03:49 [错误信息] => 事务(进程 ID 66)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => update tr_shopcart set price='4.60000000',unit_no='斤',amount=4.60000000 * qty where goods_id='0000000005747' and open_id='1113';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005749' and open_id='1113';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005750' and open_id='1113';update tr_shopcart set price='14.50000000',unit_no='斤',amount=14.50000000 * qty where goods_id='0000000000055' and open_id='1113';update tr_shopcart set price='13.00000000',unit_no='斤',amount=13.00000000 * qty where goods_id='0000000005929' and open_id='1113';update tr_shopcart set price='28.00000000',unit_no='斤',amount=28.00000000 * qty where goods_id='0000000005906' and open_id='1113';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005751' and open_id='1113';update tr_shopcart set price='4.60000000',unit_no='斤',amount=4.60000000 * qty where goods_id='0000000000871' and open_id='1113';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000005840' and open_id='1113';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005859' and open_id='1113';update tr_shopcart set price='2.00000000',unit_no='斤',amount=2.00000000 * qty where goods_id='0000000005871' and open_id='1113';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000001290' and open_id='1113';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000005772' and open_id='1113';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005773' and open_id='1113';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000005777' and open_id='1113';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000028' and open_id='1113';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000000964' and open_id='1113';update tr_shopcart set price='4.30000000',unit_no='斤',amount=4.30000000 * qty where goods_id='0000000001278' and open_id='1113';update tr_shopcart set price='3.10000000',unit_no='斤',amount=3.10000000 * qty where goods_id='0000000004779' and open_id='1113';update tr_shopcart set price='4.50000000',unit_no='斤',amount=4.50000000 * qty where goods_id='0000000005709' and open_id='1113';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005731' and open_id='1113';update tr_shopcart set price='13.80000000',unit_no='斤',amount=13.80000000 * qty where goods_id='0000000005015' and open_id='1113';update tr_shopcart set price='14.50000000',unit_no='斤',amount=14.50000000 * qty where goods_id='0000000005907' and open_id='1113';update tr_shopcart set price='1.80000000',unit_no='斤',amount=1.80000000 * qty where goods_id='0000000005774' and open_id='1113';update tr_shopcart set price='3.40000000',unit_no='包',amount=3.40000000 * qty where goods_id='0000000005776' and open_id='1113';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005778' and open_id='1113';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000027' and open_id='1113';update tr_shopcart set price='2.80000000',unit_no='斤',amount=2.80000000 * qty where goods_id='0000000005732' and open_id='1113';update tr_shopcart set price='5.60000000',unit_no='斤',amount=5.60000000 * qty where goods_id='0000000005847' and open_id='1113';update tr_shopcart set price='3.70000000',unit_no='斤',amount=3.70000000 * qty where goods_id='0000000005846' and open_id='1113';update tr_shopcart set price='1.90000000',unit_no='斤',amount=1.90000000 * qty where goods_id='0000000000924' and open_id='1113';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005741' and open_id='1113';update tr_shopcart set price='21.50000000',unit_no='斤',amount=21.50000000 * qty where goods_id='0000000005917' and open_id='1113';update tr_shopcart set price='7.00000000',unit_no='斤',amount=7.00000000 * qty where goods_id='0000000005922' and open_id='1113'; [详细] => 在 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.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.ExecuteScalar() 在 Db.DBContext.ExecuteScalar(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.GetAll(String oper_id, String supcust_no) 在 Api.SingOut.b2b.mina.shopcart.get_all() [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => get_all [入参] => ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 14:03:50 [错误信息] => 事务(进程 ID 76)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => update tr_shopcart set qty='1',amount='3.00000000' where goods_id='0000000004755' and open_id='1091' [详细] => 在 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.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.ExecuteScalar() 在 Db.DBContext.ExecuteScalar(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.add(tr_shopcart shopcart, String oper_id, String cus_level, Int32 merId) 在 Api.SingOut.b2b.mina.shopcart.add(String goods_id, Decimal qty) [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => add [入参] => {"goods_id":"0000000004755","qty":"1"} ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 14:03:51 [错误信息] => 事务(进程 ID 84)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => select a.*, isnull(d.is_collect, '0') is_collect, isnull(e.qty, 0) qty from goods a left join (select goods_id, '1' as is_collect from tr_collect where cus_no = '1047') d on d.goods_id = a.goods_id left join (select goods_id, isnull(sum(qty), 0) qty from tr_shopcart where open_id = '1047' group by goods_id) e on e.goods_id = a.goods_id where a.goods_id = '0000000005839' [详细] => 在 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.TryHasMoreRows(Boolean& moreRows) 在 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(DataTable[] dataTables, 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(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior) 在 System.Data.Common.DbDataAdapter.Fill(DataTable dataTable) 在 Db.DBContext.ExecuteToTable(String sql, IDbDataParameter[] pars) 在 Db.DBContext.ExecuteToModel[T](String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.GoodsService.GetGoodsDetail(String goods_id, String oper_id, String supcust_no) 在 Api.SingOut.b2b.mina.goods.get_goods_detail(String goods_id) [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.goods , [方法] => get_goods_detail [入参] => {"goods_id":"0000000005839"} ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 14:03:51 [错误信息] => 事务(进程 ID 85)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => select qty from tr_shopcart where goods_id='0000000005751' and open_id='1113' [详细] => 在 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.TryHasMoreRows(Boolean& moreRows) 在 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(DataTable[] dataTables, 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(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior) 在 System.Data.Common.DbDataAdapter.Fill(DataTable dataTable) 在 Db.DBContext.ExecuteToTable(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.AddQtyOne(tr_shopcart shopcart, Decimal& count, String oper_id, String cus_level, Int32 merId) 在 Api.SingOut.b2b.mina.shopcart.add_qty_one(String goods_id) [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => add_qty_one [入参] => {"goods_id":"0000000005751"} ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 14:03:51 [错误信息] => 事务(进程 ID 81)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => select qty from tr_shopcart where goods_id='0000000005838' and open_id='1047' [详细] => 在 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.TryHasMoreRows(Boolean& moreRows) 在 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(DataTable[] dataTables, 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(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior) 在 System.Data.Common.DbDataAdapter.Fill(DataTable dataTable) 在 Db.DBContext.ExecuteToTable(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.AddQtyOne(tr_shopcart shopcart, Decimal& count, String oper_id, String cus_level, Int32 merId) 在 Api.SingOut.b2b.mina.shopcart.add_qty_one(String goods_id) [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => add_qty_one [入参] => {"goods_id":"0000000005838"} ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 14:03:51 [错误信息] => 事务(进程 ID 65)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => update tr_shopcart set price='4.60000000',unit_no='斤',amount=4.60000000 * qty where goods_id='0000000005747' and open_id='1113';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005749' and open_id='1113';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005750' and open_id='1113';update tr_shopcart set price='14.50000000',unit_no='斤',amount=14.50000000 * qty where goods_id='0000000000055' and open_id='1113';update tr_shopcart set price='13.00000000',unit_no='斤',amount=13.00000000 * qty where goods_id='0000000005929' and open_id='1113';update tr_shopcart set price='28.00000000',unit_no='斤',amount=28.00000000 * qty where goods_id='0000000005906' and open_id='1113';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005751' and open_id='1113';update tr_shopcart set price='4.60000000',unit_no='斤',amount=4.60000000 * qty where goods_id='0000000000871' and open_id='1113';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000005840' and open_id='1113';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005859' and open_id='1113';update tr_shopcart set price='2.00000000',unit_no='斤',amount=2.00000000 * qty where goods_id='0000000005871' and open_id='1113';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000001290' and open_id='1113';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000005772' and open_id='1113';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005773' and open_id='1113';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000005777' and open_id='1113';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000028' and open_id='1113';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000000964' and open_id='1113';update tr_shopcart set price='4.30000000',unit_no='斤',amount=4.30000000 * qty where goods_id='0000000001278' and open_id='1113';update tr_shopcart set price='3.10000000',unit_no='斤',amount=3.10000000 * qty where goods_id='0000000004779' and open_id='1113';update tr_shopcart set price='4.50000000',unit_no='斤',amount=4.50000000 * qty where goods_id='0000000005709' and open_id='1113';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005731' and open_id='1113';update tr_shopcart set price='13.80000000',unit_no='斤',amount=13.80000000 * qty where goods_id='0000000005015' and open_id='1113';update tr_shopcart set price='14.50000000',unit_no='斤',amount=14.50000000 * qty where goods_id='0000000005907' and open_id='1113';update tr_shopcart set price='1.80000000',unit_no='斤',amount=1.80000000 * qty where goods_id='0000000005774' and open_id='1113';update tr_shopcart set price='3.40000000',unit_no='包',amount=3.40000000 * qty where goods_id='0000000005776' and open_id='1113';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005778' and open_id='1113';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000027' and open_id='1113';update tr_shopcart set price='2.80000000',unit_no='斤',amount=2.80000000 * qty where goods_id='0000000005732' and open_id='1113';update tr_shopcart set price='5.60000000',unit_no='斤',amount=5.60000000 * qty where goods_id='0000000005847' and open_id='1113';update tr_shopcart set price='3.70000000',unit_no='斤',amount=3.70000000 * qty where goods_id='0000000005846' and open_id='1113';update tr_shopcart set price='1.90000000',unit_no='斤',amount=1.90000000 * qty where goods_id='0000000000924' and open_id='1113';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005741' and open_id='1113';update tr_shopcart set price='21.50000000',unit_no='斤',amount=21.50000000 * qty where goods_id='0000000005917' and open_id='1113';update tr_shopcart set price='7.00000000',unit_no='斤',amount=7.00000000 * qty where goods_id='0000000005922' and open_id='1113'; [详细] => 在 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.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.ExecuteScalar() 在 Db.DBContext.ExecuteScalar(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.GetAll(String oper_id, String supcust_no) 在 Api.SingOut.b2b.mina.shopcart.get_all() [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => get_all [入参] => ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 14:05:57 [错误信息] => 事务(进程 ID 64)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => update tr_shopcart set price='4.60000000',unit_no='斤',amount=4.60000000 * qty where goods_id='0000000005747' and open_id='1113';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005749' and open_id='1113';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005750' and open_id='1113';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000004698' and open_id='1113';update tr_shopcart set price='14.50000000',unit_no='斤',amount=14.50000000 * qty where goods_id='0000000000055' and open_id='1113';update tr_shopcart set price='13.00000000',unit_no='斤',amount=13.00000000 * qty where goods_id='0000000005929' and open_id='1113';update tr_shopcart set price='28.00000000',unit_no='斤',amount=28.00000000 * qty where goods_id='0000000005906' and open_id='1113';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005751' and open_id='1113';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005796' and open_id='1113';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005799' and open_id='1113';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005808' and open_id='1113';update tr_shopcart set price='2.70000000',unit_no='斤',amount=2.70000000 * qty where goods_id='0000000005803' and open_id='1113';update tr_shopcart set price='4.60000000',unit_no='斤',amount=4.60000000 * qty where goods_id='0000000000871' and open_id='1113';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000005840' and open_id='1113';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005859' and open_id='1113';update tr_shopcart set price='2.00000000',unit_no='斤',amount=2.00000000 * qty where goods_id='0000000005871' and open_id='1113';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000001290' and open_id='1113';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000005772' and open_id='1113';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005773' and open_id='1113';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000005777' and open_id='1113';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000028' and open_id='1113';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000000964' and open_id='1113';update tr_shopcart set price='4.30000000',unit_no='斤',amount=4.30000000 * qty where goods_id='0000000001278' and open_id='1113';update tr_shopcart set price='3.10000000',unit_no='斤',amount=3.10000000 * qty where goods_id='0000000004779' and open_id='1113';update tr_shopcart set price='4.50000000',unit_no='斤',amount=4.50000000 * qty where goods_id='0000000005709' and open_id='1113';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005731' and open_id='1113';update tr_shopcart set price='13.80000000',unit_no='斤',amount=13.80000000 * qty where goods_id='0000000005015' and open_id='1113';update tr_shopcart set price='14.50000000',unit_no='斤',amount=14.50000000 * qty where goods_id='0000000005907' and open_id='1113';update tr_shopcart set price='2.80000000',unit_no='斤',amount=2.80000000 * qty where goods_id='0000000005812' and open_id='1113';update tr_shopcart set price='2.20000000',unit_no='斤',amount=2.20000000 * qty where goods_id='0000000005813' and open_id='1113';update tr_shopcart set price='1.80000000',unit_no='斤',amount=1.80000000 * qty where goods_id='0000000005774' and open_id='1113';update tr_shopcart set price='3.40000000',unit_no='包',amount=3.40000000 * qty where goods_id='0000000005776' and open_id='1113';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005778' and open_id='1113';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000027' and open_id='1113';update tr_shopcart set price='2.80000000',unit_no='斤',amount=2.80000000 * qty where goods_id='0000000005732' and open_id='1113';update tr_shopcart set price='5.60000000',unit_no='斤',amount=5.60000000 * qty where goods_id='0000000005847' and open_id='1113';update tr_shopcart set price='3.70000000',unit_no='斤',amount=3.70000000 * qty where goods_id='0000000005846' and open_id='1113';update tr_shopcart set price='1.90000000',unit_no='斤',amount=1.90000000 * qty where goods_id='0000000000924' and open_id='1113';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005741' and open_id='1113';update tr_shopcart set price='21.50000000',unit_no='斤',amount=21.50000000 * qty where goods_id='0000000005917' and open_id='1113';update tr_shopcart set price='7.00000000',unit_no='斤',amount=7.00000000 * qty where goods_id='0000000005922' and open_id='1113'; [详细] => 在 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.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.ExecuteScalar() 在 Db.DBContext.ExecuteScalar(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.GetAll(String oper_id, String supcust_no) 在 Api.SingOut.b2b.mina.shopcart.get_all() [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => get_all [入参] => ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 14:06:02 [错误信息] => 事务(进程 ID 74)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => update tr_shopcart set price='4.60000000',unit_no='斤',amount=4.60000000 * qty where goods_id='0000000005747' and open_id='1113';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005749' and open_id='1113';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005750' and open_id='1113';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000004698' and open_id='1113';update tr_shopcart set price='14.50000000',unit_no='斤',amount=14.50000000 * qty where goods_id='0000000000055' and open_id='1113';update tr_shopcart set price='13.00000000',unit_no='斤',amount=13.00000000 * qty where goods_id='0000000005929' and open_id='1113';update tr_shopcart set price='28.00000000',unit_no='斤',amount=28.00000000 * qty where goods_id='0000000005906' and open_id='1113';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005751' and open_id='1113';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005796' and open_id='1113';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005799' and open_id='1113';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005808' and open_id='1113';update tr_shopcart set price='2.70000000',unit_no='斤',amount=2.70000000 * qty where goods_id='0000000005803' and open_id='1113';update tr_shopcart set price='4.60000000',unit_no='斤',amount=4.60000000 * qty where goods_id='0000000000871' and open_id='1113';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000005840' and open_id='1113';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005859' and open_id='1113';update tr_shopcart set price='2.00000000',unit_no='斤',amount=2.00000000 * qty where goods_id='0000000005871' and open_id='1113';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000001290' and open_id='1113';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000005772' and open_id='1113';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005773' and open_id='1113';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000005777' and open_id='1113';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000028' and open_id='1113';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000000964' and open_id='1113';update tr_shopcart set price='4.30000000',unit_no='斤',amount=4.30000000 * qty where goods_id='0000000001278' and open_id='1113';update tr_shopcart set price='3.10000000',unit_no='斤',amount=3.10000000 * qty where goods_id='0000000004779' and open_id='1113';update tr_shopcart set price='4.50000000',unit_no='斤',amount=4.50000000 * qty where goods_id='0000000005709' and open_id='1113';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005731' and open_id='1113';update tr_shopcart set price='13.80000000',unit_no='斤',amount=13.80000000 * qty where goods_id='0000000005015' and open_id='1113';update tr_shopcart set price='14.50000000',unit_no='斤',amount=14.50000000 * qty where goods_id='0000000005907' and open_id='1113';update tr_shopcart set price='2.80000000',unit_no='斤',amount=2.80000000 * qty where goods_id='0000000005812' and open_id='1113';update tr_shopcart set price='2.20000000',unit_no='斤',amount=2.20000000 * qty where goods_id='0000000005813' and open_id='1113';update tr_shopcart set price='2.00000000',unit_no='斤',amount=2.00000000 * qty where goods_id='0000000005814' and open_id='1113';update tr_shopcart set price='1.80000000',unit_no='斤',amount=1.80000000 * qty where goods_id='0000000005774' and open_id='1113';update tr_shopcart set price='3.40000000',unit_no='包',amount=3.40000000 * qty where goods_id='0000000005776' and open_id='1113';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005778' and open_id='1113';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000027' and open_id='1113';update tr_shopcart set price='2.80000000',unit_no='斤',amount=2.80000000 * qty where goods_id='0000000005732' and open_id='1113';update tr_shopcart set price='5.60000000',unit_no='斤',amount=5.60000000 * qty where goods_id='0000000005847' and open_id='1113';update tr_shopcart set price='3.70000000',unit_no='斤',amount=3.70000000 * qty where goods_id='0000000005846' and open_id='1113';update tr_shopcart set price='1.90000000',unit_no='斤',amount=1.90000000 * qty where goods_id='0000000000924' and open_id='1113';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005741' and open_id='1113';update tr_shopcart set price='21.50000000',unit_no='斤',amount=21.50000000 * qty where goods_id='0000000005917' and open_id='1113';update tr_shopcart set price='7.00000000',unit_no='斤',amount=7.00000000 * qty where goods_id='0000000005922' and open_id='1113'; [详细] => 在 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.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.ExecuteScalar() 在 Db.DBContext.ExecuteScalar(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.GetAll(String oper_id, String supcust_no) 在 Api.SingOut.b2b.mina.shopcart.get_all() [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => get_all [入参] => ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 14:06:07 [错误信息] => 事务(进程 ID 76)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => SELECT * FROM (SELECT ROW_NUMBER() OVER (ORDER BY goods_id) AS rowid, * from (select a.goods_id , a.cls_id , a.goods_name , a.barcode , a.goods_size , isnull(a.product_area, '') product_area , a.unit_no , isnull(a.item_pack, 0) item_pack , a.small_img_url , isnull(d.is_collect, '0') is_collect , isnull(e.qty, 0) qty , dbo.FUNC_GET_ITEM_SALE_PRICE('1113',a.goods_id) as price , (case when isnull(a.small_img_url, '') = '' then '' else 'http://fxh.ivytalksoft.com:4617' + a.small_img_url end) as small_img_full_url from goods a left join (select goods_id,is_default,max(prices) as prices from goods_std group by goods_id,is_default) as c on c.goods_id = a.goods_id left join (select goods_id, '1' as is_collect from tr_collect where cus_no = '1113') d on d.goods_id = a.goods_id left join (select goods_id, isnull(sum(qty), 0) qty from tr_shopcart where open_id = '1113' group by goods_id) e on e.goods_id = a.goods_id where a.cls_id in (select cls_id from goods_cls where isnull(is_show_mall, '0') = '1' and cls_no like '0305%' ) and c.is_default = '1' and a.status = '1' and isnull(a.is_show_mall, '0') = '1' ) as m where 1 = 1) t WHERE t.rowid > 0 AND t.rowid <= 100 [详细] => 在 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.TryHasMoreRows(Boolean& moreRows) 在 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(DataTable[] dataTables, 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(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior) 在 System.Data.Common.DbDataAdapter.Fill(DataTable dataTable) 在 Db.DBContext.ExecuteToTable(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.GoodsService.GetClsGoods(String cls_no, String theme, String low_price, String up_price, Int32 page_no, Int32 page_size, Int32& total, String oper_id, String supcust_group, String supcust_no, String cus_level) 在 Api.SingOut.b2b.mina.goods.get_cls_goods(String cls_no, String theme, String low_price, String up_price, Int32 page_no, Int32 page_size) [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.goods , [方法] => get_cls_goods [入参] => {"cls_no":"0305","theme":"","low_price":"","up_price":"","page_no":1,"page_size":100} ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 14:06:10 [错误信息] => 事务(进程 ID 84)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => update tr_shopcart set price='4.60000000',unit_no='斤',amount=4.60000000 * qty where goods_id='0000000005747' and open_id='1113';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005749' and open_id='1113';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005750' and open_id='1113';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000004698' and open_id='1113';update tr_shopcart set price='14.50000000',unit_no='斤',amount=14.50000000 * qty where goods_id='0000000000055' and open_id='1113';update tr_shopcart set price='13.00000000',unit_no='斤',amount=13.00000000 * qty where goods_id='0000000005929' and open_id='1113';update tr_shopcart set price='28.00000000',unit_no='斤',amount=28.00000000 * qty where goods_id='0000000005906' and open_id='1113';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005751' and open_id='1113';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005796' and open_id='1113';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005799' and open_id='1113';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005808' and open_id='1113';update tr_shopcart set price='2.70000000',unit_no='斤',amount=2.70000000 * qty where goods_id='0000000005803' and open_id='1113';update tr_shopcart set price='4.60000000',unit_no='斤',amount=4.60000000 * qty where goods_id='0000000000871' and open_id='1113';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000005840' and open_id='1113';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005859' and open_id='1113';update tr_shopcart set price='2.00000000',unit_no='斤',amount=2.00000000 * qty where goods_id='0000000005871' and open_id='1113';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000001290' and open_id='1113';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000005772' and open_id='1113';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005773' and open_id='1113';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000005777' and open_id='1113';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000028' and open_id='1113';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000000964' and open_id='1113';update tr_shopcart set price='4.30000000',unit_no='斤',amount=4.30000000 * qty where goods_id='0000000001278' and open_id='1113';update tr_shopcart set price='3.10000000',unit_no='斤',amount=3.10000000 * qty where goods_id='0000000004779' and open_id='1113';update tr_shopcart set price='4.50000000',unit_no='斤',amount=4.50000000 * qty where goods_id='0000000005709' and open_id='1113';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005731' and open_id='1113';update tr_shopcart set price='13.80000000',unit_no='斤',amount=13.80000000 * qty where goods_id='0000000005015' and open_id='1113';update tr_shopcart set price='14.50000000',unit_no='斤',amount=14.50000000 * qty where goods_id='0000000005907' and open_id='1113';update tr_shopcart set price='2.80000000',unit_no='斤',amount=2.80000000 * qty where goods_id='0000000005812' and open_id='1113';update tr_shopcart set price='2.20000000',unit_no='斤',amount=2.20000000 * qty where goods_id='0000000005813' and open_id='1113';update tr_shopcart set price='2.00000000',unit_no='斤',amount=2.00000000 * qty where goods_id='0000000005814' and open_id='1113';update tr_shopcart set price='1.80000000',unit_no='斤',amount=1.80000000 * qty where goods_id='0000000005774' and open_id='1113';update tr_shopcart set price='3.40000000',unit_no='包',amount=3.40000000 * qty where goods_id='0000000005776' and open_id='1113';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005778' and open_id='1113';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000027' and open_id='1113';update tr_shopcart set price='2.80000000',unit_no='斤',amount=2.80000000 * qty where goods_id='0000000005732' and open_id='1113';update tr_shopcart set price='5.60000000',unit_no='斤',amount=5.60000000 * qty where goods_id='0000000005847' and open_id='1113';update tr_shopcart set price='3.70000000',unit_no='斤',amount=3.70000000 * qty where goods_id='0000000005846' and open_id='1113';update tr_shopcart set price='1.90000000',unit_no='斤',amount=1.90000000 * qty where goods_id='0000000000924' and open_id='1113';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005741' and open_id='1113';update tr_shopcart set price='21.50000000',unit_no='斤',amount=21.50000000 * qty where goods_id='0000000005917' and open_id='1113';update tr_shopcart set price='7.00000000',unit_no='斤',amount=7.00000000 * qty where goods_id='0000000005922' and open_id='1113'; [详细] => 在 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.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.ExecuteScalar() 在 Db.DBContext.ExecuteScalar(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.GetAll(String oper_id, String supcust_no) 在 Api.SingOut.b2b.mina.shopcart.get_all() [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => get_all [入参] => ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 14:06:11 [错误信息] => 事务(进程 ID 72)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => update tr_shopcart set price='2.70000000',unit_no='斤',amount=2.70000000 * qty where goods_id='0000000001749' and open_id='1047';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000004730' and open_id='1047';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000004769' and open_id='1047';update tr_shopcart set price='11.00000000',unit_no='斤',amount=11.00000000 * qty where goods_id='0000000004715' and open_id='1047';update tr_shopcart set price='5.80000000',unit_no='斤',amount=5.80000000 * qty where goods_id='0000000004758' and open_id='1047';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005751' and open_id='1047';update tr_shopcart set price='4.50000000',unit_no='斤',amount=4.50000000 * qty where goods_id='0000000005709' and open_id='1047';update tr_shopcart set price='8.00000000',unit_no='包',amount=8.00000000 * qty where goods_id='0000000005702' and open_id='1047';update tr_shopcart set price='3.60000000',unit_no='斤',amount=3.60000000 * qty where goods_id='0000000004684' and open_id='1047';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005766' and open_id='1047';update tr_shopcart set price='4.50000000',unit_no='包',amount=4.50000000 * qty where goods_id='0000000005715' and open_id='1047';update tr_shopcart set price='7.00000000',unit_no='斤',amount=7.00000000 * qty where goods_id='0000000005818' and open_id='1047';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005819' and open_id='1047';update tr_shopcart set price='24.50000000',unit_no='斤',amount=24.50000000 * qty where goods_id='0000000005949' and open_id='1047';update tr_shopcart set price='3.40000000',unit_no='斤',amount=3.40000000 * qty where goods_id='0000000005821' and open_id='1047';update tr_shopcart set price='6.00000000',unit_no='斤',amount=6.00000000 * qty where goods_id='0000000005823' and open_id='1047';update tr_shopcart set price='1.87000000',unit_no='斤',amount=1.87000000 * qty where goods_id='0000000005826' and open_id='1047';update tr_shopcart set price='1.10000000',unit_no='斤',amount=1.10000000 * qty where goods_id='0000000005827' and open_id='1047';update tr_shopcart set price='4.90000000',unit_no='斤',amount=4.90000000 * qty where goods_id='0000000005765' and open_id='1047';update tr_shopcart set price='5.50000000',unit_no='盒',amount=5.50000000 * qty where goods_id='0000000005721' and open_id='1047';update tr_shopcart set price='14.30000000',unit_no='斤',amount=14.30000000 * qty where goods_id='0000000005909' and open_id='1047';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005741' and open_id='1047';update tr_shopcart set price='6.50000000',unit_no='斤',amount=6.50000000 * qty where goods_id='0000000004725' and open_id='1047';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000004755' and open_id='1047';update tr_shopcart set price='13.50000000',unit_no='斤',amount=13.50000000 * qty where goods_id='0000000005932' and open_id='1047';update tr_shopcart set price='13.00000000',unit_no='斤',amount=13.00000000 * qty where goods_id='0000000005947' and open_id='1047';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000004698' and open_id='1047';update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000004729' and open_id='1047';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005778' and open_id='1047';update tr_shopcart set price='18.00000000',unit_no='斤',amount=18.00000000 * qty where goods_id='0000000000025' and open_id='1047';update tr_shopcart set price='2.20000000',unit_no='斤',amount=2.20000000 * qty where goods_id='0000000004780' and open_id='1047';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000005838' and open_id='1047';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000028' and open_id='1047';update tr_shopcart set price='16.50000000',unit_no='斤',amount=16.50000000 * qty where goods_id='0000000004700' and open_id='1047';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005750' and open_id='1047';update tr_shopcart set price='1.70000000',unit_no='斤',amount=1.70000000 * qty where goods_id='0000000005752' and open_id='1047';update tr_shopcart set price='2.00000000',unit_no='斤',amount=2.00000000 * qty where goods_id='0000000005753' and open_id='1047';update tr_shopcart set price='49.50000000',unit_no='斤',amount=49.50000000 * qty where goods_id='0000000005896' and open_id='1047';update tr_shopcart set price='14.00000000',unit_no='斤',amount=14.00000000 * qty where goods_id='0000000005013' and open_id='1047';update tr_shopcart set price='28.00000000',unit_no='斤',amount=28.00000000 * qty where goods_id='0000000005906' and open_id='1047';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000005830' and open_id='1047';update tr_shopcart set price='3.90000000',unit_no='盒',amount=3.90000000 * qty where goods_id='0000000005723' and open_id='1047';update tr_shopcart set price='5.00000000',unit_no='盒',amount=5.00000000 * qty where goods_id='0000000005727' and open_id='1047';update tr_shopcart set price='16.00000000',unit_no='斤',amount=16.00000000 * qty where goods_id='0000000004643' and open_id='1047';update tr_shopcart set price='2.25000000',unit_no='斤',amount=2.25000000 * qty where goods_id='0000000005423' and open_id='1047';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005462' and open_id='1047';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005483' and open_id='1047';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005484' and open_id='1047';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005485' and open_id='1047';update tr_shopcart set price='1.88000000',unit_no='斤',amount=1.88000000 * qty where goods_id='0000000005488' and open_id='1047';update tr_shopcart set price='6.25000000',unit_no='包',amount=6.25000000 * qty where goods_id='0000000001511' and open_id='1047';update tr_shopcart set price='5.00000000',unit_no='斤',amount=5.00000000 * qty where goods_id='0000000001510' and open_id='1047';update tr_shopcart set price='3.12000000',unit_no='个',amount=3.12000000 * qty where goods_id='0000000005429' and open_id='1047';update tr_shopcart set price='7.50000000',unit_no='斤',amount=7.50000000 * qty where goods_id='0000000005472' and open_id='1047';update tr_shopcart set price='3.30000000',unit_no='斤',amount=3.30000000 * qty where goods_id='0000000005798' and open_id='1047';update tr_shopcart set price='1.98000000',unit_no='包',amount=1.98000000 * qty where goods_id='0000000004683' and open_id='1047';update tr_shopcart set price='2.80000000',unit_no='斤',amount=2.80000000 * qty where goods_id='0000000005812' and open_id='1047';update tr_shopcart set price='5.70000000',unit_no='斤',amount=5.70000000 * qty where goods_id='0000000005822' and open_id='1047';update tr_shopcart set price='6.50000000',unit_no='斤',amount=6.50000000 * qty where goods_id='0000000005763' and open_id='1047';update tr_shopcart set price='7.40000000',unit_no='斤',amount=7.40000000 * qty where goods_id='0000000005767' and open_id='1047';update tr_shopcart set price='7.80000000',unit_no='斤',amount=7.80000000 * qty where goods_id='0000000005768' and open_id='1047';update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000005769' and open_id='1047';update tr_shopcart set price='5.75000000',unit_no='斤',amount=5.75000000 * qty where goods_id='0000000005807' and open_id='1047';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005810' and open_id='1047';update tr_shopcart set price='4.00000000',unit_no='盒',amount=4.00000000 * qty where goods_id='0000000000996' and open_id='1047';update tr_shopcart set price='3.80000000',unit_no='盒',amount=3.80000000 * qty where goods_id='0000000005717' and open_id='1047';update tr_shopcart set price='4.00000000',unit_no='盒',amount=4.00000000 * qty where goods_id='0000000005722' and open_id='1047';update tr_shopcart set price='4.70000000',unit_no='斤',amount=4.70000000 * qty where goods_id='0000000005839' and open_id='1047';update tr_shopcart set price='4.60000000',unit_no='斤',amount=4.60000000 * qty where goods_id='0000000005747' and open_id='1047';update tr_shopcart set price='8.80000000',unit_no='斤',amount=8.80000000 * qty where goods_id='0000000005012' and open_id='1047';update tr_shopcart set price='3.40000000',unit_no='包',amount=3.40000000 * qty where goods_id='0000000005725' and open_id='1047';update tr_shopcart set price='3.90000000',unit_no='盒',amount=3.90000000 * qty where goods_id='0000000005726' and open_id='1047';update tr_shopcart set price='1.88000000',unit_no='斤',amount=1.88000000 * qty where goods_id='0000000005464' and open_id='1047';update tr_shopcart set price='13.80000000',unit_no='斤',amount=13.80000000 * qty where goods_id='0000000005015' and open_id='1047';update tr_shopcart set price='13.80000000',unit_no='斤',amount=13.80000000 * qty where goods_id='0000000005873' and open_id='1047';update tr_shopcart set price='1.88000000',unit_no='斤',amount=1.88000000 * qty where goods_id='0000000005478' and open_id='1047';update tr_shopcart set price='22.00000000',unit_no='斤',amount=22.00000000 * qty where goods_id='0000000005905' and open_id='1047';update tr_shopcart set price='14.50000000',unit_no='斤',amount=14.50000000 * qty where goods_id='0000000005907' and open_id='1047';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005482' and open_id='1047';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005487' and open_id='1047';update tr_shopcart set price='6.25000000',unit_no='板',amount=6.25000000 * qty where goods_id='0000000005431' and open_id='1047';update tr_shopcart set price='0.62000000',unit_no='条',amount=0.62000000 * qty where goods_id='0000000005457' and open_id='1047';update tr_shopcart set price='9.80000000',unit_no='斤',amount=9.80000000 * qty where goods_id='0000000005473' and open_id='1047';update tr_shopcart set price='6.25000000',unit_no='斤',amount=6.25000000 * qty where goods_id='0000000005493' and open_id='1047';update tr_shopcart set price='3.75000000',unit_no='斤',amount=3.75000000 * qty where goods_id='0000000005500' and open_id='1047';update tr_shopcart set price='11.50000000',unit_no='斤',amount=11.50000000 * qty where goods_id='0000000005832' and open_id='1047';update tr_shopcart set price='5.60000000',unit_no='斤',amount=5.60000000 * qty where goods_id='0000000005847' and open_id='1047';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005859' and open_id='1047';update tr_shopcart set price='4.40000000',unit_no='斤',amount=4.40000000 * qty where goods_id='0000000005862' and open_id='1047';update tr_shopcart set price='2.20000000',unit_no='斤',amount=2.20000000 * qty where goods_id='0000000001746' and open_id='1047';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000005868' and open_id='1047';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000005772' and open_id='1047';update tr_shopcart set price='8.20000000',unit_no='斤',amount=8.20000000 * qty where goods_id='0000000005712' and open_id='1047';update tr_shopcart set price='3.40000000',unit_no='斤',amount=3.40000000 * qty where goods_id='0000000005713' and open_id='1047';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005773' and open_id='1047';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005775' and open_id='1047';update tr_shopcart set price='4.20000000',unit_no='盒',amount=4.20000000 * qty where goods_id='0000000005728' and open_id='1047';update tr_shopcart set price='2.00000000',unit_no='盒',amount=2.00000000 * qty where goods_id='0000000005730' and open_id='1047';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000005840' and open_id='1047';update tr_shopcart set price='2.70000000',unit_no='斤',amount=2.70000000 * qty where goods_id='0000000005843' and open_id='1047';update tr_shopcart set price='3.70000000',unit_no='斤',amount=3.70000000 * qty where goods_id='0000000005846' and open_id='1047';update tr_shopcart set price='3.80000000',unit_no='斤',amount=3.80000000 * qty where goods_id='0000000005861' and open_id='1047';update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000005863' and open_id='1047';update tr_shopcart set price='4.50000000',unit_no='斤',amount=4.50000000 * qty where goods_id='0000000005864' and open_id='1047';update tr_shopcart set price='17.00000000',unit_no='斤',amount=17.00000000 * qty where goods_id='0000000005644' and open_id='1047';update tr_shopcart set price='20.30000000',unit_no='斤',amount=20.30000000 * qty where goods_id='0000000004652' and open_id='1047';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000027' and open_id='1047';update tr_shopcart set price='6.60000000',unit_no='斤',amount=6.60000000 * qty where goods_id='0000000005785' and open_id='1047';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005790' and open_id='1047';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000005791' and open_id='1047';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005796' and open_id='1047';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005797' and open_id='1047';update tr_shopcart set price='3.40000000',unit_no='包',amount=3.40000000 * qty where goods_id='0000000005776' and open_id='1047';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000000965' and open_id='1047';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000000964' and open_id='1047';update tr_shopcart set price='5.50000000',unit_no='斤',amount=5.50000000 * qty where goods_id='0000000001276' and open_id='1047';update tr_shopcart set price='2.60000000',unit_no='斤',amount=2.60000000 * qty where goods_id='0000000005733' and open_id='1047';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000005736' and open_id='1047';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005745' and open_id='1047';update tr_shopcart set price='5.60000000',unit_no='斤',amount=5.60000000 * qty where goods_id='0000000005748' and open_id='1047';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005749' and open_id='1047'; [详细] => 在 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.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.ExecuteScalar() 在 Db.DBContext.ExecuteScalar(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.GetAll(String oper_id, String supcust_no) 在 Api.SingOut.b2b.mina.shopcart.get_all() [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => get_all [入参] => ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 14:06:11 [错误信息] => 事务(进程 ID 77)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => select a.goods_id, a.cls_id, a.goods_name, a.barcode, a.goods_size, isnull(a.product_area, '') product_area, a.unit_no, isnull(a.item_pack, 0) item_pack, a.small_img_url, isnull(d.is_collect, '0') is_collect, isnull(e.qty, 0) qty, (case when isnull(m.new_price, 0) > 0 then Convert(varchar(50), m.new_price) else c.prices end) as prices, dbo.FUNC_GET_ITEM_SALE_PRICE('1091',a.goods_id) as price, (case when isnull(a.small_img_url, '') = '' then '' else 'http://fxh.ivytalksoft.com:4617' + a.small_img_url end) as small_img_full_url from goods a left join goods_std c on c.goods_id = a.goods_id left join (select distinct item_no, new_price from Dbo.bi_t_cust_price where cust_id = '1091') m on a.goods_id = m.item_no left join (select goods_id, '1' as is_collect from tr_collect where cus_no = '1091') d on d.goods_id = a.goods_id left join (select goods_id, isnull(sum(qty), 0) qty from tr_shopcart where open_id = '1091' group by goods_id) e on e.goods_id = a.goods_id where ',' + a.themes like '%,6,%' and c.is_default = '1' and a.status = '1' and isnull(a.is_show_mall, '0') = '1' order by a.goods_id [详细] => 在 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.TryHasMoreRows(Boolean& moreRows) 在 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(DataTable[] dataTables, 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(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior) 在 System.Data.Common.DbDataAdapter.Fill(DataTable dataTable) 在 Db.DBContext.ExecuteToTable(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.GoodsService.GetIndexGoods(String theme, String oper_id, String supcust_group, String supcust_no) 在 Api.SingOut.b2b.mina.goods.get_index_goods(String theme) [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.goods , [方法] => get_index_goods [入参] => {"theme":"6"} ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 14:06:11 [错误信息] => 事务(进程 ID 68)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => update tr_shopcart set qty=qty+1,amount=amount+2.00000000 where goods_id='0000000005814' and open_id='1113' [详细] => 在 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.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.ExecuteScalar() 在 Db.DBContext.ExecuteScalar(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.AddQtyOne(tr_shopcart shopcart, Decimal& count, String oper_id, String cus_level, Int32 merId) 在 Api.SingOut.b2b.mina.shopcart.add_qty_one(String goods_id) [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => add_qty_one [入参] => {"goods_id":"0000000005814"} ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 14:06:12 [错误信息] => 事务(进程 ID 76)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => update tr_shopcart set price='2.70000000',unit_no='斤',amount=2.70000000 * qty where goods_id='0000000001749' and open_id='1047';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000004730' and open_id='1047';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000004769' and open_id='1047';update tr_shopcart set price='11.00000000',unit_no='斤',amount=11.00000000 * qty where goods_id='0000000004715' and open_id='1047';update tr_shopcart set price='5.80000000',unit_no='斤',amount=5.80000000 * qty where goods_id='0000000004758' and open_id='1047';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005751' and open_id='1047';update tr_shopcart set price='4.50000000',unit_no='斤',amount=4.50000000 * qty where goods_id='0000000005709' and open_id='1047';update tr_shopcart set price='8.00000000',unit_no='包',amount=8.00000000 * qty where goods_id='0000000005702' and open_id='1047';update tr_shopcart set price='3.60000000',unit_no='斤',amount=3.60000000 * qty where goods_id='0000000004684' and open_id='1047';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005766' and open_id='1047';update tr_shopcart set price='4.50000000',unit_no='包',amount=4.50000000 * qty where goods_id='0000000005715' and open_id='1047';update tr_shopcart set price='7.00000000',unit_no='斤',amount=7.00000000 * qty where goods_id='0000000005818' and open_id='1047';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005819' and open_id='1047';update tr_shopcart set price='24.50000000',unit_no='斤',amount=24.50000000 * qty where goods_id='0000000005949' and open_id='1047';update tr_shopcart set price='3.40000000',unit_no='斤',amount=3.40000000 * qty where goods_id='0000000005821' and open_id='1047';update tr_shopcart set price='6.00000000',unit_no='斤',amount=6.00000000 * qty where goods_id='0000000005823' and open_id='1047';update tr_shopcart set price='1.87000000',unit_no='斤',amount=1.87000000 * qty where goods_id='0000000005826' and open_id='1047';update tr_shopcart set price='1.10000000',unit_no='斤',amount=1.10000000 * qty where goods_id='0000000005827' and open_id='1047';update tr_shopcart set price='4.90000000',unit_no='斤',amount=4.90000000 * qty where goods_id='0000000005765' and open_id='1047';update tr_shopcart set price='5.50000000',unit_no='盒',amount=5.50000000 * qty where goods_id='0000000005721' and open_id='1047';update tr_shopcart set price='14.30000000',unit_no='斤',amount=14.30000000 * qty where goods_id='0000000005909' and open_id='1047';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005741' and open_id='1047';update tr_shopcart set price='6.50000000',unit_no='斤',amount=6.50000000 * qty where goods_id='0000000004725' and open_id='1047';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000004755' and open_id='1047';update tr_shopcart set price='13.50000000',unit_no='斤',amount=13.50000000 * qty where goods_id='0000000005932' and open_id='1047';update tr_shopcart set price='13.00000000',unit_no='斤',amount=13.00000000 * qty where goods_id='0000000005947' and open_id='1047';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000004698' and open_id='1047';update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000004729' and open_id='1047';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005778' and open_id='1047';update tr_shopcart set price='18.00000000',unit_no='斤',amount=18.00000000 * qty where goods_id='0000000000025' and open_id='1047';update tr_shopcart set price='2.20000000',unit_no='斤',amount=2.20000000 * qty where goods_id='0000000004780' and open_id='1047';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000005838' and open_id='1047';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000028' and open_id='1047';update tr_shopcart set price='16.50000000',unit_no='斤',amount=16.50000000 * qty where goods_id='0000000004700' and open_id='1047';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005750' and open_id='1047';update tr_shopcart set price='1.70000000',unit_no='斤',amount=1.70000000 * qty where goods_id='0000000005752' and open_id='1047';update tr_shopcart set price='2.00000000',unit_no='斤',amount=2.00000000 * qty where goods_id='0000000005753' and open_id='1047';update tr_shopcart set price='49.50000000',unit_no='斤',amount=49.50000000 * qty where goods_id='0000000005896' and open_id='1047';update tr_shopcart set price='14.00000000',unit_no='斤',amount=14.00000000 * qty where goods_id='0000000005013' and open_id='1047';update tr_shopcart set price='28.00000000',unit_no='斤',amount=28.00000000 * qty where goods_id='0000000005906' and open_id='1047';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000005830' and open_id='1047';update tr_shopcart set price='3.90000000',unit_no='盒',amount=3.90000000 * qty where goods_id='0000000005723' and open_id='1047';update tr_shopcart set price='5.00000000',unit_no='盒',amount=5.00000000 * qty where goods_id='0000000005727' and open_id='1047';update tr_shopcart set price='16.00000000',unit_no='斤',amount=16.00000000 * qty where goods_id='0000000004643' and open_id='1047';update tr_shopcart set price='2.25000000',unit_no='斤',amount=2.25000000 * qty where goods_id='0000000005423' and open_id='1047';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005462' and open_id='1047';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005483' and open_id='1047';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005484' and open_id='1047';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005485' and open_id='1047';update tr_shopcart set price='1.88000000',unit_no='斤',amount=1.88000000 * qty where goods_id='0000000005488' and open_id='1047';update tr_shopcart set price='6.25000000',unit_no='包',amount=6.25000000 * qty where goods_id='0000000001511' and open_id='1047';update tr_shopcart set price='5.00000000',unit_no='斤',amount=5.00000000 * qty where goods_id='0000000001510' and open_id='1047';update tr_shopcart set price='3.12000000',unit_no='个',amount=3.12000000 * qty where goods_id='0000000005429' and open_id='1047';update tr_shopcart set price='7.50000000',unit_no='斤',amount=7.50000000 * qty where goods_id='0000000005472' and open_id='1047';update tr_shopcart set price='3.30000000',unit_no='斤',amount=3.30000000 * qty where goods_id='0000000005798' and open_id='1047';update tr_shopcart set price='1.98000000',unit_no='包',amount=1.98000000 * qty where goods_id='0000000004683' and open_id='1047';update tr_shopcart set price='2.80000000',unit_no='斤',amount=2.80000000 * qty where goods_id='0000000005812' and open_id='1047';update tr_shopcart set price='5.70000000',unit_no='斤',amount=5.70000000 * qty where goods_id='0000000005822' and open_id='1047';update tr_shopcart set price='6.50000000',unit_no='斤',amount=6.50000000 * qty where goods_id='0000000005763' and open_id='1047';update tr_shopcart set price='7.40000000',unit_no='斤',amount=7.40000000 * qty where goods_id='0000000005767' and open_id='1047';update tr_shopcart set price='7.80000000',unit_no='斤',amount=7.80000000 * qty where goods_id='0000000005768' and open_id='1047';update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000005769' and open_id='1047';update tr_shopcart set price='5.75000000',unit_no='斤',amount=5.75000000 * qty where goods_id='0000000005807' and open_id='1047';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005810' and open_id='1047';update tr_shopcart set price='4.00000000',unit_no='盒',amount=4.00000000 * qty where goods_id='0000000000996' and open_id='1047';update tr_shopcart set price='3.80000000',unit_no='盒',amount=3.80000000 * qty where goods_id='0000000005717' and open_id='1047';update tr_shopcart set price='4.00000000',unit_no='盒',amount=4.00000000 * qty where goods_id='0000000005722' and open_id='1047';update tr_shopcart set price='4.70000000',unit_no='斤',amount=4.70000000 * qty where goods_id='0000000005839' and open_id='1047';update tr_shopcart set price='4.60000000',unit_no='斤',amount=4.60000000 * qty where goods_id='0000000005747' and open_id='1047';update tr_shopcart set price='8.80000000',unit_no='斤',amount=8.80000000 * qty where goods_id='0000000005012' and open_id='1047';update tr_shopcart set price='3.40000000',unit_no='包',amount=3.40000000 * qty where goods_id='0000000005725' and open_id='1047';update tr_shopcart set price='3.90000000',unit_no='盒',amount=3.90000000 * qty where goods_id='0000000005726' and open_id='1047';update tr_shopcart set price='1.88000000',unit_no='斤',amount=1.88000000 * qty where goods_id='0000000005464' and open_id='1047';update tr_shopcart set price='13.80000000',unit_no='斤',amount=13.80000000 * qty where goods_id='0000000005015' and open_id='1047';update tr_shopcart set price='13.80000000',unit_no='斤',amount=13.80000000 * qty where goods_id='0000000005873' and open_id='1047';update tr_shopcart set price='1.88000000',unit_no='斤',amount=1.88000000 * qty where goods_id='0000000005478' and open_id='1047';update tr_shopcart set price='22.00000000',unit_no='斤',amount=22.00000000 * qty where goods_id='0000000005905' and open_id='1047';update tr_shopcart set price='14.50000000',unit_no='斤',amount=14.50000000 * qty where goods_id='0000000005907' and open_id='1047';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005482' and open_id='1047';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005487' and open_id='1047';update tr_shopcart set price='6.25000000',unit_no='板',amount=6.25000000 * qty where goods_id='0000000005431' and open_id='1047';update tr_shopcart set price='0.62000000',unit_no='条',amount=0.62000000 * qty where goods_id='0000000005457' and open_id='1047';update tr_shopcart set price='9.80000000',unit_no='斤',amount=9.80000000 * qty where goods_id='0000000005473' and open_id='1047';update tr_shopcart set price='6.25000000',unit_no='斤',amount=6.25000000 * qty where goods_id='0000000005493' and open_id='1047';update tr_shopcart set price='3.75000000',unit_no='斤',amount=3.75000000 * qty where goods_id='0000000005500' and open_id='1047';update tr_shopcart set price='11.50000000',unit_no='斤',amount=11.50000000 * qty where goods_id='0000000005832' and open_id='1047';update tr_shopcart set price='5.60000000',unit_no='斤',amount=5.60000000 * qty where goods_id='0000000005847' and open_id='1047';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005859' and open_id='1047';update tr_shopcart set price='4.40000000',unit_no='斤',amount=4.40000000 * qty where goods_id='0000000005862' and open_id='1047';update tr_shopcart set price='2.20000000',unit_no='斤',amount=2.20000000 * qty where goods_id='0000000001746' and open_id='1047';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000005868' and open_id='1047';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000005772' and open_id='1047';update tr_shopcart set price='8.20000000',unit_no='斤',amount=8.20000000 * qty where goods_id='0000000005712' and open_id='1047';update tr_shopcart set price='3.40000000',unit_no='斤',amount=3.40000000 * qty where goods_id='0000000005713' and open_id='1047';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005773' and open_id='1047';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005775' and open_id='1047';update tr_shopcart set price='4.20000000',unit_no='盒',amount=4.20000000 * qty where goods_id='0000000005728' and open_id='1047';update tr_shopcart set price='2.00000000',unit_no='盒',amount=2.00000000 * qty where goods_id='0000000005730' and open_id='1047';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000005840' and open_id='1047';update tr_shopcart set price='2.70000000',unit_no='斤',amount=2.70000000 * qty where goods_id='0000000005843' and open_id='1047';update tr_shopcart set price='3.70000000',unit_no='斤',amount=3.70000000 * qty where goods_id='0000000005846' and open_id='1047';update tr_shopcart set price='3.80000000',unit_no='斤',amount=3.80000000 * qty where goods_id='0000000005861' and open_id='1047';update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000005863' and open_id='1047';update tr_shopcart set price='4.50000000',unit_no='斤',amount=4.50000000 * qty where goods_id='0000000005864' and open_id='1047';update tr_shopcart set price='17.00000000',unit_no='斤',amount=17.00000000 * qty where goods_id='0000000005644' and open_id='1047';update tr_shopcart set price='20.30000000',unit_no='斤',amount=20.30000000 * qty where goods_id='0000000004652' and open_id='1047';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000027' and open_id='1047';update tr_shopcart set price='6.60000000',unit_no='斤',amount=6.60000000 * qty where goods_id='0000000005785' and open_id='1047';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005790' and open_id='1047';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000005791' and open_id='1047';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005796' and open_id='1047';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005797' and open_id='1047';update tr_shopcart set price='3.40000000',unit_no='包',amount=3.40000000 * qty where goods_id='0000000005776' and open_id='1047';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000000965' and open_id='1047';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000000964' and open_id='1047';update tr_shopcart set price='5.50000000',unit_no='斤',amount=5.50000000 * qty where goods_id='0000000001276' and open_id='1047';update tr_shopcart set price='2.60000000',unit_no='斤',amount=2.60000000 * qty where goods_id='0000000005733' and open_id='1047';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000005736' and open_id='1047';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005745' and open_id='1047';update tr_shopcart set price='5.60000000',unit_no='斤',amount=5.60000000 * qty where goods_id='0000000005748' and open_id='1047';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005749' and open_id='1047'; [详细] => 在 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.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.ExecuteScalar() 在 Db.DBContext.ExecuteScalar(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.GetAll(String oper_id, String supcust_no) 在 Api.SingOut.b2b.mina.shopcart.get_all() [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => get_all [入参] => ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 14:06:13 [错误信息] => 事务(进程 ID 65)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005855' and open_id='1040';update tr_shopcart set price='12.00000000',unit_no='斤',amount=12.00000000 * qty where goods_id='0000000005921' and open_id='1040';update tr_shopcart set price='13.00000000',unit_no='斤',amount=13.00000000 * qty where goods_id='0000000005947' and open_id='1040';update tr_shopcart set price='24.50000000',unit_no='斤',amount=24.50000000 * qty where goods_id='0000000005949' and open_id='1040';update tr_shopcart set price='49.50000000',unit_no='斤',amount=49.50000000 * qty where goods_id='0000000005896' and open_id='1040';update tr_shopcart set price='15.10000000',unit_no='斤',amount=15.10000000 * qty where goods_id='0000000000832' and open_id='1040';update tr_shopcart set price='11.50000000',unit_no='斤',amount=11.50000000 * qty where goods_id='0000000005939' and open_id='1040';update tr_shopcart set price='5.80000000',unit_no='斤',amount=5.80000000 * qty where goods_id='0000000004758' and open_id='1040';update tr_shopcart set price='2.25000000',unit_no='斤',amount=2.25000000 * qty where goods_id='0000000005423' and open_id='1040';update tr_shopcart set price='6.25000000',unit_no='斤',amount=6.25000000 * qty where goods_id='0000000005493' and open_id='1040';update tr_shopcart set price='7.50000000',unit_no='斤',amount=7.50000000 * qty where goods_id='0000000005756' and open_id='1040';update tr_shopcart set price='5.70000000',unit_no='斤',amount=5.70000000 * qty where goods_id='0000000005822' and open_id='1040';update tr_shopcart set price='5.75000000',unit_no='斤',amount=5.75000000 * qty where goods_id='0000000005807' and open_id='1040';update tr_shopcart set price='155.00000000',unit_no='斤',amount=155.00000000 * qty where goods_id='0000000004925' and open_id='1040'; [详细] => 在 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.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.ExecuteScalar() 在 Db.DBContext.ExecuteScalar(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.GetAll(String oper_id, String supcust_no) 在 Api.SingOut.b2b.mina.shopcart.get_all() [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => get_all [入参] => ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 14:06:13 [错误信息] => 事务(进程 ID 77)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => update tr_shopcart set price='9.11000000',unit_no='斤',amount=9.11000000 * qty where goods_id='0000000005407' and open_id='1055';update tr_shopcart set price='1.00000000',unit_no='斤',amount=1.00000000 * qty where goods_id='0000000005737' and open_id='1055';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000005868' and open_id='1055';update tr_shopcart set price='4.40000000',unit_no='斤',amount=4.40000000 * qty where goods_id='0000000005862' and open_id='1055';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000005830' and open_id='1055';update tr_shopcart set price='2.10000000',unit_no='斤',amount=2.10000000 * qty where goods_id='0000000005845' and open_id='1055';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000005772' and open_id='1055';update tr_shopcart set price='3.40000000',unit_no='斤',amount=3.40000000 * qty where goods_id='0000000005713' and open_id='1055';update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000004729' and open_id='1055';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000004730' and open_id='1055';update tr_shopcart set price='3.12000000',unit_no='个',amount=3.12000000 * qty where goods_id='0000000005429' and open_id='1055';update tr_shopcart set price='9.38000000',unit_no='斤',amount=9.38000000 * qty where goods_id='0000000005494' and open_id='1055';update tr_shopcart set price='5.00000000',unit_no='斤',amount=5.00000000 * qty where goods_id='0000000005498' and open_id='1055';update tr_shopcart set price='11.00000000',unit_no='斤',amount=11.00000000 * qty where goods_id='0000000004715' and open_id='1055';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000004755' and open_id='1055';update tr_shopcart set price='5.50000000',unit_no='斤',amount=5.50000000 * qty where goods_id='0000000005692' and open_id='1055';update tr_shopcart set price='7.50000000',unit_no='斤',amount=7.50000000 * qty where goods_id='0000000005793' and open_id='1055';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005749' and open_id='1055';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005741' and open_id='1055';update tr_shopcart set price='4.50000000',unit_no='斤',amount=4.50000000 * qty where goods_id='0000000005864' and open_id='1055';update tr_shopcart set price='3.80000000',unit_no='斤',amount=3.80000000 * qty where goods_id='0000000005861' and open_id='1055';update tr_shopcart set price='3.40000000',unit_no='包',amount=3.40000000 * qty where goods_id='0000000005776' and open_id='1055';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005778' and open_id='1055';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005771' and open_id='1055';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000027' and open_id='1055';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000028' and open_id='1055';update tr_shopcart set price='5.30000000',unit_no='斤',amount=5.30000000 * qty where goods_id='0000000004697' and open_id='1055';update tr_shopcart set price='3.80000000',unit_no='斤',amount=3.80000000 * qty where goods_id='0000000001377' and open_id='1055';update tr_shopcart set price='5.00000000',unit_no='斤',amount=5.00000000 * qty where goods_id='0000000001258' and open_id='1055';update tr_shopcart set price='5.70000000',unit_no='斤',amount=5.70000000 * qty where goods_id='0000000005822' and open_id='1055';update tr_shopcart set price='1.88000000',unit_no='斤',amount=1.88000000 * qty where goods_id='0000000005488' and open_id='1055';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005485' and open_id='1055';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005483' and open_id='1055';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005482' and open_id='1055';update tr_shopcart set price='2.25000000',unit_no='斤',amount=2.25000000 * qty where goods_id='0000000005423' and open_id='1055';update tr_shopcart set price='22.00000000',unit_no='板',amount=22.00000000 * qty where goods_id='0000000005432' and open_id='1055';update tr_shopcart set price='5.00000000',unit_no='斤',amount=5.00000000 * qty where goods_id='0000000005501' and open_id='1055';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000004720' and open_id='1055';update tr_shopcart set price='7.50000000',unit_no='斤',amount=7.50000000 * qty where goods_id='0000000005756' and open_id='1055';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000005757' and open_id='1055';update tr_shopcart set price='6.00000000',unit_no='斤',amount=6.00000000 * qty where goods_id='0000000005759' and open_id='1055';update tr_shopcart set price='1.80000000',unit_no='斤',amount=1.80000000 * qty where goods_id='0000000005762' and open_id='1055';update tr_shopcart set price='6.50000000',unit_no='斤',amount=6.50000000 * qty where goods_id='0000000005763' and open_id='1055';update tr_shopcart set price='4.90000000',unit_no='斤',amount=4.90000000 * qty where goods_id='0000000005765' and open_id='1055';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005766' and open_id='1055';update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000005769' and open_id='1055';update tr_shopcart set price='5.75000000',unit_no='斤',amount=5.75000000 * qty where goods_id='0000000005807' and open_id='1055';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005810' and open_id='1055';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000004776' and open_id='1055';update tr_shopcart set price='8.50000000',unit_no='斤',amount=8.50000000 * qty where goods_id='0000000001117' and open_id='1055';update tr_shopcart set price='8.80000000',unit_no='斤',amount=8.80000000 * qty where goods_id='0000000001123' and open_id='1055';update tr_shopcart set price='7.00000000',unit_no='斤',amount=7.00000000 * qty where goods_id='0000000001570' and open_id='1055';update tr_shopcart set price='9.00000000',unit_no='斤',amount=9.00000000 * qty where goods_id='0000000001637' and open_id='1055';update tr_shopcart set price='3.40000000',unit_no='斤',amount=3.40000000 * qty where goods_id='0000000004235' and open_id='1055'; [详细] => 在 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.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.ExecuteScalar() 在 Db.DBContext.ExecuteScalar(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.GetAll(String oper_id, String supcust_no) 在 Api.SingOut.b2b.mina.shopcart.get_all() [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => get_all [入参] => ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 14:06:13 [错误信息] => 事务(进程 ID 66)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005855' and open_id='1040';update tr_shopcart set price='12.00000000',unit_no='斤',amount=12.00000000 * qty where goods_id='0000000005921' and open_id='1040';update tr_shopcart set price='13.00000000',unit_no='斤',amount=13.00000000 * qty where goods_id='0000000005947' and open_id='1040';update tr_shopcart set price='24.50000000',unit_no='斤',amount=24.50000000 * qty where goods_id='0000000005949' and open_id='1040';update tr_shopcart set price='49.50000000',unit_no='斤',amount=49.50000000 * qty where goods_id='0000000005896' and open_id='1040';update tr_shopcart set price='15.10000000',unit_no='斤',amount=15.10000000 * qty where goods_id='0000000000832' and open_id='1040';update tr_shopcart set price='11.50000000',unit_no='斤',amount=11.50000000 * qty where goods_id='0000000005939' and open_id='1040';update tr_shopcart set price='5.80000000',unit_no='斤',amount=5.80000000 * qty where goods_id='0000000004758' and open_id='1040';update tr_shopcart set price='2.25000000',unit_no='斤',amount=2.25000000 * qty where goods_id='0000000005423' and open_id='1040';update tr_shopcart set price='6.25000000',unit_no='斤',amount=6.25000000 * qty where goods_id='0000000005493' and open_id='1040';update tr_shopcart set price='7.50000000',unit_no='斤',amount=7.50000000 * qty where goods_id='0000000005756' and open_id='1040';update tr_shopcart set price='5.70000000',unit_no='斤',amount=5.70000000 * qty where goods_id='0000000005822' and open_id='1040';update tr_shopcart set price='5.75000000',unit_no='斤',amount=5.75000000 * qty where goods_id='0000000005807' and open_id='1040';update tr_shopcart set price='155.00000000',unit_no='斤',amount=155.00000000 * qty where goods_id='0000000004925' and open_id='1040'; [详细] => 在 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.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.ExecuteScalar() 在 Db.DBContext.ExecuteScalar(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.GetAll(String oper_id, String supcust_no) 在 Api.SingOut.b2b.mina.shopcart.get_all() [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => get_all [入参] => ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 14:06:13 [错误信息] => 事务(进程 ID 73)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => update tr_shopcart set price='9.11000000',unit_no='斤',amount=9.11000000 * qty where goods_id='0000000005407' and open_id='1055';update tr_shopcart set price='1.00000000',unit_no='斤',amount=1.00000000 * qty where goods_id='0000000005737' and open_id='1055';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000005868' and open_id='1055';update tr_shopcart set price='4.40000000',unit_no='斤',amount=4.40000000 * qty where goods_id='0000000005862' and open_id='1055';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000005830' and open_id='1055';update tr_shopcart set price='2.10000000',unit_no='斤',amount=2.10000000 * qty where goods_id='0000000005845' and open_id='1055';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000005772' and open_id='1055';update tr_shopcart set price='3.40000000',unit_no='斤',amount=3.40000000 * qty where goods_id='0000000005713' and open_id='1055';update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000004729' and open_id='1055';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000004730' and open_id='1055';update tr_shopcart set price='3.12000000',unit_no='个',amount=3.12000000 * qty where goods_id='0000000005429' and open_id='1055';update tr_shopcart set price='9.38000000',unit_no='斤',amount=9.38000000 * qty where goods_id='0000000005494' and open_id='1055';update tr_shopcart set price='5.00000000',unit_no='斤',amount=5.00000000 * qty where goods_id='0000000005498' and open_id='1055';update tr_shopcart set price='11.00000000',unit_no='斤',amount=11.00000000 * qty where goods_id='0000000004715' and open_id='1055';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000004755' and open_id='1055';update tr_shopcart set price='5.50000000',unit_no='斤',amount=5.50000000 * qty where goods_id='0000000005692' and open_id='1055';update tr_shopcart set price='7.50000000',unit_no='斤',amount=7.50000000 * qty where goods_id='0000000005793' and open_id='1055';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005749' and open_id='1055';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005741' and open_id='1055';update tr_shopcart set price='4.50000000',unit_no='斤',amount=4.50000000 * qty where goods_id='0000000005864' and open_id='1055';update tr_shopcart set price='3.80000000',unit_no='斤',amount=3.80000000 * qty where goods_id='0000000005861' and open_id='1055';update tr_shopcart set price='3.40000000',unit_no='包',amount=3.40000000 * qty where goods_id='0000000005776' and open_id='1055';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005778' and open_id='1055';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005771' and open_id='1055';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000027' and open_id='1055';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000028' and open_id='1055';update tr_shopcart set price='5.30000000',unit_no='斤',amount=5.30000000 * qty where goods_id='0000000004697' and open_id='1055';update tr_shopcart set price='3.80000000',unit_no='斤',amount=3.80000000 * qty where goods_id='0000000001377' and open_id='1055';update tr_shopcart set price='5.00000000',unit_no='斤',amount=5.00000000 * qty where goods_id='0000000001258' and open_id='1055';update tr_shopcart set price='5.70000000',unit_no='斤',amount=5.70000000 * qty where goods_id='0000000005822' and open_id='1055';update tr_shopcart set price='1.88000000',unit_no='斤',amount=1.88000000 * qty where goods_id='0000000005488' and open_id='1055';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005485' and open_id='1055';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005483' and open_id='1055';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005482' and open_id='1055';update tr_shopcart set price='2.25000000',unit_no='斤',amount=2.25000000 * qty where goods_id='0000000005423' and open_id='1055';update tr_shopcart set price='22.00000000',unit_no='板',amount=22.00000000 * qty where goods_id='0000000005432' and open_id='1055';update tr_shopcart set price='5.00000000',unit_no='斤',amount=5.00000000 * qty where goods_id='0000000005501' and open_id='1055';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000004720' and open_id='1055';update tr_shopcart set price='7.50000000',unit_no='斤',amount=7.50000000 * qty where goods_id='0000000005756' and open_id='1055';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000005757' and open_id='1055';update tr_shopcart set price='6.00000000',unit_no='斤',amount=6.00000000 * qty where goods_id='0000000005759' and open_id='1055';update tr_shopcart set price='1.80000000',unit_no='斤',amount=1.80000000 * qty where goods_id='0000000005762' and open_id='1055';update tr_shopcart set price='6.50000000',unit_no='斤',amount=6.50000000 * qty where goods_id='0000000005763' and open_id='1055';update tr_shopcart set price='4.90000000',unit_no='斤',amount=4.90000000 * qty where goods_id='0000000005765' and open_id='1055';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005766' and open_id='1055';update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000005769' and open_id='1055';update tr_shopcart set price='5.75000000',unit_no='斤',amount=5.75000000 * qty where goods_id='0000000005807' and open_id='1055';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005810' and open_id='1055';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000004776' and open_id='1055';update tr_shopcart set price='8.50000000',unit_no='斤',amount=8.50000000 * qty where goods_id='0000000001117' and open_id='1055';update tr_shopcart set price='8.80000000',unit_no='斤',amount=8.80000000 * qty where goods_id='0000000001123' and open_id='1055';update tr_shopcart set price='7.00000000',unit_no='斤',amount=7.00000000 * qty where goods_id='0000000001570' and open_id='1055';update tr_shopcart set price='9.00000000',unit_no='斤',amount=9.00000000 * qty where goods_id='0000000001637' and open_id='1055';update tr_shopcart set price='3.40000000',unit_no='斤',amount=3.40000000 * qty where goods_id='0000000004235' and open_id='1055'; [详细] => 在 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.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.ExecuteScalar() 在 Db.DBContext.ExecuteScalar(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.GetAll(String oper_id, String supcust_no) 在 Api.SingOut.b2b.mina.shopcart.get_all() [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => get_all [入参] => ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 14:06:13 [错误信息] => 事务(进程 ID 69)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => update tr_shopcart set price='2.70000000',unit_no='斤',amount=2.70000000 * qty where goods_id='0000000001749' and open_id='1047';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000004730' and open_id='1047';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000004769' and open_id='1047';update tr_shopcart set price='11.00000000',unit_no='斤',amount=11.00000000 * qty where goods_id='0000000004715' and open_id='1047';update tr_shopcart set price='5.80000000',unit_no='斤',amount=5.80000000 * qty where goods_id='0000000004758' and open_id='1047';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005751' and open_id='1047';update tr_shopcart set price='4.50000000',unit_no='斤',amount=4.50000000 * qty where goods_id='0000000005709' and open_id='1047';update tr_shopcart set price='8.00000000',unit_no='包',amount=8.00000000 * qty where goods_id='0000000005702' and open_id='1047';update tr_shopcart set price='3.60000000',unit_no='斤',amount=3.60000000 * qty where goods_id='0000000004684' and open_id='1047';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005766' and open_id='1047';update tr_shopcart set price='4.50000000',unit_no='包',amount=4.50000000 * qty where goods_id='0000000005715' and open_id='1047';update tr_shopcart set price='7.00000000',unit_no='斤',amount=7.00000000 * qty where goods_id='0000000005818' and open_id='1047';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005819' and open_id='1047';update tr_shopcart set price='24.50000000',unit_no='斤',amount=24.50000000 * qty where goods_id='0000000005949' and open_id='1047';update tr_shopcart set price='3.40000000',unit_no='斤',amount=3.40000000 * qty where goods_id='0000000005821' and open_id='1047';update tr_shopcart set price='6.00000000',unit_no='斤',amount=6.00000000 * qty where goods_id='0000000005823' and open_id='1047';update tr_shopcart set price='1.87000000',unit_no='斤',amount=1.87000000 * qty where goods_id='0000000005826' and open_id='1047';update tr_shopcart set price='1.10000000',unit_no='斤',amount=1.10000000 * qty where goods_id='0000000005827' and open_id='1047';update tr_shopcart set price='4.90000000',unit_no='斤',amount=4.90000000 * qty where goods_id='0000000005765' and open_id='1047';update tr_shopcart set price='5.50000000',unit_no='盒',amount=5.50000000 * qty where goods_id='0000000005721' and open_id='1047';update tr_shopcart set price='14.30000000',unit_no='斤',amount=14.30000000 * qty where goods_id='0000000005909' and open_id='1047';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005741' and open_id='1047';update tr_shopcart set price='6.50000000',unit_no='斤',amount=6.50000000 * qty where goods_id='0000000004725' and open_id='1047';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000004755' and open_id='1047';update tr_shopcart set price='13.50000000',unit_no='斤',amount=13.50000000 * qty where goods_id='0000000005932' and open_id='1047';update tr_shopcart set price='13.00000000',unit_no='斤',amount=13.00000000 * qty where goods_id='0000000005947' and open_id='1047';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000004698' and open_id='1047';update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000004729' and open_id='1047';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005778' and open_id='1047';update tr_shopcart set price='18.00000000',unit_no='斤',amount=18.00000000 * qty where goods_id='0000000000025' and open_id='1047';update tr_shopcart set price='2.20000000',unit_no='斤',amount=2.20000000 * qty where goods_id='0000000004780' and open_id='1047';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000005838' and open_id='1047';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000028' and open_id='1047';update tr_shopcart set price='16.50000000',unit_no='斤',amount=16.50000000 * qty where goods_id='0000000004700' and open_id='1047';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005750' and open_id='1047';update tr_shopcart set price='1.70000000',unit_no='斤',amount=1.70000000 * qty where goods_id='0000000005752' and open_id='1047';update tr_shopcart set price='2.00000000',unit_no='斤',amount=2.00000000 * qty where goods_id='0000000005753' and open_id='1047';update tr_shopcart set price='49.50000000',unit_no='斤',amount=49.50000000 * qty where goods_id='0000000005896' and open_id='1047';update tr_shopcart set price='14.00000000',unit_no='斤',amount=14.00000000 * qty where goods_id='0000000005013' and open_id='1047';update tr_shopcart set price='28.00000000',unit_no='斤',amount=28.00000000 * qty where goods_id='0000000005906' and open_id='1047';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000005830' and open_id='1047';update tr_shopcart set price='3.90000000',unit_no='盒',amount=3.90000000 * qty where goods_id='0000000005723' and open_id='1047';update tr_shopcart set price='5.00000000',unit_no='盒',amount=5.00000000 * qty where goods_id='0000000005727' and open_id='1047';update tr_shopcart set price='16.00000000',unit_no='斤',amount=16.00000000 * qty where goods_id='0000000004643' and open_id='1047';update tr_shopcart set price='2.25000000',unit_no='斤',amount=2.25000000 * qty where goods_id='0000000005423' and open_id='1047';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005462' and open_id='1047';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005483' and open_id='1047';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005484' and open_id='1047';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005485' and open_id='1047';update tr_shopcart set price='1.88000000',unit_no='斤',amount=1.88000000 * qty where goods_id='0000000005488' and open_id='1047';update tr_shopcart set price='6.25000000',unit_no='包',amount=6.25000000 * qty where goods_id='0000000001511' and open_id='1047';update tr_shopcart set price='5.00000000',unit_no='斤',amount=5.00000000 * qty where goods_id='0000000001510' and open_id='1047';update tr_shopcart set price='3.12000000',unit_no='个',amount=3.12000000 * qty where goods_id='0000000005429' and open_id='1047';update tr_shopcart set price='7.50000000',unit_no='斤',amount=7.50000000 * qty where goods_id='0000000005472' and open_id='1047';update tr_shopcart set price='3.30000000',unit_no='斤',amount=3.30000000 * qty where goods_id='0000000005798' and open_id='1047';update tr_shopcart set price='1.98000000',unit_no='包',amount=1.98000000 * qty where goods_id='0000000004683' and open_id='1047';update tr_shopcart set price='2.80000000',unit_no='斤',amount=2.80000000 * qty where goods_id='0000000005812' and open_id='1047';update tr_shopcart set price='5.70000000',unit_no='斤',amount=5.70000000 * qty where goods_id='0000000005822' and open_id='1047';update tr_shopcart set price='6.50000000',unit_no='斤',amount=6.50000000 * qty where goods_id='0000000005763' and open_id='1047';update tr_shopcart set price='7.40000000',unit_no='斤',amount=7.40000000 * qty where goods_id='0000000005767' and open_id='1047';update tr_shopcart set price='7.80000000',unit_no='斤',amount=7.80000000 * qty where goods_id='0000000005768' and open_id='1047';update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000005769' and open_id='1047';update tr_shopcart set price='5.75000000',unit_no='斤',amount=5.75000000 * qty where goods_id='0000000005807' and open_id='1047';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005810' and open_id='1047';update tr_shopcart set price='4.00000000',unit_no='盒',amount=4.00000000 * qty where goods_id='0000000000996' and open_id='1047';update tr_shopcart set price='3.80000000',unit_no='盒',amount=3.80000000 * qty where goods_id='0000000005717' and open_id='1047';update tr_shopcart set price='4.00000000',unit_no='盒',amount=4.00000000 * qty where goods_id='0000000005722' and open_id='1047';update tr_shopcart set price='4.70000000',unit_no='斤',amount=4.70000000 * qty where goods_id='0000000005839' and open_id='1047';update tr_shopcart set price='4.60000000',unit_no='斤',amount=4.60000000 * qty where goods_id='0000000005747' and open_id='1047';update tr_shopcart set price='8.80000000',unit_no='斤',amount=8.80000000 * qty where goods_id='0000000005012' and open_id='1047';update tr_shopcart set price='3.40000000',unit_no='包',amount=3.40000000 * qty where goods_id='0000000005725' and open_id='1047';update tr_shopcart set price='3.90000000',unit_no='盒',amount=3.90000000 * qty where goods_id='0000000005726' and open_id='1047';update tr_shopcart set price='1.88000000',unit_no='斤',amount=1.88000000 * qty where goods_id='0000000005464' and open_id='1047';update tr_shopcart set price='13.80000000',unit_no='斤',amount=13.80000000 * qty where goods_id='0000000005015' and open_id='1047';update tr_shopcart set price='13.80000000',unit_no='斤',amount=13.80000000 * qty where goods_id='0000000005873' and open_id='1047';update tr_shopcart set price='1.88000000',unit_no='斤',amount=1.88000000 * qty where goods_id='0000000005478' and open_id='1047';update tr_shopcart set price='22.00000000',unit_no='斤',amount=22.00000000 * qty where goods_id='0000000005905' and open_id='1047';update tr_shopcart set price='14.50000000',unit_no='斤',amount=14.50000000 * qty where goods_id='0000000005907' and open_id='1047';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005482' and open_id='1047';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005487' and open_id='1047';update tr_shopcart set price='6.25000000',unit_no='板',amount=6.25000000 * qty where goods_id='0000000005431' and open_id='1047';update tr_shopcart set price='0.62000000',unit_no='条',amount=0.62000000 * qty where goods_id='0000000005457' and open_id='1047';update tr_shopcart set price='9.80000000',unit_no='斤',amount=9.80000000 * qty where goods_id='0000000005473' and open_id='1047';update tr_shopcart set price='6.25000000',unit_no='斤',amount=6.25000000 * qty where goods_id='0000000005493' and open_id='1047';update tr_shopcart set price='3.75000000',unit_no='斤',amount=3.75000000 * qty where goods_id='0000000005500' and open_id='1047';update tr_shopcart set price='11.50000000',unit_no='斤',amount=11.50000000 * qty where goods_id='0000000005832' and open_id='1047';update tr_shopcart set price='5.60000000',unit_no='斤',amount=5.60000000 * qty where goods_id='0000000005847' and open_id='1047';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005859' and open_id='1047';update tr_shopcart set price='4.40000000',unit_no='斤',amount=4.40000000 * qty where goods_id='0000000005862' and open_id='1047';update tr_shopcart set price='2.20000000',unit_no='斤',amount=2.20000000 * qty where goods_id='0000000001746' and open_id='1047';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000005868' and open_id='1047';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000005772' and open_id='1047';update tr_shopcart set price='8.20000000',unit_no='斤',amount=8.20000000 * qty where goods_id='0000000005712' and open_id='1047';update tr_shopcart set price='3.40000000',unit_no='斤',amount=3.40000000 * qty where goods_id='0000000005713' and open_id='1047';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005773' and open_id='1047';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005775' and open_id='1047';update tr_shopcart set price='4.20000000',unit_no='盒',amount=4.20000000 * qty where goods_id='0000000005728' and open_id='1047';update tr_shopcart set price='2.00000000',unit_no='盒',amount=2.00000000 * qty where goods_id='0000000005730' and open_id='1047';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000005840' and open_id='1047';update tr_shopcart set price='2.70000000',unit_no='斤',amount=2.70000000 * qty where goods_id='0000000005843' and open_id='1047';update tr_shopcart set price='3.70000000',unit_no='斤',amount=3.70000000 * qty where goods_id='0000000005846' and open_id='1047';update tr_shopcart set price='3.80000000',unit_no='斤',amount=3.80000000 * qty where goods_id='0000000005861' and open_id='1047';update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000005863' and open_id='1047';update tr_shopcart set price='4.50000000',unit_no='斤',amount=4.50000000 * qty where goods_id='0000000005864' and open_id='1047';update tr_shopcart set price='17.00000000',unit_no='斤',amount=17.00000000 * qty where goods_id='0000000005644' and open_id='1047';update tr_shopcart set price='20.30000000',unit_no='斤',amount=20.30000000 * qty where goods_id='0000000004652' and open_id='1047';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000027' and open_id='1047';update tr_shopcart set price='6.60000000',unit_no='斤',amount=6.60000000 * qty where goods_id='0000000005785' and open_id='1047';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005790' and open_id='1047';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000005791' and open_id='1047';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005796' and open_id='1047';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005797' and open_id='1047';update tr_shopcart set price='3.40000000',unit_no='包',amount=3.40000000 * qty where goods_id='0000000005776' and open_id='1047';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000000965' and open_id='1047';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000000964' and open_id='1047';update tr_shopcart set price='5.50000000',unit_no='斤',amount=5.50000000 * qty where goods_id='0000000001276' and open_id='1047';update tr_shopcart set price='2.60000000',unit_no='斤',amount=2.60000000 * qty where goods_id='0000000005733' and open_id='1047';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000005736' and open_id='1047';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005745' and open_id='1047';update tr_shopcart set price='5.60000000',unit_no='斤',amount=5.60000000 * qty where goods_id='0000000005748' and open_id='1047';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005749' and open_id='1047'; [详细] => 在 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.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.ExecuteScalar() 在 Db.DBContext.ExecuteScalar(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.GetAll(String oper_id, String supcust_no) 在 Api.SingOut.b2b.mina.shopcart.get_all() [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => get_all [入参] => ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 14:06:19 [错误信息] => 事务(进程 ID 85)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => update tr_shopcart set price='9.11000000',unit_no='斤',amount=9.11000000 * qty where goods_id='0000000005407' and open_id='1055';update tr_shopcart set price='1.00000000',unit_no='斤',amount=1.00000000 * qty where goods_id='0000000005737' and open_id='1055';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000005868' and open_id='1055';update tr_shopcart set price='4.40000000',unit_no='斤',amount=4.40000000 * qty where goods_id='0000000005862' and open_id='1055';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000005830' and open_id='1055';update tr_shopcart set price='2.10000000',unit_no='斤',amount=2.10000000 * qty where goods_id='0000000005845' and open_id='1055';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000005772' and open_id='1055';update tr_shopcart set price='3.40000000',unit_no='斤',amount=3.40000000 * qty where goods_id='0000000005713' and open_id='1055';update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000004729' and open_id='1055';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000004730' and open_id='1055';update tr_shopcart set price='3.12000000',unit_no='个',amount=3.12000000 * qty where goods_id='0000000005429' and open_id='1055';update tr_shopcart set price='9.38000000',unit_no='斤',amount=9.38000000 * qty where goods_id='0000000005494' and open_id='1055';update tr_shopcart set price='5.00000000',unit_no='斤',amount=5.00000000 * qty where goods_id='0000000005498' and open_id='1055';update tr_shopcart set price='11.00000000',unit_no='斤',amount=11.00000000 * qty where goods_id='0000000004715' and open_id='1055';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000004755' and open_id='1055';update tr_shopcart set price='5.50000000',unit_no='斤',amount=5.50000000 * qty where goods_id='0000000005692' and open_id='1055';update tr_shopcart set price='7.50000000',unit_no='斤',amount=7.50000000 * qty where goods_id='0000000005793' and open_id='1055';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005749' and open_id='1055';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005741' and open_id='1055';update tr_shopcart set price='4.50000000',unit_no='斤',amount=4.50000000 * qty where goods_id='0000000005864' and open_id='1055';update tr_shopcart set price='3.80000000',unit_no='斤',amount=3.80000000 * qty where goods_id='0000000005861' and open_id='1055';update tr_shopcart set price='3.40000000',unit_no='包',amount=3.40000000 * qty where goods_id='0000000005776' and open_id='1055';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005778' and open_id='1055';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005771' and open_id='1055';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000027' and open_id='1055';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000028' and open_id='1055';update tr_shopcart set price='5.30000000',unit_no='斤',amount=5.30000000 * qty where goods_id='0000000004697' and open_id='1055';update tr_shopcart set price='3.80000000',unit_no='斤',amount=3.80000000 * qty where goods_id='0000000001377' and open_id='1055';update tr_shopcart set price='5.00000000',unit_no='斤',amount=5.00000000 * qty where goods_id='0000000001258' and open_id='1055';update tr_shopcart set price='5.70000000',unit_no='斤',amount=5.70000000 * qty where goods_id='0000000005822' and open_id='1055';update tr_shopcart set price='1.88000000',unit_no='斤',amount=1.88000000 * qty where goods_id='0000000005488' and open_id='1055';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005485' and open_id='1055';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005483' and open_id='1055';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005482' and open_id='1055';update tr_shopcart set price='2.25000000',unit_no='斤',amount=2.25000000 * qty where goods_id='0000000005423' and open_id='1055';update tr_shopcart set price='22.00000000',unit_no='板',amount=22.00000000 * qty where goods_id='0000000005432' and open_id='1055';update tr_shopcart set price='5.00000000',unit_no='斤',amount=5.00000000 * qty where goods_id='0000000005501' and open_id='1055';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000004720' and open_id='1055';update tr_shopcart set price='7.50000000',unit_no='斤',amount=7.50000000 * qty where goods_id='0000000005756' and open_id='1055';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000005757' and open_id='1055';update tr_shopcart set price='6.00000000',unit_no='斤',amount=6.00000000 * qty where goods_id='0000000005759' and open_id='1055';update tr_shopcart set price='1.80000000',unit_no='斤',amount=1.80000000 * qty where goods_id='0000000005762' and open_id='1055';update tr_shopcart set price='6.50000000',unit_no='斤',amount=6.50000000 * qty where goods_id='0000000005763' and open_id='1055';update tr_shopcart set price='4.90000000',unit_no='斤',amount=4.90000000 * qty where goods_id='0000000005765' and open_id='1055';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005766' and open_id='1055';update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000005769' and open_id='1055';update tr_shopcart set price='5.75000000',unit_no='斤',amount=5.75000000 * qty where goods_id='0000000005807' and open_id='1055';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005810' and open_id='1055';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000004776' and open_id='1055';update tr_shopcart set price='8.50000000',unit_no='斤',amount=8.50000000 * qty where goods_id='0000000001117' and open_id='1055';update tr_shopcart set price='8.80000000',unit_no='斤',amount=8.80000000 * qty where goods_id='0000000001123' and open_id='1055';update tr_shopcart set price='7.00000000',unit_no='斤',amount=7.00000000 * qty where goods_id='0000000001570' and open_id='1055';update tr_shopcart set price='9.00000000',unit_no='斤',amount=9.00000000 * qty where goods_id='0000000001637' and open_id='1055';update tr_shopcart set price='3.40000000',unit_no='斤',amount=3.40000000 * qty where goods_id='0000000004235' and open_id='1055'; [详细] => 在 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.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.ExecuteScalar() 在 Db.DBContext.ExecuteScalar(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.GetAll(String oper_id, String supcust_no) 在 Api.SingOut.b2b.mina.shopcart.get_all() [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => get_all [入参] => ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 14:06:24 [错误信息] => 事务(进程 ID 81)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => update tr_shopcart set price='4.60000000',unit_no='斤',amount=4.60000000 * qty where goods_id='0000000005747' and open_id='1113';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005749' and open_id='1113';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005750' and open_id='1113';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000004698' and open_id='1113';update tr_shopcart set price='14.50000000',unit_no='斤',amount=14.50000000 * qty where goods_id='0000000000055' and open_id='1113';update tr_shopcart set price='13.00000000',unit_no='斤',amount=13.00000000 * qty where goods_id='0000000005929' and open_id='1113';update tr_shopcart set price='28.00000000',unit_no='斤',amount=28.00000000 * qty where goods_id='0000000005906' and open_id='1113';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005751' and open_id='1113';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005796' and open_id='1113';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005799' and open_id='1113';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005808' and open_id='1113';update tr_shopcart set price='2.70000000',unit_no='斤',amount=2.70000000 * qty where goods_id='0000000005803' and open_id='1113';update tr_shopcart set price='4.60000000',unit_no='斤',amount=4.60000000 * qty where goods_id='0000000000871' and open_id='1113';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000005840' and open_id='1113';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005859' and open_id='1113';update tr_shopcart set price='2.00000000',unit_no='斤',amount=2.00000000 * qty where goods_id='0000000005871' and open_id='1113';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000001290' and open_id='1113';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000005772' and open_id='1113';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005773' and open_id='1113';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000005777' and open_id='1113';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000028' and open_id='1113';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000000964' and open_id='1113';update tr_shopcart set price='4.30000000',unit_no='斤',amount=4.30000000 * qty where goods_id='0000000001278' and open_id='1113';update tr_shopcart set price='3.10000000',unit_no='斤',amount=3.10000000 * qty where goods_id='0000000004779' and open_id='1113';update tr_shopcart set price='4.50000000',unit_no='斤',amount=4.50000000 * qty where goods_id='0000000005709' and open_id='1113';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005731' and open_id='1113';update tr_shopcart set price='13.80000000',unit_no='斤',amount=13.80000000 * qty where goods_id='0000000005015' and open_id='1113';update tr_shopcart set price='14.50000000',unit_no='斤',amount=14.50000000 * qty where goods_id='0000000005907' and open_id='1113';update tr_shopcart set price='2.80000000',unit_no='斤',amount=2.80000000 * qty where goods_id='0000000005812' and open_id='1113';update tr_shopcart set price='2.20000000',unit_no='斤',amount=2.20000000 * qty where goods_id='0000000005813' and open_id='1113';update tr_shopcart set price='2.00000000',unit_no='斤',amount=2.00000000 * qty where goods_id='0000000005814' and open_id='1113';update tr_shopcart set price='1.80000000',unit_no='斤',amount=1.80000000 * qty where goods_id='0000000005774' and open_id='1113';update tr_shopcart set price='3.40000000',unit_no='包',amount=3.40000000 * qty where goods_id='0000000005776' and open_id='1113';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005778' and open_id='1113';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000027' and open_id='1113';update tr_shopcart set price='2.80000000',unit_no='斤',amount=2.80000000 * qty where goods_id='0000000005732' and open_id='1113';update tr_shopcart set price='5.60000000',unit_no='斤',amount=5.60000000 * qty where goods_id='0000000005847' and open_id='1113';update tr_shopcart set price='3.70000000',unit_no='斤',amount=3.70000000 * qty where goods_id='0000000005846' and open_id='1113';update tr_shopcart set price='1.90000000',unit_no='斤',amount=1.90000000 * qty where goods_id='0000000000924' and open_id='1113';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005741' and open_id='1113';update tr_shopcart set price='21.50000000',unit_no='斤',amount=21.50000000 * qty where goods_id='0000000005917' and open_id='1113';update tr_shopcart set price='7.00000000',unit_no='斤',amount=7.00000000 * qty where goods_id='0000000005922' and open_id='1113'; [详细] => 在 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.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.ExecuteScalar() 在 Db.DBContext.ExecuteScalar(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.GetAll(String oper_id, String supcust_no) 在 Api.SingOut.b2b.mina.shopcart.get_all() [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => get_all [入参] => ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 14:06:27 [错误信息] => 事务(进程 ID 75)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => update tr_shopcart set qty=qty+1,amount=amount+2.00000000 where goods_id='0000000005814' and open_id='1113' [详细] => 在 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.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.ExecuteScalar() 在 Db.DBContext.ExecuteScalar(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.AddQtyOne(tr_shopcart shopcart, Decimal& count, String oper_id, String cus_level, Int32 merId) 在 Api.SingOut.b2b.mina.shopcart.add_qty_one(String goods_id) [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => add_qty_one [入参] => {"goods_id":"0000000005814"} ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 14:06:27 [错误信息] => 事务(进程 ID 67)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => update tr_shopcart set price='9.11000000',unit_no='斤',amount=9.11000000 * qty where goods_id='0000000005407' and open_id='1055';update tr_shopcart set price='1.00000000',unit_no='斤',amount=1.00000000 * qty where goods_id='0000000005737' and open_id='1055';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000005868' and open_id='1055';update tr_shopcart set price='4.40000000',unit_no='斤',amount=4.40000000 * qty where goods_id='0000000005862' and open_id='1055';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000005830' and open_id='1055';update tr_shopcart set price='2.10000000',unit_no='斤',amount=2.10000000 * qty where goods_id='0000000005845' and open_id='1055';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000005772' and open_id='1055';update tr_shopcart set price='3.40000000',unit_no='斤',amount=3.40000000 * qty where goods_id='0000000005713' and open_id='1055';update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000004729' and open_id='1055';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000004730' and open_id='1055';update tr_shopcart set price='3.12000000',unit_no='个',amount=3.12000000 * qty where goods_id='0000000005429' and open_id='1055';update tr_shopcart set price='9.38000000',unit_no='斤',amount=9.38000000 * qty where goods_id='0000000005494' and open_id='1055';update tr_shopcart set price='5.00000000',unit_no='斤',amount=5.00000000 * qty where goods_id='0000000005498' and open_id='1055';update tr_shopcart set price='11.00000000',unit_no='斤',amount=11.00000000 * qty where goods_id='0000000004715' and open_id='1055';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000004755' and open_id='1055';update tr_shopcart set price='5.50000000',unit_no='斤',amount=5.50000000 * qty where goods_id='0000000005692' and open_id='1055';update tr_shopcart set price='7.50000000',unit_no='斤',amount=7.50000000 * qty where goods_id='0000000005793' and open_id='1055';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005749' and open_id='1055';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005741' and open_id='1055';update tr_shopcart set price='4.50000000',unit_no='斤',amount=4.50000000 * qty where goods_id='0000000005864' and open_id='1055';update tr_shopcart set price='3.80000000',unit_no='斤',amount=3.80000000 * qty where goods_id='0000000005861' and open_id='1055';update tr_shopcart set price='3.40000000',unit_no='包',amount=3.40000000 * qty where goods_id='0000000005776' and open_id='1055';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005778' and open_id='1055';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005771' and open_id='1055';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000027' and open_id='1055';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000028' and open_id='1055';update tr_shopcart set price='5.30000000',unit_no='斤',amount=5.30000000 * qty where goods_id='0000000004697' and open_id='1055';update tr_shopcart set price='3.80000000',unit_no='斤',amount=3.80000000 * qty where goods_id='0000000001377' and open_id='1055';update tr_shopcart set price='5.00000000',unit_no='斤',amount=5.00000000 * qty where goods_id='0000000001258' and open_id='1055';update tr_shopcart set price='5.70000000',unit_no='斤',amount=5.70000000 * qty where goods_id='0000000005822' and open_id='1055';update tr_shopcart set price='1.88000000',unit_no='斤',amount=1.88000000 * qty where goods_id='0000000005488' and open_id='1055';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005485' and open_id='1055';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005483' and open_id='1055';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005482' and open_id='1055';update tr_shopcart set price='2.25000000',unit_no='斤',amount=2.25000000 * qty where goods_id='0000000005423' and open_id='1055';update tr_shopcart set price='22.00000000',unit_no='板',amount=22.00000000 * qty where goods_id='0000000005432' and open_id='1055';update tr_shopcart set price='5.00000000',unit_no='斤',amount=5.00000000 * qty where goods_id='0000000005501' and open_id='1055';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000004720' and open_id='1055';update tr_shopcart set price='7.50000000',unit_no='斤',amount=7.50000000 * qty where goods_id='0000000005756' and open_id='1055';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000005757' and open_id='1055';update tr_shopcart set price='6.00000000',unit_no='斤',amount=6.00000000 * qty where goods_id='0000000005759' and open_id='1055';update tr_shopcart set price='1.80000000',unit_no='斤',amount=1.80000000 * qty where goods_id='0000000005762' and open_id='1055';update tr_shopcart set price='6.50000000',unit_no='斤',amount=6.50000000 * qty where goods_id='0000000005763' and open_id='1055';update tr_shopcart set price='4.90000000',unit_no='斤',amount=4.90000000 * qty where goods_id='0000000005765' and open_id='1055';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005766' and open_id='1055';update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000005769' and open_id='1055';update tr_shopcart set price='5.75000000',unit_no='斤',amount=5.75000000 * qty where goods_id='0000000005807' and open_id='1055';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005810' and open_id='1055';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000004776' and open_id='1055';update tr_shopcart set price='8.50000000',unit_no='斤',amount=8.50000000 * qty where goods_id='0000000001117' and open_id='1055';update tr_shopcart set price='8.80000000',unit_no='斤',amount=8.80000000 * qty where goods_id='0000000001123' and open_id='1055';update tr_shopcart set price='7.00000000',unit_no='斤',amount=7.00000000 * qty where goods_id='0000000001570' and open_id='1055';update tr_shopcart set price='9.00000000',unit_no='斤',amount=9.00000000 * qty where goods_id='0000000001637' and open_id='1055';update tr_shopcart set price='3.40000000',unit_no='斤',amount=3.40000000 * qty where goods_id='0000000004235' and open_id='1055'; [详细] => 在 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.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.ExecuteScalar() 在 Db.DBContext.ExecuteScalar(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.GetAll(String oper_id, String supcust_no) 在 Api.SingOut.b2b.mina.shopcart.get_all() [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => get_all [入参] => ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 14:06:32 [错误信息] => 事务(进程 ID 83)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000027' and open_id='1030';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000028' and open_id='1030';update tr_shopcart set price='5.70000000',unit_no='斤',amount=5.70000000 * qty where goods_id='0000000000031' and open_id='1030';update tr_shopcart set price='5.70000000',unit_no='斤',amount=5.70000000 * qty where goods_id='0000000000032' and open_id='1030';update tr_shopcart set price='2.20000000',unit_no='斤',amount=2.20000000 * qty where goods_id='0000000000660' and open_id='1030';update tr_shopcart set price='1.90000000',unit_no='斤',amount=1.90000000 * qty where goods_id='0000000000924' and open_id='1030';update tr_shopcart set price='4.00000000',unit_no='盒',amount=4.00000000 * qty where goods_id='0000000000996' and open_id='1030';update tr_shopcart set price='8.50000000',unit_no='斤',amount=8.50000000 * qty where goods_id='0000000001117' and open_id='1030';update tr_shopcart set price='8.80000000',unit_no='斤',amount=8.80000000 * qty where goods_id='0000000001123' and open_id='1030';update tr_shopcart set price='3.80000000',unit_no='斤',amount=3.80000000 * qty where goods_id='0000000001247' and open_id='1030';update tr_shopcart set price='5.00000000',unit_no='斤',amount=5.00000000 * qty where goods_id='0000000001258' and open_id='1030';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000001290' and open_id='1030';update tr_shopcart set price='5.00000000',unit_no='斤',amount=5.00000000 * qty where goods_id='0000000001510' and open_id='1030';update tr_shopcart set price='7.00000000',unit_no='斤',amount=7.00000000 * qty where goods_id='0000000001570' and open_id='1030';update tr_shopcart set price='2.20000000',unit_no='斤',amount=2.20000000 * qty where goods_id='0000000001746' and open_id='1030';update tr_shopcart set price='2.70000000',unit_no='斤',amount=2.70000000 * qty where goods_id='0000000001749' and open_id='1030';update tr_shopcart set price='1.98000000',unit_no='包',amount=1.98000000 * qty where goods_id='0000000004683' and open_id='1030';update tr_shopcart set price='3.40000000',unit_no='斤',amount=3.40000000 * qty where goods_id='0000000004688' and open_id='1030';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000004720' and open_id='1030';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000004744' and open_id='1030';update tr_shopcart set price='5.00000000',unit_no='斤',amount=5.00000000 * qty where goods_id='0000000004757' and open_id='1030';update tr_shopcart set price='7.70000000',unit_no='斤',amount=7.70000000 * qty where goods_id='0000000004761' and open_id='1030';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000004769' and open_id='1030';update tr_shopcart set price='5.60000000',unit_no='斤',amount=5.60000000 * qty where goods_id='0000000004772' and open_id='1030';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000004776' and open_id='1030';update tr_shopcart set price='0.62000000',unit_no='条',amount=0.62000000 * qty where goods_id='0000000005457' and open_id='1030';update tr_shopcart set price='7.50000000',unit_no='斤',amount=7.50000000 * qty where goods_id='0000000005472' and open_id='1030';update tr_shopcart set price='4.50000000',unit_no='斤',amount=4.50000000 * qty where goods_id='0000000005479' and open_id='1030';update tr_shopcart set price='6.25000000',unit_no='斤',amount=6.25000000 * qty where goods_id='0000000005493' and open_id='1030';update tr_shopcart set price='5.00000000',unit_no='斤',amount=5.00000000 * qty where goods_id='0000000005498' and open_id='1030';update tr_shopcart set price='3.75000000',unit_no='斤',amount=3.75000000 * qty where goods_id='0000000005499' and open_id='1030';update tr_shopcart set price='3.75000000',unit_no='斤',amount=3.75000000 * qty where goods_id='0000000005500' and open_id='1030';update tr_shopcart set price='5.00000000',unit_no='斤',amount=5.00000000 * qty where goods_id='0000000005501' and open_id='1030';update tr_shopcart set price='8.00000000',unit_no='包',amount=8.00000000 * qty where goods_id='0000000005702' and open_id='1030';update tr_shopcart set price='3.60000000',unit_no='斤',amount=3.60000000 * qty where goods_id='0000000005703' and open_id='1030';update tr_shopcart set price='4.30000000',unit_no='斤',amount=4.30000000 * qty where goods_id='0000000005708' and open_id='1030';update tr_shopcart set price='8.20000000',unit_no='斤',amount=8.20000000 * qty where goods_id='0000000005712' and open_id='1030';update tr_shopcart set price='3.40000000',unit_no='斤',amount=3.40000000 * qty where goods_id='0000000005713' and open_id='1030';update tr_shopcart set price='5.50000000',unit_no='盒',amount=5.50000000 * qty where goods_id='0000000005721' and open_id='1030';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000005736' and open_id='1030';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005745' and open_id='1030';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005746' and open_id='1030';update tr_shopcart set price='5.60000000',unit_no='斤',amount=5.60000000 * qty where goods_id='0000000005748' and open_id='1030';update tr_shopcart set price='5.10000000',unit_no='斤',amount=5.10000000 * qty where goods_id='0000000005754' and open_id='1030';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005755' and open_id='1030';update tr_shopcart set price='7.50000000',unit_no='斤',amount=7.50000000 * qty where goods_id='0000000005756' and open_id='1030';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000005757' and open_id='1030';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005758' and open_id='1030';update tr_shopcart set price='6.00000000',unit_no='斤',amount=6.00000000 * qty where goods_id='0000000005759' and open_id='1030';update tr_shopcart set price='6.50000000',unit_no='斤',amount=6.50000000 * qty where goods_id='0000000005763' and open_id='1030';update tr_shopcart set price='1.80000000',unit_no='斤',amount=1.80000000 * qty where goods_id='0000000005764' and open_id='1030';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005766' and open_id='1030';update tr_shopcart set price='7.40000000',unit_no='斤',amount=7.40000000 * qty where goods_id='0000000005767' and open_id='1030';update tr_shopcart set price='7.80000000',unit_no='斤',amount=7.80000000 * qty where goods_id='0000000005768' and open_id='1030';update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000005769' and open_id='1030';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000005772' and open_id='1030';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005773' and open_id='1030';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005775' and open_id='1030';update tr_shopcart set price='3.40000000',unit_no='包',amount=3.40000000 * qty where goods_id='0000000005776' and open_id='1030';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000005777' and open_id='1030';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005778' and open_id='1030';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000005782' and open_id='1030';update tr_shopcart set price='2.30000000',unit_no='斤',amount=2.30000000 * qty where goods_id='0000000005786' and open_id='1030';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000005791' and open_id='1030';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005799' and open_id='1030';update tr_shopcart set price='5.75000000',unit_no='斤',amount=5.75000000 * qty where goods_id='0000000005807' and open_id='1030';update tr_shopcart set price='2.20000000',unit_no='斤',amount=2.20000000 * qty where goods_id='0000000005809' and open_id='1030';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005810' and open_id='1030';update tr_shopcart set price='7.00000000',unit_no='斤',amount=7.00000000 * qty where goods_id='0000000005818' and open_id='1030';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005819' and open_id='1030';update tr_shopcart set price='5.70000000',unit_no='斤',amount=5.70000000 * qty where goods_id='0000000005822' and open_id='1030';update tr_shopcart set price='1.10000000',unit_no='斤',amount=1.10000000 * qty where goods_id='0000000005827' and open_id='1030';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000005830' and open_id='1030';update tr_shopcart set price='2.70000000',unit_no='斤',amount=2.70000000 * qty where goods_id='0000000005843' and open_id='1030';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005844' and open_id='1030';update tr_shopcart set price='2.10000000',unit_no='斤',amount=2.10000000 * qty where goods_id='0000000005845' and open_id='1030';update tr_shopcart set price='2.30000000',unit_no='斤',amount=2.30000000 * qty where goods_id='0000000005848' and open_id='1030';update tr_shopcart set price='3.80000000',unit_no='斤',amount=3.80000000 * qty where goods_id='0000000005861' and open_id='1030';update tr_shopcart set price='4.40000000',unit_no='斤',amount=4.40000000 * qty where goods_id='0000000005862' and open_id='1030';update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000005863' and open_id='1030';update tr_shopcart set price='4.50000000',unit_no='斤',amount=4.50000000 * qty where goods_id='0000000005864' and open_id='1030';update tr_shopcart set price='13.00000000',unit_no='斤',amount=13.00000000 * qty where goods_id='0000000005947' and open_id='1030';update tr_shopcart set price='24.50000000',unit_no='斤',amount=24.50000000 * qty where goods_id='0000000005949' and open_id='1030'; [详细] => 在 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.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.ExecuteScalar() 在 Db.DBContext.ExecuteScalar(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.GetAll(String oper_id, String supcust_no) 在 Api.SingOut.b2b.mina.shopcart.get_all() [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => get_all [入参] => ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 14:06:37 [错误信息] => 事务(进程 ID 82)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000027' and open_id='1030';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000028' and open_id='1030';update tr_shopcart set price='5.70000000',unit_no='斤',amount=5.70000000 * qty where goods_id='0000000000031' and open_id='1030';update tr_shopcart set price='5.70000000',unit_no='斤',amount=5.70000000 * qty where goods_id='0000000000032' and open_id='1030';update tr_shopcart set price='2.20000000',unit_no='斤',amount=2.20000000 * qty where goods_id='0000000000660' and open_id='1030';update tr_shopcart set price='1.90000000',unit_no='斤',amount=1.90000000 * qty where goods_id='0000000000924' and open_id='1030';update tr_shopcart set price='4.00000000',unit_no='盒',amount=4.00000000 * qty where goods_id='0000000000996' and open_id='1030';update tr_shopcart set price='8.50000000',unit_no='斤',amount=8.50000000 * qty where goods_id='0000000001117' and open_id='1030';update tr_shopcart set price='8.80000000',unit_no='斤',amount=8.80000000 * qty where goods_id='0000000001123' and open_id='1030';update tr_shopcart set price='3.80000000',unit_no='斤',amount=3.80000000 * qty where goods_id='0000000001247' and open_id='1030';update tr_shopcart set price='5.00000000',unit_no='斤',amount=5.00000000 * qty where goods_id='0000000001258' and open_id='1030';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000001290' and open_id='1030';update tr_shopcart set price='5.00000000',unit_no='斤',amount=5.00000000 * qty where goods_id='0000000001510' and open_id='1030';update tr_shopcart set price='7.00000000',unit_no='斤',amount=7.00000000 * qty where goods_id='0000000001570' and open_id='1030';update tr_shopcart set price='2.20000000',unit_no='斤',amount=2.20000000 * qty where goods_id='0000000001746' and open_id='1030';update tr_shopcart set price='2.70000000',unit_no='斤',amount=2.70000000 * qty where goods_id='0000000001749' and open_id='1030';update tr_shopcart set price='1.98000000',unit_no='包',amount=1.98000000 * qty where goods_id='0000000004683' and open_id='1030';update tr_shopcart set price='3.40000000',unit_no='斤',amount=3.40000000 * qty where goods_id='0000000004688' and open_id='1030';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000004720' and open_id='1030';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000004744' and open_id='1030';update tr_shopcart set price='5.00000000',unit_no='斤',amount=5.00000000 * qty where goods_id='0000000004757' and open_id='1030';update tr_shopcart set price='7.70000000',unit_no='斤',amount=7.70000000 * qty where goods_id='0000000004761' and open_id='1030';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000004769' and open_id='1030';update tr_shopcart set price='5.60000000',unit_no='斤',amount=5.60000000 * qty where goods_id='0000000004772' and open_id='1030';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000004776' and open_id='1030';update tr_shopcart set price='0.62000000',unit_no='条',amount=0.62000000 * qty where goods_id='0000000005457' and open_id='1030';update tr_shopcart set price='7.50000000',unit_no='斤',amount=7.50000000 * qty where goods_id='0000000005472' and open_id='1030';update tr_shopcart set price='4.50000000',unit_no='斤',amount=4.50000000 * qty where goods_id='0000000005479' and open_id='1030';update tr_shopcart set price='6.25000000',unit_no='斤',amount=6.25000000 * qty where goods_id='0000000005493' and open_id='1030';update tr_shopcart set price='5.00000000',unit_no='斤',amount=5.00000000 * qty where goods_id='0000000005498' and open_id='1030';update tr_shopcart set price='3.75000000',unit_no='斤',amount=3.75000000 * qty where goods_id='0000000005499' and open_id='1030';update tr_shopcart set price='3.75000000',unit_no='斤',amount=3.75000000 * qty where goods_id='0000000005500' and open_id='1030';update tr_shopcart set price='5.00000000',unit_no='斤',amount=5.00000000 * qty where goods_id='0000000005501' and open_id='1030';update tr_shopcart set price='8.00000000',unit_no='包',amount=8.00000000 * qty where goods_id='0000000005702' and open_id='1030';update tr_shopcart set price='3.60000000',unit_no='斤',amount=3.60000000 * qty where goods_id='0000000005703' and open_id='1030';update tr_shopcart set price='4.30000000',unit_no='斤',amount=4.30000000 * qty where goods_id='0000000005708' and open_id='1030';update tr_shopcart set price='8.20000000',unit_no='斤',amount=8.20000000 * qty where goods_id='0000000005712' and open_id='1030';update tr_shopcart set price='3.40000000',unit_no='斤',amount=3.40000000 * qty where goods_id='0000000005713' and open_id='1030';update tr_shopcart set price='5.50000000',unit_no='盒',amount=5.50000000 * qty where goods_id='0000000005721' and open_id='1030';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000005736' and open_id='1030';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005745' and open_id='1030';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005746' and open_id='1030';update tr_shopcart set price='5.60000000',unit_no='斤',amount=5.60000000 * qty where goods_id='0000000005748' and open_id='1030';update tr_shopcart set price='5.10000000',unit_no='斤',amount=5.10000000 * qty where goods_id='0000000005754' and open_id='1030';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005755' and open_id='1030';update tr_shopcart set price='7.50000000',unit_no='斤',amount=7.50000000 * qty where goods_id='0000000005756' and open_id='1030';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000005757' and open_id='1030';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005758' and open_id='1030';update tr_shopcart set price='6.00000000',unit_no='斤',amount=6.00000000 * qty where goods_id='0000000005759' and open_id='1030';update tr_shopcart set price='6.50000000',unit_no='斤',amount=6.50000000 * qty where goods_id='0000000005763' and open_id='1030';update tr_shopcart set price='1.80000000',unit_no='斤',amount=1.80000000 * qty where goods_id='0000000005764' and open_id='1030';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005766' and open_id='1030';update tr_shopcart set price='7.40000000',unit_no='斤',amount=7.40000000 * qty where goods_id='0000000005767' and open_id='1030';update tr_shopcart set price='7.80000000',unit_no='斤',amount=7.80000000 * qty where goods_id='0000000005768' and open_id='1030';update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000005769' and open_id='1030';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000005772' and open_id='1030';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005773' and open_id='1030';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005775' and open_id='1030';update tr_shopcart set price='3.40000000',unit_no='包',amount=3.40000000 * qty where goods_id='0000000005776' and open_id='1030';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000005777' and open_id='1030';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005778' and open_id='1030';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000005782' and open_id='1030';update tr_shopcart set price='2.30000000',unit_no='斤',amount=2.30000000 * qty where goods_id='0000000005786' and open_id='1030';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000005791' and open_id='1030';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005799' and open_id='1030';update tr_shopcart set price='5.75000000',unit_no='斤',amount=5.75000000 * qty where goods_id='0000000005807' and open_id='1030';update tr_shopcart set price='2.20000000',unit_no='斤',amount=2.20000000 * qty where goods_id='0000000005809' and open_id='1030';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005810' and open_id='1030';update tr_shopcart set price='7.00000000',unit_no='斤',amount=7.00000000 * qty where goods_id='0000000005818' and open_id='1030';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005819' and open_id='1030';update tr_shopcart set price='5.70000000',unit_no='斤',amount=5.70000000 * qty where goods_id='0000000005822' and open_id='1030';update tr_shopcart set price='1.10000000',unit_no='斤',amount=1.10000000 * qty where goods_id='0000000005827' and open_id='1030';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000005830' and open_id='1030';update tr_shopcart set price='2.70000000',unit_no='斤',amount=2.70000000 * qty where goods_id='0000000005843' and open_id='1030';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005844' and open_id='1030';update tr_shopcart set price='2.10000000',unit_no='斤',amount=2.10000000 * qty where goods_id='0000000005845' and open_id='1030';update tr_shopcart set price='2.30000000',unit_no='斤',amount=2.30000000 * qty where goods_id='0000000005848' and open_id='1030';update tr_shopcart set price='3.80000000',unit_no='斤',amount=3.80000000 * qty where goods_id='0000000005861' and open_id='1030';update tr_shopcart set price='4.40000000',unit_no='斤',amount=4.40000000 * qty where goods_id='0000000005862' and open_id='1030';update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000005863' and open_id='1030';update tr_shopcart set price='4.50000000',unit_no='斤',amount=4.50000000 * qty where goods_id='0000000005864' and open_id='1030';update tr_shopcart set price='13.00000000',unit_no='斤',amount=13.00000000 * qty where goods_id='0000000005947' and open_id='1030';update tr_shopcart set price='24.50000000',unit_no='斤',amount=24.50000000 * qty where goods_id='0000000005949' and open_id='1030'; [详细] => 在 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.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.ExecuteScalar() 在 Db.DBContext.ExecuteScalar(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.GetAll(String oper_id, String supcust_no) 在 Api.SingOut.b2b.mina.shopcart.get_all() [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => get_all [入参] => ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 14:06:40 [错误信息] => 事务(进程 ID 92)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => update tr_shopcart set qty=qty+1,amount=amount+2.00000000 where goods_id='0000000005814' and open_id='1113' [详细] => 在 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.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.ExecuteScalar() 在 Db.DBContext.ExecuteScalar(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.AddQtyOne(tr_shopcart shopcart, Decimal& count, String oper_id, String cus_level, Int32 merId) 在 Api.SingOut.b2b.mina.shopcart.add_qty_one(String goods_id) [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => add_qty_one [入参] => {"goods_id":"0000000005814"} ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 14:06:41 [错误信息] => 事务(进程 ID 75)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => update tr_shopcart set price='9.11000000',unit_no='斤',amount=9.11000000 * qty where goods_id='0000000005407' and open_id='1055';update tr_shopcart set price='1.00000000',unit_no='斤',amount=1.00000000 * qty where goods_id='0000000005737' and open_id='1055';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000005868' and open_id='1055';update tr_shopcart set price='4.40000000',unit_no='斤',amount=4.40000000 * qty where goods_id='0000000005862' and open_id='1055';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000005830' and open_id='1055';update tr_shopcart set price='2.10000000',unit_no='斤',amount=2.10000000 * qty where goods_id='0000000005845' and open_id='1055';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000005772' and open_id='1055';update tr_shopcart set price='3.40000000',unit_no='斤',amount=3.40000000 * qty where goods_id='0000000005713' and open_id='1055';update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000004729' and open_id='1055';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000004730' and open_id='1055';update tr_shopcart set price='3.12000000',unit_no='个',amount=3.12000000 * qty where goods_id='0000000005429' and open_id='1055';update tr_shopcart set price='9.38000000',unit_no='斤',amount=9.38000000 * qty where goods_id='0000000005494' and open_id='1055';update tr_shopcart set price='5.00000000',unit_no='斤',amount=5.00000000 * qty where goods_id='0000000005498' and open_id='1055';update tr_shopcart set price='11.00000000',unit_no='斤',amount=11.00000000 * qty where goods_id='0000000004715' and open_id='1055';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000004755' and open_id='1055';update tr_shopcart set price='5.50000000',unit_no='斤',amount=5.50000000 * qty where goods_id='0000000005692' and open_id='1055';update tr_shopcart set price='7.50000000',unit_no='斤',amount=7.50000000 * qty where goods_id='0000000005793' and open_id='1055';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005749' and open_id='1055';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005741' and open_id='1055';update tr_shopcart set price='4.50000000',unit_no='斤',amount=4.50000000 * qty where goods_id='0000000005864' and open_id='1055';update tr_shopcart set price='3.80000000',unit_no='斤',amount=3.80000000 * qty where goods_id='0000000005861' and open_id='1055';update tr_shopcart set price='3.40000000',unit_no='包',amount=3.40000000 * qty where goods_id='0000000005776' and open_id='1055';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005778' and open_id='1055';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005771' and open_id='1055';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000027' and open_id='1055';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000028' and open_id='1055';update tr_shopcart set price='5.30000000',unit_no='斤',amount=5.30000000 * qty where goods_id='0000000004697' and open_id='1055';update tr_shopcart set price='3.80000000',unit_no='斤',amount=3.80000000 * qty where goods_id='0000000001377' and open_id='1055';update tr_shopcart set price='5.00000000',unit_no='斤',amount=5.00000000 * qty where goods_id='0000000001258' and open_id='1055';update tr_shopcart set price='5.70000000',unit_no='斤',amount=5.70000000 * qty where goods_id='0000000005822' and open_id='1055';update tr_shopcart set price='1.88000000',unit_no='斤',amount=1.88000000 * qty where goods_id='0000000005488' and open_id='1055';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005485' and open_id='1055';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005483' and open_id='1055';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005482' and open_id='1055';update tr_shopcart set price='2.25000000',unit_no='斤',amount=2.25000000 * qty where goods_id='0000000005423' and open_id='1055';update tr_shopcart set price='22.00000000',unit_no='板',amount=22.00000000 * qty where goods_id='0000000005432' and open_id='1055';update tr_shopcart set price='5.00000000',unit_no='斤',amount=5.00000000 * qty where goods_id='0000000005501' and open_id='1055';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000004720' and open_id='1055';update tr_shopcart set price='7.50000000',unit_no='斤',amount=7.50000000 * qty where goods_id='0000000005756' and open_id='1055';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000005757' and open_id='1055';update tr_shopcart set price='6.00000000',unit_no='斤',amount=6.00000000 * qty where goods_id='0000000005759' and open_id='1055';update tr_shopcart set price='1.80000000',unit_no='斤',amount=1.80000000 * qty where goods_id='0000000005762' and open_id='1055';update tr_shopcart set price='6.50000000',unit_no='斤',amount=6.50000000 * qty where goods_id='0000000005763' and open_id='1055';update tr_shopcart set price='4.90000000',unit_no='斤',amount=4.90000000 * qty where goods_id='0000000005765' and open_id='1055';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005766' and open_id='1055';update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000005769' and open_id='1055';update tr_shopcart set price='5.75000000',unit_no='斤',amount=5.75000000 * qty where goods_id='0000000005807' and open_id='1055';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005810' and open_id='1055';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000004776' and open_id='1055';update tr_shopcart set price='8.50000000',unit_no='斤',amount=8.50000000 * qty where goods_id='0000000001117' and open_id='1055';update tr_shopcart set price='8.80000000',unit_no='斤',amount=8.80000000 * qty where goods_id='0000000001123' and open_id='1055';update tr_shopcart set price='7.00000000',unit_no='斤',amount=7.00000000 * qty where goods_id='0000000001570' and open_id='1055';update tr_shopcart set price='9.00000000',unit_no='斤',amount=9.00000000 * qty where goods_id='0000000001637' and open_id='1055';update tr_shopcart set price='3.40000000',unit_no='斤',amount=3.40000000 * qty where goods_id='0000000004235' and open_id='1055'; [详细] => 在 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.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.ExecuteScalar() 在 Db.DBContext.ExecuteScalar(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.GetAll(String oper_id, String supcust_no) 在 Api.SingOut.b2b.mina.shopcart.get_all() [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => get_all [入参] => ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 14:06:41 [错误信息] => 事务(进程 ID 93)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => update tr_shopcart set price='2.70000000',unit_no='斤',amount=2.70000000 * qty where goods_id='0000000001749' and open_id='1047';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000004730' and open_id='1047';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000004769' and open_id='1047';update tr_shopcart set price='11.00000000',unit_no='斤',amount=11.00000000 * qty where goods_id='0000000004715' and open_id='1047';update tr_shopcart set price='5.80000000',unit_no='斤',amount=5.80000000 * qty where goods_id='0000000004758' and open_id='1047';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005751' and open_id='1047';update tr_shopcart set price='4.50000000',unit_no='斤',amount=4.50000000 * qty where goods_id='0000000005709' and open_id='1047';update tr_shopcart set price='8.00000000',unit_no='包',amount=8.00000000 * qty where goods_id='0000000005702' and open_id='1047';update tr_shopcart set price='3.60000000',unit_no='斤',amount=3.60000000 * qty where goods_id='0000000004684' and open_id='1047';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005766' and open_id='1047';update tr_shopcart set price='4.50000000',unit_no='包',amount=4.50000000 * qty where goods_id='0000000005715' and open_id='1047';update tr_shopcart set price='7.00000000',unit_no='斤',amount=7.00000000 * qty where goods_id='0000000005818' and open_id='1047';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005819' and open_id='1047';update tr_shopcart set price='24.50000000',unit_no='斤',amount=24.50000000 * qty where goods_id='0000000005949' and open_id='1047';update tr_shopcart set price='3.40000000',unit_no='斤',amount=3.40000000 * qty where goods_id='0000000005821' and open_id='1047';update tr_shopcart set price='6.00000000',unit_no='斤',amount=6.00000000 * qty where goods_id='0000000005823' and open_id='1047';update tr_shopcart set price='1.87000000',unit_no='斤',amount=1.87000000 * qty where goods_id='0000000005826' and open_id='1047';update tr_shopcart set price='1.10000000',unit_no='斤',amount=1.10000000 * qty where goods_id='0000000005827' and open_id='1047';update tr_shopcart set price='4.90000000',unit_no='斤',amount=4.90000000 * qty where goods_id='0000000005765' and open_id='1047';update tr_shopcart set price='5.50000000',unit_no='盒',amount=5.50000000 * qty where goods_id='0000000005721' and open_id='1047';update tr_shopcart set price='14.30000000',unit_no='斤',amount=14.30000000 * qty where goods_id='0000000005909' and open_id='1047';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005741' and open_id='1047';update tr_shopcart set price='6.50000000',unit_no='斤',amount=6.50000000 * qty where goods_id='0000000004725' and open_id='1047';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000004755' and open_id='1047';update tr_shopcart set price='13.50000000',unit_no='斤',amount=13.50000000 * qty where goods_id='0000000005932' and open_id='1047';update tr_shopcart set price='13.00000000',unit_no='斤',amount=13.00000000 * qty where goods_id='0000000005947' and open_id='1047';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000004698' and open_id='1047';update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000004729' and open_id='1047';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005778' and open_id='1047';update tr_shopcart set price='18.00000000',unit_no='斤',amount=18.00000000 * qty where goods_id='0000000000025' and open_id='1047';update tr_shopcart set price='2.20000000',unit_no='斤',amount=2.20000000 * qty where goods_id='0000000004780' and open_id='1047';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000005838' and open_id='1047';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000028' and open_id='1047';update tr_shopcart set price='16.50000000',unit_no='斤',amount=16.50000000 * qty where goods_id='0000000004700' and open_id='1047';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005750' and open_id='1047';update tr_shopcart set price='1.70000000',unit_no='斤',amount=1.70000000 * qty where goods_id='0000000005752' and open_id='1047';update tr_shopcart set price='2.00000000',unit_no='斤',amount=2.00000000 * qty where goods_id='0000000005753' and open_id='1047';update tr_shopcart set price='49.50000000',unit_no='斤',amount=49.50000000 * qty where goods_id='0000000005896' and open_id='1047';update tr_shopcart set price='14.00000000',unit_no='斤',amount=14.00000000 * qty where goods_id='0000000005013' and open_id='1047';update tr_shopcart set price='28.00000000',unit_no='斤',amount=28.00000000 * qty where goods_id='0000000005906' and open_id='1047';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000005830' and open_id='1047';update tr_shopcart set price='3.90000000',unit_no='盒',amount=3.90000000 * qty where goods_id='0000000005723' and open_id='1047';update tr_shopcart set price='5.00000000',unit_no='盒',amount=5.00000000 * qty where goods_id='0000000005727' and open_id='1047';update tr_shopcart set price='16.00000000',unit_no='斤',amount=16.00000000 * qty where goods_id='0000000004643' and open_id='1047';update tr_shopcart set price='2.25000000',unit_no='斤',amount=2.25000000 * qty where goods_id='0000000005423' and open_id='1047';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005462' and open_id='1047';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005483' and open_id='1047';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005484' and open_id='1047';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005485' and open_id='1047';update tr_shopcart set price='1.88000000',unit_no='斤',amount=1.88000000 * qty where goods_id='0000000005488' and open_id='1047';update tr_shopcart set price='6.25000000',unit_no='包',amount=6.25000000 * qty where goods_id='0000000001511' and open_id='1047';update tr_shopcart set price='5.00000000',unit_no='斤',amount=5.00000000 * qty where goods_id='0000000001510' and open_id='1047';update tr_shopcart set price='3.12000000',unit_no='个',amount=3.12000000 * qty where goods_id='0000000005429' and open_id='1047';update tr_shopcart set price='7.50000000',unit_no='斤',amount=7.50000000 * qty where goods_id='0000000005472' and open_id='1047';update tr_shopcart set price='3.30000000',unit_no='斤',amount=3.30000000 * qty where goods_id='0000000005798' and open_id='1047';update tr_shopcart set price='1.98000000',unit_no='包',amount=1.98000000 * qty where goods_id='0000000004683' and open_id='1047';update tr_shopcart set price='2.80000000',unit_no='斤',amount=2.80000000 * qty where goods_id='0000000005812' and open_id='1047';update tr_shopcart set price='5.70000000',unit_no='斤',amount=5.70000000 * qty where goods_id='0000000005822' and open_id='1047';update tr_shopcart set price='6.50000000',unit_no='斤',amount=6.50000000 * qty where goods_id='0000000005763' and open_id='1047';update tr_shopcart set price='7.40000000',unit_no='斤',amount=7.40000000 * qty where goods_id='0000000005767' and open_id='1047';update tr_shopcart set price='7.80000000',unit_no='斤',amount=7.80000000 * qty where goods_id='0000000005768' and open_id='1047';update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000005769' and open_id='1047';update tr_shopcart set price='5.75000000',unit_no='斤',amount=5.75000000 * qty where goods_id='0000000005807' and open_id='1047';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005810' and open_id='1047';update tr_shopcart set price='4.00000000',unit_no='盒',amount=4.00000000 * qty where goods_id='0000000000996' and open_id='1047';update tr_shopcart set price='3.80000000',unit_no='盒',amount=3.80000000 * qty where goods_id='0000000005717' and open_id='1047';update tr_shopcart set price='4.00000000',unit_no='盒',amount=4.00000000 * qty where goods_id='0000000005722' and open_id='1047';update tr_shopcart set price='4.70000000',unit_no='斤',amount=4.70000000 * qty where goods_id='0000000005839' and open_id='1047';update tr_shopcart set price='4.60000000',unit_no='斤',amount=4.60000000 * qty where goods_id='0000000005747' and open_id='1047';update tr_shopcart set price='8.80000000',unit_no='斤',amount=8.80000000 * qty where goods_id='0000000005012' and open_id='1047';update tr_shopcart set price='3.40000000',unit_no='包',amount=3.40000000 * qty where goods_id='0000000005725' and open_id='1047';update tr_shopcart set price='3.90000000',unit_no='盒',amount=3.90000000 * qty where goods_id='0000000005726' and open_id='1047';update tr_shopcart set price='1.88000000',unit_no='斤',amount=1.88000000 * qty where goods_id='0000000005464' and open_id='1047';update tr_shopcart set price='13.80000000',unit_no='斤',amount=13.80000000 * qty where goods_id='0000000005015' and open_id='1047';update tr_shopcart set price='13.80000000',unit_no='斤',amount=13.80000000 * qty where goods_id='0000000005873' and open_id='1047';update tr_shopcart set price='1.88000000',unit_no='斤',amount=1.88000000 * qty where goods_id='0000000005478' and open_id='1047';update tr_shopcart set price='22.00000000',unit_no='斤',amount=22.00000000 * qty where goods_id='0000000005905' and open_id='1047';update tr_shopcart set price='14.50000000',unit_no='斤',amount=14.50000000 * qty where goods_id='0000000005907' and open_id='1047';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005482' and open_id='1047';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005487' and open_id='1047';update tr_shopcart set price='6.25000000',unit_no='板',amount=6.25000000 * qty where goods_id='0000000005431' and open_id='1047';update tr_shopcart set price='0.62000000',unit_no='条',amount=0.62000000 * qty where goods_id='0000000005457' and open_id='1047';update tr_shopcart set price='9.80000000',unit_no='斤',amount=9.80000000 * qty where goods_id='0000000005473' and open_id='1047';update tr_shopcart set price='6.25000000',unit_no='斤',amount=6.25000000 * qty where goods_id='0000000005493' and open_id='1047';update tr_shopcart set price='3.75000000',unit_no='斤',amount=3.75000000 * qty where goods_id='0000000005500' and open_id='1047';update tr_shopcart set price='11.50000000',unit_no='斤',amount=11.50000000 * qty where goods_id='0000000005832' and open_id='1047';update tr_shopcart set price='5.60000000',unit_no='斤',amount=5.60000000 * qty where goods_id='0000000005847' and open_id='1047';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005859' and open_id='1047';update tr_shopcart set price='4.40000000',unit_no='斤',amount=4.40000000 * qty where goods_id='0000000005862' and open_id='1047';update tr_shopcart set price='2.20000000',unit_no='斤',amount=2.20000000 * qty where goods_id='0000000001746' and open_id='1047';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000005868' and open_id='1047';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000005772' and open_id='1047';update tr_shopcart set price='8.20000000',unit_no='斤',amount=8.20000000 * qty where goods_id='0000000005712' and open_id='1047';update tr_shopcart set price='3.40000000',unit_no='斤',amount=3.40000000 * qty where goods_id='0000000005713' and open_id='1047';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005773' and open_id='1047';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005775' and open_id='1047';update tr_shopcart set price='4.20000000',unit_no='盒',amount=4.20000000 * qty where goods_id='0000000005728' and open_id='1047';update tr_shopcart set price='2.00000000',unit_no='盒',amount=2.00000000 * qty where goods_id='0000000005730' and open_id='1047';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000005840' and open_id='1047';update tr_shopcart set price='2.70000000',unit_no='斤',amount=2.70000000 * qty where goods_id='0000000005843' and open_id='1047';update tr_shopcart set price='3.70000000',unit_no='斤',amount=3.70000000 * qty where goods_id='0000000005846' and open_id='1047';update tr_shopcart set price='3.80000000',unit_no='斤',amount=3.80000000 * qty where goods_id='0000000005861' and open_id='1047';update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000005863' and open_id='1047';update tr_shopcart set price='4.50000000',unit_no='斤',amount=4.50000000 * qty where goods_id='0000000005864' and open_id='1047';update tr_shopcart set price='17.00000000',unit_no='斤',amount=17.00000000 * qty where goods_id='0000000005644' and open_id='1047';update tr_shopcart set price='20.30000000',unit_no='斤',amount=20.30000000 * qty where goods_id='0000000004652' and open_id='1047';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000027' and open_id='1047';update tr_shopcart set price='6.60000000',unit_no='斤',amount=6.60000000 * qty where goods_id='0000000005785' and open_id='1047';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005790' and open_id='1047';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000005791' and open_id='1047';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005796' and open_id='1047';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005797' and open_id='1047';update tr_shopcart set price='3.40000000',unit_no='包',amount=3.40000000 * qty where goods_id='0000000005776' and open_id='1047';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000000965' and open_id='1047';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000000964' and open_id='1047';update tr_shopcart set price='5.50000000',unit_no='斤',amount=5.50000000 * qty where goods_id='0000000001276' and open_id='1047';update tr_shopcart set price='2.60000000',unit_no='斤',amount=2.60000000 * qty where goods_id='0000000005733' and open_id='1047';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000005736' and open_id='1047';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005745' and open_id='1047';update tr_shopcart set price='5.60000000',unit_no='斤',amount=5.60000000 * qty where goods_id='0000000005748' and open_id='1047';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005749' and open_id='1047'; [详细] => 在 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.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.ExecuteScalar() 在 Db.DBContext.ExecuteScalar(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.GetAll(String oper_id, String supcust_no) 在 Api.SingOut.b2b.mina.shopcart.get_all() [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => get_all [入参] => ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 14:06:42 [错误信息] => 事务(进程 ID 91)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => select a.row_index, a.goods_id, b.goods_no, b.goods_name, b.small_img_url, 'http://fxh.ivytalksoft.com:4617' + b.small_img_url as small_img_full_url, dbo.FUNC_GET_ITEM_SALE_PRICE('1091',a.goods_id) as price, (dbo.FUNC_GET_ITEM_SALE_PRICE('1091',a.goods_id) * a.qty) as amount, a.qty, b.unit_no, isnull(a.remark, '') remark from tr_shopcart a left join goods b on a.goods_id = b.goods_id where a.open_id = '1091' [详细] => 在 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.TryHasMoreRows(Boolean& moreRows) 在 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(DataTable[] dataTables, 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(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior) 在 System.Data.Common.DbDataAdapter.Fill(DataTable dataTable) 在 Db.DBContext.ExecuteToTable(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.GetAll(String oper_id, String supcust_no) 在 Api.SingOut.b2b.mina.shopcart.get_all() [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => get_all [入参] => ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 14:06:42 [错误信息] => 事务(进程 ID 78)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => update tr_shopcart set price='9.11000000',unit_no='斤',amount=9.11000000 * qty where goods_id='0000000005407' and open_id='1055';update tr_shopcart set price='1.00000000',unit_no='斤',amount=1.00000000 * qty where goods_id='0000000005737' and open_id='1055';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000005868' and open_id='1055';update tr_shopcart set price='4.40000000',unit_no='斤',amount=4.40000000 * qty where goods_id='0000000005862' and open_id='1055';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000005830' and open_id='1055';update tr_shopcart set price='2.10000000',unit_no='斤',amount=2.10000000 * qty where goods_id='0000000005845' and open_id='1055';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000005772' and open_id='1055';update tr_shopcart set price='3.40000000',unit_no='斤',amount=3.40000000 * qty where goods_id='0000000005713' and open_id='1055';update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000004729' and open_id='1055';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000004730' and open_id='1055';update tr_shopcart set price='3.12000000',unit_no='个',amount=3.12000000 * qty where goods_id='0000000005429' and open_id='1055';update tr_shopcart set price='9.38000000',unit_no='斤',amount=9.38000000 * qty where goods_id='0000000005494' and open_id='1055';update tr_shopcart set price='5.00000000',unit_no='斤',amount=5.00000000 * qty where goods_id='0000000005498' and open_id='1055';update tr_shopcart set price='11.00000000',unit_no='斤',amount=11.00000000 * qty where goods_id='0000000004715' and open_id='1055';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000004755' and open_id='1055';update tr_shopcart set price='5.50000000',unit_no='斤',amount=5.50000000 * qty where goods_id='0000000005692' and open_id='1055';update tr_shopcart set price='7.50000000',unit_no='斤',amount=7.50000000 * qty where goods_id='0000000005793' and open_id='1055';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005749' and open_id='1055';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005741' and open_id='1055';update tr_shopcart set price='4.50000000',unit_no='斤',amount=4.50000000 * qty where goods_id='0000000005864' and open_id='1055';update tr_shopcart set price='3.80000000',unit_no='斤',amount=3.80000000 * qty where goods_id='0000000005861' and open_id='1055';update tr_shopcart set price='3.40000000',unit_no='包',amount=3.40000000 * qty where goods_id='0000000005776' and open_id='1055';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005778' and open_id='1055';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005771' and open_id='1055';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000027' and open_id='1055';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000028' and open_id='1055';update tr_shopcart set price='5.30000000',unit_no='斤',amount=5.30000000 * qty where goods_id='0000000004697' and open_id='1055';update tr_shopcart set price='3.80000000',unit_no='斤',amount=3.80000000 * qty where goods_id='0000000001377' and open_id='1055';update tr_shopcart set price='5.00000000',unit_no='斤',amount=5.00000000 * qty where goods_id='0000000001258' and open_id='1055';update tr_shopcart set price='5.70000000',unit_no='斤',amount=5.70000000 * qty where goods_id='0000000005822' and open_id='1055';update tr_shopcart set price='1.88000000',unit_no='斤',amount=1.88000000 * qty where goods_id='0000000005488' and open_id='1055';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005485' and open_id='1055';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005483' and open_id='1055';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005482' and open_id='1055';update tr_shopcart set price='2.25000000',unit_no='斤',amount=2.25000000 * qty where goods_id='0000000005423' and open_id='1055';update tr_shopcart set price='22.00000000',unit_no='板',amount=22.00000000 * qty where goods_id='0000000005432' and open_id='1055';update tr_shopcart set price='5.00000000',unit_no='斤',amount=5.00000000 * qty where goods_id='0000000005501' and open_id='1055';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000004720' and open_id='1055';update tr_shopcart set price='7.50000000',unit_no='斤',amount=7.50000000 * qty where goods_id='0000000005756' and open_id='1055';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000005757' and open_id='1055';update tr_shopcart set price='6.00000000',unit_no='斤',amount=6.00000000 * qty where goods_id='0000000005759' and open_id='1055';update tr_shopcart set price='1.80000000',unit_no='斤',amount=1.80000000 * qty where goods_id='0000000005762' and open_id='1055';update tr_shopcart set price='6.50000000',unit_no='斤',amount=6.50000000 * qty where goods_id='0000000005763' and open_id='1055';update tr_shopcart set price='4.90000000',unit_no='斤',amount=4.90000000 * qty where goods_id='0000000005765' and open_id='1055';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005766' and open_id='1055';update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000005769' and open_id='1055';update tr_shopcart set price='5.75000000',unit_no='斤',amount=5.75000000 * qty where goods_id='0000000005807' and open_id='1055';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005810' and open_id='1055';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000004776' and open_id='1055';update tr_shopcart set price='8.50000000',unit_no='斤',amount=8.50000000 * qty where goods_id='0000000001117' and open_id='1055';update tr_shopcart set price='8.80000000',unit_no='斤',amount=8.80000000 * qty where goods_id='0000000001123' and open_id='1055';update tr_shopcart set price='7.00000000',unit_no='斤',amount=7.00000000 * qty where goods_id='0000000001570' and open_id='1055';update tr_shopcart set price='9.00000000',unit_no='斤',amount=9.00000000 * qty where goods_id='0000000001637' and open_id='1055';update tr_shopcart set price='3.40000000',unit_no='斤',amount=3.40000000 * qty where goods_id='0000000004235' and open_id='1055'; [详细] => 在 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.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.ExecuteScalar() 在 Db.DBContext.ExecuteScalar(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.GetAll(String oper_id, String supcust_no) 在 Api.SingOut.b2b.mina.shopcart.get_all() [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => get_all [入参] => ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 14:06:42 [错误信息] => 事务(进程 ID 74)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => update tr_shopcart set price='9.11000000',unit_no='斤',amount=9.11000000 * qty where goods_id='0000000005407' and open_id='1055';update tr_shopcart set price='1.00000000',unit_no='斤',amount=1.00000000 * qty where goods_id='0000000005737' and open_id='1055';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000005868' and open_id='1055';update tr_shopcart set price='4.40000000',unit_no='斤',amount=4.40000000 * qty where goods_id='0000000005862' and open_id='1055';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000005830' and open_id='1055';update tr_shopcart set price='2.10000000',unit_no='斤',amount=2.10000000 * qty where goods_id='0000000005845' and open_id='1055';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000005772' and open_id='1055';update tr_shopcart set price='3.40000000',unit_no='斤',amount=3.40000000 * qty where goods_id='0000000005713' and open_id='1055';update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000004729' and open_id='1055';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000004730' and open_id='1055';update tr_shopcart set price='3.12000000',unit_no='个',amount=3.12000000 * qty where goods_id='0000000005429' and open_id='1055';update tr_shopcart set price='9.38000000',unit_no='斤',amount=9.38000000 * qty where goods_id='0000000005494' and open_id='1055';update tr_shopcart set price='5.00000000',unit_no='斤',amount=5.00000000 * qty where goods_id='0000000005498' and open_id='1055';update tr_shopcart set price='11.00000000',unit_no='斤',amount=11.00000000 * qty where goods_id='0000000004715' and open_id='1055';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000004755' and open_id='1055';update tr_shopcart set price='5.50000000',unit_no='斤',amount=5.50000000 * qty where goods_id='0000000005692' and open_id='1055';update tr_shopcart set price='7.50000000',unit_no='斤',amount=7.50000000 * qty where goods_id='0000000005793' and open_id='1055';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005749' and open_id='1055';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005741' and open_id='1055';update tr_shopcart set price='4.50000000',unit_no='斤',amount=4.50000000 * qty where goods_id='0000000005864' and open_id='1055';update tr_shopcart set price='3.80000000',unit_no='斤',amount=3.80000000 * qty where goods_id='0000000005861' and open_id='1055';update tr_shopcart set price='3.40000000',unit_no='包',amount=3.40000000 * qty where goods_id='0000000005776' and open_id='1055';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005778' and open_id='1055';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005771' and open_id='1055';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000027' and open_id='1055';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000028' and open_id='1055';update tr_shopcart set price='5.30000000',unit_no='斤',amount=5.30000000 * qty where goods_id='0000000004697' and open_id='1055';update tr_shopcart set price='3.80000000',unit_no='斤',amount=3.80000000 * qty where goods_id='0000000001377' and open_id='1055';update tr_shopcart set price='5.00000000',unit_no='斤',amount=5.00000000 * qty where goods_id='0000000001258' and open_id='1055';update tr_shopcart set price='5.70000000',unit_no='斤',amount=5.70000000 * qty where goods_id='0000000005822' and open_id='1055';update tr_shopcart set price='1.88000000',unit_no='斤',amount=1.88000000 * qty where goods_id='0000000005488' and open_id='1055';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005485' and open_id='1055';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005483' and open_id='1055';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005482' and open_id='1055';update tr_shopcart set price='2.25000000',unit_no='斤',amount=2.25000000 * qty where goods_id='0000000005423' and open_id='1055';update tr_shopcart set price='22.00000000',unit_no='板',amount=22.00000000 * qty where goods_id='0000000005432' and open_id='1055';update tr_shopcart set price='5.00000000',unit_no='斤',amount=5.00000000 * qty where goods_id='0000000005501' and open_id='1055';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000004720' and open_id='1055';update tr_shopcart set price='7.50000000',unit_no='斤',amount=7.50000000 * qty where goods_id='0000000005756' and open_id='1055';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000005757' and open_id='1055';update tr_shopcart set price='6.00000000',unit_no='斤',amount=6.00000000 * qty where goods_id='0000000005759' and open_id='1055';update tr_shopcart set price='1.80000000',unit_no='斤',amount=1.80000000 * qty where goods_id='0000000005762' and open_id='1055';update tr_shopcart set price='6.50000000',unit_no='斤',amount=6.50000000 * qty where goods_id='0000000005763' and open_id='1055';update tr_shopcart set price='4.90000000',unit_no='斤',amount=4.90000000 * qty where goods_id='0000000005765' and open_id='1055';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005766' and open_id='1055';update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000005769' and open_id='1055';update tr_shopcart set price='5.75000000',unit_no='斤',amount=5.75000000 * qty where goods_id='0000000005807' and open_id='1055';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005810' and open_id='1055';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000004776' and open_id='1055';update tr_shopcart set price='8.50000000',unit_no='斤',amount=8.50000000 * qty where goods_id='0000000001117' and open_id='1055';update tr_shopcart set price='8.80000000',unit_no='斤',amount=8.80000000 * qty where goods_id='0000000001123' and open_id='1055';update tr_shopcart set price='7.00000000',unit_no='斤',amount=7.00000000 * qty where goods_id='0000000001570' and open_id='1055';update tr_shopcart set price='9.00000000',unit_no='斤',amount=9.00000000 * qty where goods_id='0000000001637' and open_id='1055';update tr_shopcart set price='3.40000000',unit_no='斤',amount=3.40000000 * qty where goods_id='0000000004235' and open_id='1055'; [详细] => 在 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.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.ExecuteScalar() 在 Db.DBContext.ExecuteScalar(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.GetAll(String oper_id, String supcust_no) 在 Api.SingOut.b2b.mina.shopcart.get_all() [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => get_all [入参] => ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 14:06:42 [错误信息] => 事务(进程 ID 73)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => update tr_shopcart set price='2.70000000',unit_no='斤',amount=2.70000000 * qty where goods_id='0000000001749' and open_id='1047';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000004730' and open_id='1047';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000004769' and open_id='1047';update tr_shopcart set price='11.00000000',unit_no='斤',amount=11.00000000 * qty where goods_id='0000000004715' and open_id='1047';update tr_shopcart set price='5.80000000',unit_no='斤',amount=5.80000000 * qty where goods_id='0000000004758' and open_id='1047';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005751' and open_id='1047';update tr_shopcart set price='4.50000000',unit_no='斤',amount=4.50000000 * qty where goods_id='0000000005709' and open_id='1047';update tr_shopcart set price='8.00000000',unit_no='包',amount=8.00000000 * qty where goods_id='0000000005702' and open_id='1047';update tr_shopcart set price='3.60000000',unit_no='斤',amount=3.60000000 * qty where goods_id='0000000004684' and open_id='1047';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005766' and open_id='1047';update tr_shopcart set price='4.50000000',unit_no='包',amount=4.50000000 * qty where goods_id='0000000005715' and open_id='1047';update tr_shopcart set price='7.00000000',unit_no='斤',amount=7.00000000 * qty where goods_id='0000000005818' and open_id='1047';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005819' and open_id='1047';update tr_shopcart set price='24.50000000',unit_no='斤',amount=24.50000000 * qty where goods_id='0000000005949' and open_id='1047';update tr_shopcart set price='3.40000000',unit_no='斤',amount=3.40000000 * qty where goods_id='0000000005821' and open_id='1047';update tr_shopcart set price='6.00000000',unit_no='斤',amount=6.00000000 * qty where goods_id='0000000005823' and open_id='1047';update tr_shopcart set price='1.87000000',unit_no='斤',amount=1.87000000 * qty where goods_id='0000000005826' and open_id='1047';update tr_shopcart set price='1.10000000',unit_no='斤',amount=1.10000000 * qty where goods_id='0000000005827' and open_id='1047';update tr_shopcart set price='4.90000000',unit_no='斤',amount=4.90000000 * qty where goods_id='0000000005765' and open_id='1047';update tr_shopcart set price='5.50000000',unit_no='盒',amount=5.50000000 * qty where goods_id='0000000005721' and open_id='1047';update tr_shopcart set price='14.30000000',unit_no='斤',amount=14.30000000 * qty where goods_id='0000000005909' and open_id='1047';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005741' and open_id='1047';update tr_shopcart set price='6.50000000',unit_no='斤',amount=6.50000000 * qty where goods_id='0000000004725' and open_id='1047';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000004755' and open_id='1047';update tr_shopcart set price='13.50000000',unit_no='斤',amount=13.50000000 * qty where goods_id='0000000005932' and open_id='1047';update tr_shopcart set price='13.00000000',unit_no='斤',amount=13.00000000 * qty where goods_id='0000000005947' and open_id='1047';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000004698' and open_id='1047';update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000004729' and open_id='1047';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005778' and open_id='1047';update tr_shopcart set price='18.00000000',unit_no='斤',amount=18.00000000 * qty where goods_id='0000000000025' and open_id='1047';update tr_shopcart set price='2.20000000',unit_no='斤',amount=2.20000000 * qty where goods_id='0000000004780' and open_id='1047';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000005838' and open_id='1047';update tr_shopcart set price='3.80000000',unit_no='斤',amount=3.80000000 * qty where goods_id='0000000005852' and open_id='1047';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000028' and open_id='1047';update tr_shopcart set price='16.50000000',unit_no='斤',amount=16.50000000 * qty where goods_id='0000000004700' and open_id='1047';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005750' and open_id='1047';update tr_shopcart set price='1.70000000',unit_no='斤',amount=1.70000000 * qty where goods_id='0000000005752' and open_id='1047';update tr_shopcart set price='2.00000000',unit_no='斤',amount=2.00000000 * qty where goods_id='0000000005753' and open_id='1047';update tr_shopcart set price='49.50000000',unit_no='斤',amount=49.50000000 * qty where goods_id='0000000005896' and open_id='1047';update tr_shopcart set price='14.00000000',unit_no='斤',amount=14.00000000 * qty where goods_id='0000000005013' and open_id='1047';update tr_shopcart set price='28.00000000',unit_no='斤',amount=28.00000000 * qty where goods_id='0000000005906' and open_id='1047';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000005830' and open_id='1047';update tr_shopcart set price='3.90000000',unit_no='盒',amount=3.90000000 * qty where goods_id='0000000005723' and open_id='1047';update tr_shopcart set price='5.00000000',unit_no='盒',amount=5.00000000 * qty where goods_id='0000000005727' and open_id='1047';update tr_shopcart set price='16.00000000',unit_no='斤',amount=16.00000000 * qty where goods_id='0000000004643' and open_id='1047';update tr_shopcart set price='2.25000000',unit_no='斤',amount=2.25000000 * qty where goods_id='0000000005423' and open_id='1047';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005462' and open_id='1047';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005483' and open_id='1047';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005484' and open_id='1047';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005485' and open_id='1047';update tr_shopcart set price='1.88000000',unit_no='斤',amount=1.88000000 * qty where goods_id='0000000005488' and open_id='1047';update tr_shopcart set price='6.25000000',unit_no='包',amount=6.25000000 * qty where goods_id='0000000001511' and open_id='1047';update tr_shopcart set price='5.00000000',unit_no='斤',amount=5.00000000 * qty where goods_id='0000000001510' and open_id='1047';update tr_shopcart set price='3.12000000',unit_no='个',amount=3.12000000 * qty where goods_id='0000000005429' and open_id='1047';update tr_shopcart set price='7.50000000',unit_no='斤',amount=7.50000000 * qty where goods_id='0000000005472' and open_id='1047';update tr_shopcart set price='3.30000000',unit_no='斤',amount=3.30000000 * qty where goods_id='0000000005798' and open_id='1047';update tr_shopcart set price='1.98000000',unit_no='包',amount=1.98000000 * qty where goods_id='0000000004683' and open_id='1047';update tr_shopcart set price='2.80000000',unit_no='斤',amount=2.80000000 * qty where goods_id='0000000005812' and open_id='1047';update tr_shopcart set price='5.70000000',unit_no='斤',amount=5.70000000 * qty where goods_id='0000000005822' and open_id='1047';update tr_shopcart set price='6.50000000',unit_no='斤',amount=6.50000000 * qty where goods_id='0000000005763' and open_id='1047';update tr_shopcart set price='7.40000000',unit_no='斤',amount=7.40000000 * qty where goods_id='0000000005767' and open_id='1047';update tr_shopcart set price='7.80000000',unit_no='斤',amount=7.80000000 * qty where goods_id='0000000005768' and open_id='1047';update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000005769' and open_id='1047';update tr_shopcart set price='5.75000000',unit_no='斤',amount=5.75000000 * qty where goods_id='0000000005807' and open_id='1047';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005810' and open_id='1047';update tr_shopcart set price='4.00000000',unit_no='盒',amount=4.00000000 * qty where goods_id='0000000000996' and open_id='1047';update tr_shopcart set price='3.80000000',unit_no='盒',amount=3.80000000 * qty where goods_id='0000000005717' and open_id='1047';update tr_shopcart set price='4.00000000',unit_no='盒',amount=4.00000000 * qty where goods_id='0000000005722' and open_id='1047';update tr_shopcart set price='4.70000000',unit_no='斤',amount=4.70000000 * qty where goods_id='0000000005839' and open_id='1047';update tr_shopcart set price='4.60000000',unit_no='斤',amount=4.60000000 * qty where goods_id='0000000005747' and open_id='1047';update tr_shopcart set price='8.80000000',unit_no='斤',amount=8.80000000 * qty where goods_id='0000000005012' and open_id='1047';update tr_shopcart set price='3.40000000',unit_no='包',amount=3.40000000 * qty where goods_id='0000000005725' and open_id='1047';update tr_shopcart set price='3.90000000',unit_no='盒',amount=3.90000000 * qty where goods_id='0000000005726' and open_id='1047';update tr_shopcart set price='1.88000000',unit_no='斤',amount=1.88000000 * qty where goods_id='0000000005464' and open_id='1047';update tr_shopcart set price='13.80000000',unit_no='斤',amount=13.80000000 * qty where goods_id='0000000005015' and open_id='1047';update tr_shopcart set price='13.80000000',unit_no='斤',amount=13.80000000 * qty where goods_id='0000000005873' and open_id='1047';update tr_shopcart set price='1.88000000',unit_no='斤',amount=1.88000000 * qty where goods_id='0000000005478' and open_id='1047';update tr_shopcart set price='22.00000000',unit_no='斤',amount=22.00000000 * qty where goods_id='0000000005905' and open_id='1047';update tr_shopcart set price='14.50000000',unit_no='斤',amount=14.50000000 * qty where goods_id='0000000005907' and open_id='1047';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005482' and open_id='1047';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005487' and open_id='1047';update tr_shopcart set price='6.25000000',unit_no='板',amount=6.25000000 * qty where goods_id='0000000005431' and open_id='1047';update tr_shopcart set price='0.62000000',unit_no='条',amount=0.62000000 * qty where goods_id='0000000005457' and open_id='1047';update tr_shopcart set price='9.80000000',unit_no='斤',amount=9.80000000 * qty where goods_id='0000000005473' and open_id='1047';update tr_shopcart set price='6.25000000',unit_no='斤',amount=6.25000000 * qty where goods_id='0000000005493' and open_id='1047';update tr_shopcart set price='3.75000000',unit_no='斤',amount=3.75000000 * qty where goods_id='0000000005500' and open_id='1047';update tr_shopcart set price='11.50000000',unit_no='斤',amount=11.50000000 * qty where goods_id='0000000005832' and open_id='1047';update tr_shopcart set price='5.60000000',unit_no='斤',amount=5.60000000 * qty where goods_id='0000000005847' and open_id='1047';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005859' and open_id='1047';update tr_shopcart set price='4.40000000',unit_no='斤',amount=4.40000000 * qty where goods_id='0000000005862' and open_id='1047';update tr_shopcart set price='2.20000000',unit_no='斤',amount=2.20000000 * qty where goods_id='0000000001746' and open_id='1047';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000005868' and open_id='1047';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000005772' and open_id='1047';update tr_shopcart set price='8.20000000',unit_no='斤',amount=8.20000000 * qty where goods_id='0000000005712' and open_id='1047';update tr_shopcart set price='3.40000000',unit_no='斤',amount=3.40000000 * qty where goods_id='0000000005713' and open_id='1047';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005773' and open_id='1047';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005775' and open_id='1047';update tr_shopcart set price='4.20000000',unit_no='盒',amount=4.20000000 * qty where goods_id='0000000005728' and open_id='1047';update tr_shopcart set price='2.00000000',unit_no='盒',amount=2.00000000 * qty where goods_id='0000000005730' and open_id='1047';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000005840' and open_id='1047';update tr_shopcart set price='2.70000000',unit_no='斤',amount=2.70000000 * qty where goods_id='0000000005843' and open_id='1047';update tr_shopcart set price='3.70000000',unit_no='斤',amount=3.70000000 * qty where goods_id='0000000005846' and open_id='1047';update tr_shopcart set price='3.80000000',unit_no='斤',amount=3.80000000 * qty where goods_id='0000000005861' and open_id='1047';update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000005863' and open_id='1047';update tr_shopcart set price='4.50000000',unit_no='斤',amount=4.50000000 * qty where goods_id='0000000005864' and open_id='1047';update tr_shopcart set price='17.00000000',unit_no='斤',amount=17.00000000 * qty where goods_id='0000000005644' and open_id='1047';update tr_shopcart set price='20.30000000',unit_no='斤',amount=20.30000000 * qty where goods_id='0000000004652' and open_id='1047';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000027' and open_id='1047';update tr_shopcart set price='6.60000000',unit_no='斤',amount=6.60000000 * qty where goods_id='0000000005785' and open_id='1047';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005790' and open_id='1047';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000005791' and open_id='1047';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005796' and open_id='1047';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005797' and open_id='1047';update tr_shopcart set price='3.40000000',unit_no='包',amount=3.40000000 * qty where goods_id='0000000005776' and open_id='1047';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000000965' and open_id='1047';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000000964' and open_id='1047';update tr_shopcart set price='5.50000000',unit_no='斤',amount=5.50000000 * qty where goods_id='0000000001276' and open_id='1047';update tr_shopcart set price='2.60000000',unit_no='斤',amount=2.60000000 * qty where goods_id='0000000005733' and open_id='1047';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000005736' and open_id='1047';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005745' and open_id='1047';update tr_shopcart set price='5.60000000',unit_no='斤',amount=5.60000000 * qty where goods_id='0000000005748' and open_id='1047';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005749' and open_id='1047'; [详细] => 在 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.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.ExecuteScalar() 在 Db.DBContext.ExecuteScalar(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.GetAll(String oper_id, String supcust_no) 在 Api.SingOut.b2b.mina.shopcart.get_all() [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => get_all [入参] => ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 14:06:42 [错误信息] => 事务(进程 ID 70)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => update tr_shopcart set price='9.11000000',unit_no='斤',amount=9.11000000 * qty where goods_id='0000000005407' and open_id='1055';update tr_shopcart set price='1.00000000',unit_no='斤',amount=1.00000000 * qty where goods_id='0000000005737' and open_id='1055';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000005868' and open_id='1055';update tr_shopcart set price='4.40000000',unit_no='斤',amount=4.40000000 * qty where goods_id='0000000005862' and open_id='1055';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000005830' and open_id='1055';update tr_shopcart set price='2.10000000',unit_no='斤',amount=2.10000000 * qty where goods_id='0000000005845' and open_id='1055';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000005772' and open_id='1055';update tr_shopcart set price='3.40000000',unit_no='斤',amount=3.40000000 * qty where goods_id='0000000005713' and open_id='1055';update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000004729' and open_id='1055';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000004730' and open_id='1055';update tr_shopcart set price='3.12000000',unit_no='个',amount=3.12000000 * qty where goods_id='0000000005429' and open_id='1055';update tr_shopcart set price='9.38000000',unit_no='斤',amount=9.38000000 * qty where goods_id='0000000005494' and open_id='1055';update tr_shopcart set price='5.00000000',unit_no='斤',amount=5.00000000 * qty where goods_id='0000000005498' and open_id='1055';update tr_shopcart set price='11.00000000',unit_no='斤',amount=11.00000000 * qty where goods_id='0000000004715' and open_id='1055';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000004755' and open_id='1055';update tr_shopcart set price='5.50000000',unit_no='斤',amount=5.50000000 * qty where goods_id='0000000005692' and open_id='1055';update tr_shopcart set price='7.50000000',unit_no='斤',amount=7.50000000 * qty where goods_id='0000000005793' and open_id='1055';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005749' and open_id='1055';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005741' and open_id='1055';update tr_shopcart set price='4.50000000',unit_no='斤',amount=4.50000000 * qty where goods_id='0000000005864' and open_id='1055';update tr_shopcart set price='3.80000000',unit_no='斤',amount=3.80000000 * qty where goods_id='0000000005861' and open_id='1055';update tr_shopcart set price='3.40000000',unit_no='包',amount=3.40000000 * qty where goods_id='0000000005776' and open_id='1055';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005778' and open_id='1055';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005771' and open_id='1055';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000027' and open_id='1055';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000028' and open_id='1055';update tr_shopcart set price='5.30000000',unit_no='斤',amount=5.30000000 * qty where goods_id='0000000004697' and open_id='1055';update tr_shopcart set price='3.80000000',unit_no='斤',amount=3.80000000 * qty where goods_id='0000000001377' and open_id='1055';update tr_shopcart set price='5.00000000',unit_no='斤',amount=5.00000000 * qty where goods_id='0000000001258' and open_id='1055';update tr_shopcart set price='5.70000000',unit_no='斤',amount=5.70000000 * qty where goods_id='0000000005822' and open_id='1055';update tr_shopcart set price='1.88000000',unit_no='斤',amount=1.88000000 * qty where goods_id='0000000005488' and open_id='1055';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005485' and open_id='1055';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005483' and open_id='1055';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005482' and open_id='1055';update tr_shopcart set price='2.25000000',unit_no='斤',amount=2.25000000 * qty where goods_id='0000000005423' and open_id='1055';update tr_shopcart set price='22.00000000',unit_no='板',amount=22.00000000 * qty where goods_id='0000000005432' and open_id='1055';update tr_shopcart set price='5.00000000',unit_no='斤',amount=5.00000000 * qty where goods_id='0000000005501' and open_id='1055';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000004720' and open_id='1055';update tr_shopcart set price='7.50000000',unit_no='斤',amount=7.50000000 * qty where goods_id='0000000005756' and open_id='1055';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000005757' and open_id='1055';update tr_shopcart set price='6.00000000',unit_no='斤',amount=6.00000000 * qty where goods_id='0000000005759' and open_id='1055';update tr_shopcart set price='1.80000000',unit_no='斤',amount=1.80000000 * qty where goods_id='0000000005762' and open_id='1055';update tr_shopcart set price='6.50000000',unit_no='斤',amount=6.50000000 * qty where goods_id='0000000005763' and open_id='1055';update tr_shopcart set price='4.90000000',unit_no='斤',amount=4.90000000 * qty where goods_id='0000000005765' and open_id='1055';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005766' and open_id='1055';update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000005769' and open_id='1055';update tr_shopcart set price='5.75000000',unit_no='斤',amount=5.75000000 * qty where goods_id='0000000005807' and open_id='1055';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005810' and open_id='1055';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000004776' and open_id='1055';update tr_shopcart set price='8.50000000',unit_no='斤',amount=8.50000000 * qty where goods_id='0000000001117' and open_id='1055';update tr_shopcart set price='8.80000000',unit_no='斤',amount=8.80000000 * qty where goods_id='0000000001123' and open_id='1055';update tr_shopcart set price='7.00000000',unit_no='斤',amount=7.00000000 * qty where goods_id='0000000001570' and open_id='1055';update tr_shopcart set price='9.00000000',unit_no='斤',amount=9.00000000 * qty where goods_id='0000000001637' and open_id='1055';update tr_shopcart set price='3.40000000',unit_no='斤',amount=3.40000000 * qty where goods_id='0000000004235' and open_id='1055'; [详细] => 在 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.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.ExecuteScalar() 在 Db.DBContext.ExecuteScalar(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.GetAll(String oper_id, String supcust_no) 在 Api.SingOut.b2b.mina.shopcart.get_all() [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => get_all [入参] => ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 14:06:42 [错误信息] => 事务(进程 ID 80)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => update tr_shopcart set price='2.70000000',unit_no='斤',amount=2.70000000 * qty where goods_id='0000000001749' and open_id='1047';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000004730' and open_id='1047';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000004769' and open_id='1047';update tr_shopcart set price='11.00000000',unit_no='斤',amount=11.00000000 * qty where goods_id='0000000004715' and open_id='1047';update tr_shopcart set price='5.80000000',unit_no='斤',amount=5.80000000 * qty where goods_id='0000000004758' and open_id='1047';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005751' and open_id='1047';update tr_shopcart set price='4.50000000',unit_no='斤',amount=4.50000000 * qty where goods_id='0000000005709' and open_id='1047';update tr_shopcart set price='8.00000000',unit_no='包',amount=8.00000000 * qty where goods_id='0000000005702' and open_id='1047';update tr_shopcart set price='3.60000000',unit_no='斤',amount=3.60000000 * qty where goods_id='0000000004684' and open_id='1047';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005766' and open_id='1047';update tr_shopcart set price='4.50000000',unit_no='包',amount=4.50000000 * qty where goods_id='0000000005715' and open_id='1047';update tr_shopcart set price='7.00000000',unit_no='斤',amount=7.00000000 * qty where goods_id='0000000005818' and open_id='1047';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005819' and open_id='1047';update tr_shopcart set price='24.50000000',unit_no='斤',amount=24.50000000 * qty where goods_id='0000000005949' and open_id='1047';update tr_shopcart set price='3.40000000',unit_no='斤',amount=3.40000000 * qty where goods_id='0000000005821' and open_id='1047';update tr_shopcart set price='6.00000000',unit_no='斤',amount=6.00000000 * qty where goods_id='0000000005823' and open_id='1047';update tr_shopcart set price='1.87000000',unit_no='斤',amount=1.87000000 * qty where goods_id='0000000005826' and open_id='1047';update tr_shopcart set price='1.10000000',unit_no='斤',amount=1.10000000 * qty where goods_id='0000000005827' and open_id='1047';update tr_shopcart set price='4.90000000',unit_no='斤',amount=4.90000000 * qty where goods_id='0000000005765' and open_id='1047';update tr_shopcart set price='5.50000000',unit_no='盒',amount=5.50000000 * qty where goods_id='0000000005721' and open_id='1047';update tr_shopcart set price='14.30000000',unit_no='斤',amount=14.30000000 * qty where goods_id='0000000005909' and open_id='1047';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005741' and open_id='1047';update tr_shopcart set price='6.50000000',unit_no='斤',amount=6.50000000 * qty where goods_id='0000000004725' and open_id='1047';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000004755' and open_id='1047';update tr_shopcart set price='13.50000000',unit_no='斤',amount=13.50000000 * qty where goods_id='0000000005932' and open_id='1047';update tr_shopcart set price='13.00000000',unit_no='斤',amount=13.00000000 * qty where goods_id='0000000005947' and open_id='1047';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000004698' and open_id='1047';update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000004729' and open_id='1047';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005778' and open_id='1047';update tr_shopcart set price='18.00000000',unit_no='斤',amount=18.00000000 * qty where goods_id='0000000000025' and open_id='1047';update tr_shopcart set price='2.20000000',unit_no='斤',amount=2.20000000 * qty where goods_id='0000000004780' and open_id='1047';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000005838' and open_id='1047';update tr_shopcart set price='3.80000000',unit_no='斤',amount=3.80000000 * qty where goods_id='0000000005852' and open_id='1047';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000028' and open_id='1047';update tr_shopcart set price='16.50000000',unit_no='斤',amount=16.50000000 * qty where goods_id='0000000004700' and open_id='1047';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005750' and open_id='1047';update tr_shopcart set price='1.70000000',unit_no='斤',amount=1.70000000 * qty where goods_id='0000000005752' and open_id='1047';update tr_shopcart set price='2.00000000',unit_no='斤',amount=2.00000000 * qty where goods_id='0000000005753' and open_id='1047';update tr_shopcart set price='49.50000000',unit_no='斤',amount=49.50000000 * qty where goods_id='0000000005896' and open_id='1047';update tr_shopcart set price='14.00000000',unit_no='斤',amount=14.00000000 * qty where goods_id='0000000005013' and open_id='1047';update tr_shopcart set price='28.00000000',unit_no='斤',amount=28.00000000 * qty where goods_id='0000000005906' and open_id='1047';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000005830' and open_id='1047';update tr_shopcart set price='3.90000000',unit_no='盒',amount=3.90000000 * qty where goods_id='0000000005723' and open_id='1047';update tr_shopcart set price='5.00000000',unit_no='盒',amount=5.00000000 * qty where goods_id='0000000005727' and open_id='1047';update tr_shopcart set price='16.00000000',unit_no='斤',amount=16.00000000 * qty where goods_id='0000000004643' and open_id='1047';update tr_shopcart set price='2.25000000',unit_no='斤',amount=2.25000000 * qty where goods_id='0000000005423' and open_id='1047';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005462' and open_id='1047';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005483' and open_id='1047';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005484' and open_id='1047';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005485' and open_id='1047';update tr_shopcart set price='1.88000000',unit_no='斤',amount=1.88000000 * qty where goods_id='0000000005488' and open_id='1047';update tr_shopcart set price='6.25000000',unit_no='包',amount=6.25000000 * qty where goods_id='0000000001511' and open_id='1047';update tr_shopcart set price='5.00000000',unit_no='斤',amount=5.00000000 * qty where goods_id='0000000001510' and open_id='1047';update tr_shopcart set price='3.12000000',unit_no='个',amount=3.12000000 * qty where goods_id='0000000005429' and open_id='1047';update tr_shopcart set price='7.50000000',unit_no='斤',amount=7.50000000 * qty where goods_id='0000000005472' and open_id='1047';update tr_shopcart set price='3.30000000',unit_no='斤',amount=3.30000000 * qty where goods_id='0000000005798' and open_id='1047';update tr_shopcart set price='1.98000000',unit_no='包',amount=1.98000000 * qty where goods_id='0000000004683' and open_id='1047';update tr_shopcart set price='2.80000000',unit_no='斤',amount=2.80000000 * qty where goods_id='0000000005812' and open_id='1047';update tr_shopcart set price='5.70000000',unit_no='斤',amount=5.70000000 * qty where goods_id='0000000005822' and open_id='1047';update tr_shopcart set price='6.50000000',unit_no='斤',amount=6.50000000 * qty where goods_id='0000000005763' and open_id='1047';update tr_shopcart set price='7.40000000',unit_no='斤',amount=7.40000000 * qty where goods_id='0000000005767' and open_id='1047';update tr_shopcart set price='7.80000000',unit_no='斤',amount=7.80000000 * qty where goods_id='0000000005768' and open_id='1047';update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000005769' and open_id='1047';update tr_shopcart set price='5.75000000',unit_no='斤',amount=5.75000000 * qty where goods_id='0000000005807' and open_id='1047';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005810' and open_id='1047';update tr_shopcart set price='4.00000000',unit_no='盒',amount=4.00000000 * qty where goods_id='0000000000996' and open_id='1047';update tr_shopcart set price='3.80000000',unit_no='盒',amount=3.80000000 * qty where goods_id='0000000005717' and open_id='1047';update tr_shopcart set price='4.00000000',unit_no='盒',amount=4.00000000 * qty where goods_id='0000000005722' and open_id='1047';update tr_shopcart set price='4.70000000',unit_no='斤',amount=4.70000000 * qty where goods_id='0000000005839' and open_id='1047';update tr_shopcart set price='4.60000000',unit_no='斤',amount=4.60000000 * qty where goods_id='0000000005747' and open_id='1047';update tr_shopcart set price='8.80000000',unit_no='斤',amount=8.80000000 * qty where goods_id='0000000005012' and open_id='1047';update tr_shopcart set price='3.40000000',unit_no='包',amount=3.40000000 * qty where goods_id='0000000005725' and open_id='1047';update tr_shopcart set price='3.90000000',unit_no='盒',amount=3.90000000 * qty where goods_id='0000000005726' and open_id='1047';update tr_shopcart set price='1.88000000',unit_no='斤',amount=1.88000000 * qty where goods_id='0000000005464' and open_id='1047';update tr_shopcart set price='13.80000000',unit_no='斤',amount=13.80000000 * qty where goods_id='0000000005015' and open_id='1047';update tr_shopcart set price='13.80000000',unit_no='斤',amount=13.80000000 * qty where goods_id='0000000005873' and open_id='1047';update tr_shopcart set price='1.88000000',unit_no='斤',amount=1.88000000 * qty where goods_id='0000000005478' and open_id='1047';update tr_shopcart set price='22.00000000',unit_no='斤',amount=22.00000000 * qty where goods_id='0000000005905' and open_id='1047';update tr_shopcart set price='14.50000000',unit_no='斤',amount=14.50000000 * qty where goods_id='0000000005907' and open_id='1047';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005482' and open_id='1047';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005487' and open_id='1047';update tr_shopcart set price='6.25000000',unit_no='板',amount=6.25000000 * qty where goods_id='0000000005431' and open_id='1047';update tr_shopcart set price='0.62000000',unit_no='条',amount=0.62000000 * qty where goods_id='0000000005457' and open_id='1047';update tr_shopcart set price='9.80000000',unit_no='斤',amount=9.80000000 * qty where goods_id='0000000005473' and open_id='1047';update tr_shopcart set price='6.25000000',unit_no='斤',amount=6.25000000 * qty where goods_id='0000000005493' and open_id='1047';update tr_shopcart set price='3.75000000',unit_no='斤',amount=3.75000000 * qty where goods_id='0000000005500' and open_id='1047';update tr_shopcart set price='11.50000000',unit_no='斤',amount=11.50000000 * qty where goods_id='0000000005832' and open_id='1047';update tr_shopcart set price='5.60000000',unit_no='斤',amount=5.60000000 * qty where goods_id='0000000005847' and open_id='1047';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005859' and open_id='1047';update tr_shopcart set price='4.40000000',unit_no='斤',amount=4.40000000 * qty where goods_id='0000000005862' and open_id='1047';update tr_shopcart set price='2.20000000',unit_no='斤',amount=2.20000000 * qty where goods_id='0000000001746' and open_id='1047';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000005868' and open_id='1047';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000005772' and open_id='1047';update tr_shopcart set price='8.20000000',unit_no='斤',amount=8.20000000 * qty where goods_id='0000000005712' and open_id='1047';update tr_shopcart set price='3.40000000',unit_no='斤',amount=3.40000000 * qty where goods_id='0000000005713' and open_id='1047';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005773' and open_id='1047';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005775' and open_id='1047';update tr_shopcart set price='4.20000000',unit_no='盒',amount=4.20000000 * qty where goods_id='0000000005728' and open_id='1047';update tr_shopcart set price='2.00000000',unit_no='盒',amount=2.00000000 * qty where goods_id='0000000005730' and open_id='1047';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000005840' and open_id='1047';update tr_shopcart set price='2.70000000',unit_no='斤',amount=2.70000000 * qty where goods_id='0000000005843' and open_id='1047';update tr_shopcart set price='3.70000000',unit_no='斤',amount=3.70000000 * qty where goods_id='0000000005846' and open_id='1047';update tr_shopcart set price='3.80000000',unit_no='斤',amount=3.80000000 * qty where goods_id='0000000005861' and open_id='1047';update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000005863' and open_id='1047';update tr_shopcart set price='4.50000000',unit_no='斤',amount=4.50000000 * qty where goods_id='0000000005864' and open_id='1047';update tr_shopcart set price='17.00000000',unit_no='斤',amount=17.00000000 * qty where goods_id='0000000005644' and open_id='1047';update tr_shopcart set price='20.30000000',unit_no='斤',amount=20.30000000 * qty where goods_id='0000000004652' and open_id='1047';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000027' and open_id='1047';update tr_shopcart set price='6.60000000',unit_no='斤',amount=6.60000000 * qty where goods_id='0000000005785' and open_id='1047';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005790' and open_id='1047';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000005791' and open_id='1047';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005796' and open_id='1047';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005797' and open_id='1047';update tr_shopcart set price='3.40000000',unit_no='包',amount=3.40000000 * qty where goods_id='0000000005776' and open_id='1047';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000000965' and open_id='1047';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000000964' and open_id='1047';update tr_shopcart set price='5.50000000',unit_no='斤',amount=5.50000000 * qty where goods_id='0000000001276' and open_id='1047';update tr_shopcart set price='2.60000000',unit_no='斤',amount=2.60000000 * qty where goods_id='0000000005733' and open_id='1047';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000005736' and open_id='1047';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005745' and open_id='1047';update tr_shopcart set price='5.60000000',unit_no='斤',amount=5.60000000 * qty where goods_id='0000000005748' and open_id='1047';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005749' and open_id='1047'; [详细] => 在 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.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.ExecuteScalar() 在 Db.DBContext.ExecuteScalar(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.GetAll(String oper_id, String supcust_no) 在 Api.SingOut.b2b.mina.shopcart.get_all() [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => get_all [入参] => ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 14:06:42 [错误信息] => 事务(进程 ID 88)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000027' and open_id='1030';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000028' and open_id='1030';update tr_shopcart set price='5.70000000',unit_no='斤',amount=5.70000000 * qty where goods_id='0000000000031' and open_id='1030';update tr_shopcart set price='5.70000000',unit_no='斤',amount=5.70000000 * qty where goods_id='0000000000032' and open_id='1030';update tr_shopcart set price='2.20000000',unit_no='斤',amount=2.20000000 * qty where goods_id='0000000000660' and open_id='1030';update tr_shopcart set price='1.90000000',unit_no='斤',amount=1.90000000 * qty where goods_id='0000000000924' and open_id='1030';update tr_shopcart set price='4.00000000',unit_no='盒',amount=4.00000000 * qty where goods_id='0000000000996' and open_id='1030';update tr_shopcart set price='8.50000000',unit_no='斤',amount=8.50000000 * qty where goods_id='0000000001117' and open_id='1030';update tr_shopcart set price='8.80000000',unit_no='斤',amount=8.80000000 * qty where goods_id='0000000001123' and open_id='1030';update tr_shopcart set price='3.80000000',unit_no='斤',amount=3.80000000 * qty where goods_id='0000000001247' and open_id='1030';update tr_shopcart set price='5.00000000',unit_no='斤',amount=5.00000000 * qty where goods_id='0000000001258' and open_id='1030';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000001290' and open_id='1030';update tr_shopcart set price='5.00000000',unit_no='斤',amount=5.00000000 * qty where goods_id='0000000001510' and open_id='1030';update tr_shopcart set price='7.00000000',unit_no='斤',amount=7.00000000 * qty where goods_id='0000000001570' and open_id='1030';update tr_shopcart set price='2.20000000',unit_no='斤',amount=2.20000000 * qty where goods_id='0000000001746' and open_id='1030';update tr_shopcart set price='2.70000000',unit_no='斤',amount=2.70000000 * qty where goods_id='0000000001749' and open_id='1030';update tr_shopcart set price='1.98000000',unit_no='包',amount=1.98000000 * qty where goods_id='0000000004683' and open_id='1030';update tr_shopcart set price='3.40000000',unit_no='斤',amount=3.40000000 * qty where goods_id='0000000004688' and open_id='1030';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000004720' and open_id='1030';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000004744' and open_id='1030';update tr_shopcart set price='5.00000000',unit_no='斤',amount=5.00000000 * qty where goods_id='0000000004757' and open_id='1030';update tr_shopcart set price='7.70000000',unit_no='斤',amount=7.70000000 * qty where goods_id='0000000004761' and open_id='1030';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000004769' and open_id='1030';update tr_shopcart set price='5.60000000',unit_no='斤',amount=5.60000000 * qty where goods_id='0000000004772' and open_id='1030';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000004776' and open_id='1030';update tr_shopcart set price='0.62000000',unit_no='条',amount=0.62000000 * qty where goods_id='0000000005457' and open_id='1030';update tr_shopcart set price='7.50000000',unit_no='斤',amount=7.50000000 * qty where goods_id='0000000005472' and open_id='1030';update tr_shopcart set price='4.50000000',unit_no='斤',amount=4.50000000 * qty where goods_id='0000000005479' and open_id='1030';update tr_shopcart set price='6.25000000',unit_no='斤',amount=6.25000000 * qty where goods_id='0000000005493' and open_id='1030';update tr_shopcart set price='5.00000000',unit_no='斤',amount=5.00000000 * qty where goods_id='0000000005498' and open_id='1030';update tr_shopcart set price='3.75000000',unit_no='斤',amount=3.75000000 * qty where goods_id='0000000005499' and open_id='1030';update tr_shopcart set price='3.75000000',unit_no='斤',amount=3.75000000 * qty where goods_id='0000000005500' and open_id='1030';update tr_shopcart set price='5.00000000',unit_no='斤',amount=5.00000000 * qty where goods_id='0000000005501' and open_id='1030';update tr_shopcart set price='8.00000000',unit_no='包',amount=8.00000000 * qty where goods_id='0000000005702' and open_id='1030';update tr_shopcart set price='3.60000000',unit_no='斤',amount=3.60000000 * qty where goods_id='0000000005703' and open_id='1030';update tr_shopcart set price='4.30000000',unit_no='斤',amount=4.30000000 * qty where goods_id='0000000005708' and open_id='1030';update tr_shopcart set price='8.20000000',unit_no='斤',amount=8.20000000 * qty where goods_id='0000000005712' and open_id='1030';update tr_shopcart set price='3.40000000',unit_no='斤',amount=3.40000000 * qty where goods_id='0000000005713' and open_id='1030';update tr_shopcart set price='5.50000000',unit_no='盒',amount=5.50000000 * qty where goods_id='0000000005721' and open_id='1030';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000005736' and open_id='1030';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005745' and open_id='1030';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005746' and open_id='1030';update tr_shopcart set price='5.60000000',unit_no='斤',amount=5.60000000 * qty where goods_id='0000000005748' and open_id='1030';update tr_shopcart set price='5.10000000',unit_no='斤',amount=5.10000000 * qty where goods_id='0000000005754' and open_id='1030';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005755' and open_id='1030';update tr_shopcart set price='7.50000000',unit_no='斤',amount=7.50000000 * qty where goods_id='0000000005756' and open_id='1030';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000005757' and open_id='1030';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005758' and open_id='1030';update tr_shopcart set price='6.00000000',unit_no='斤',amount=6.00000000 * qty where goods_id='0000000005759' and open_id='1030';update tr_shopcart set price='6.50000000',unit_no='斤',amount=6.50000000 * qty where goods_id='0000000005763' and open_id='1030';update tr_shopcart set price='1.80000000',unit_no='斤',amount=1.80000000 * qty where goods_id='0000000005764' and open_id='1030';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005766' and open_id='1030';update tr_shopcart set price='7.40000000',unit_no='斤',amount=7.40000000 * qty where goods_id='0000000005767' and open_id='1030';update tr_shopcart set price='7.80000000',unit_no='斤',amount=7.80000000 * qty where goods_id='0000000005768' and open_id='1030';update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000005769' and open_id='1030';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000005772' and open_id='1030';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005773' and open_id='1030';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005775' and open_id='1030';update tr_shopcart set price='3.40000000',unit_no='包',amount=3.40000000 * qty where goods_id='0000000005776' and open_id='1030';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000005777' and open_id='1030';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005778' and open_id='1030';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000005782' and open_id='1030';update tr_shopcart set price='2.30000000',unit_no='斤',amount=2.30000000 * qty where goods_id='0000000005786' and open_id='1030';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000005791' and open_id='1030';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005799' and open_id='1030';update tr_shopcart set price='5.75000000',unit_no='斤',amount=5.75000000 * qty where goods_id='0000000005807' and open_id='1030';update tr_shopcart set price='2.20000000',unit_no='斤',amount=2.20000000 * qty where goods_id='0000000005809' and open_id='1030';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005810' and open_id='1030';update tr_shopcart set price='7.00000000',unit_no='斤',amount=7.00000000 * qty where goods_id='0000000005818' and open_id='1030';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005819' and open_id='1030';update tr_shopcart set price='5.70000000',unit_no='斤',amount=5.70000000 * qty where goods_id='0000000005822' and open_id='1030';update tr_shopcart set price='1.10000000',unit_no='斤',amount=1.10000000 * qty where goods_id='0000000005827' and open_id='1030';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000005830' and open_id='1030';update tr_shopcart set price='2.70000000',unit_no='斤',amount=2.70000000 * qty where goods_id='0000000005843' and open_id='1030';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005844' and open_id='1030';update tr_shopcart set price='2.10000000',unit_no='斤',amount=2.10000000 * qty where goods_id='0000000005845' and open_id='1030';update tr_shopcart set price='2.30000000',unit_no='斤',amount=2.30000000 * qty where goods_id='0000000005848' and open_id='1030';update tr_shopcart set price='3.80000000',unit_no='斤',amount=3.80000000 * qty where goods_id='0000000005861' and open_id='1030';update tr_shopcart set price='4.40000000',unit_no='斤',amount=4.40000000 * qty where goods_id='0000000005862' and open_id='1030';update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000005863' and open_id='1030';update tr_shopcart set price='4.50000000',unit_no='斤',amount=4.50000000 * qty where goods_id='0000000005864' and open_id='1030';update tr_shopcart set price='13.00000000',unit_no='斤',amount=13.00000000 * qty where goods_id='0000000005947' and open_id='1030';update tr_shopcart set price='24.50000000',unit_no='斤',amount=24.50000000 * qty where goods_id='0000000005949' and open_id='1030'; [详细] => 在 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.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.ExecuteScalar() 在 Db.DBContext.ExecuteScalar(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.GetAll(String oper_id, String supcust_no) 在 Api.SingOut.b2b.mina.shopcart.get_all() [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => get_all [入参] => ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 14:07:03 [错误信息] => 事务(进程 ID 68)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => update tr_shopcart set price='2.70000000',unit_no='斤',amount=2.70000000 * qty where goods_id='0000000001749' and open_id='1047';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000004730' and open_id='1047';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000004769' and open_id='1047';update tr_shopcart set price='11.00000000',unit_no='斤',amount=11.00000000 * qty where goods_id='0000000004715' and open_id='1047';update tr_shopcart set price='5.80000000',unit_no='斤',amount=5.80000000 * qty where goods_id='0000000004758' and open_id='1047';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005751' and open_id='1047';update tr_shopcart set price='4.50000000',unit_no='斤',amount=4.50000000 * qty where goods_id='0000000005709' and open_id='1047';update tr_shopcart set price='8.00000000',unit_no='包',amount=8.00000000 * qty where goods_id='0000000005702' and open_id='1047';update tr_shopcart set price='3.60000000',unit_no='斤',amount=3.60000000 * qty where goods_id='0000000004684' and open_id='1047';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005766' and open_id='1047';update tr_shopcart set price='4.50000000',unit_no='包',amount=4.50000000 * qty where goods_id='0000000005715' and open_id='1047';update tr_shopcart set price='7.00000000',unit_no='斤',amount=7.00000000 * qty where goods_id='0000000005818' and open_id='1047';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005819' and open_id='1047';update tr_shopcart set price='24.50000000',unit_no='斤',amount=24.50000000 * qty where goods_id='0000000005949' and open_id='1047';update tr_shopcart set price='3.40000000',unit_no='斤',amount=3.40000000 * qty where goods_id='0000000005821' and open_id='1047';update tr_shopcart set price='6.00000000',unit_no='斤',amount=6.00000000 * qty where goods_id='0000000005823' and open_id='1047';update tr_shopcart set price='1.87000000',unit_no='斤',amount=1.87000000 * qty where goods_id='0000000005826' and open_id='1047';update tr_shopcart set price='1.10000000',unit_no='斤',amount=1.10000000 * qty where goods_id='0000000005827' and open_id='1047';update tr_shopcart set price='4.90000000',unit_no='斤',amount=4.90000000 * qty where goods_id='0000000005765' and open_id='1047';update tr_shopcart set price='5.50000000',unit_no='盒',amount=5.50000000 * qty where goods_id='0000000005721' and open_id='1047';update tr_shopcart set price='14.30000000',unit_no='斤',amount=14.30000000 * qty where goods_id='0000000005909' and open_id='1047';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005741' and open_id='1047';update tr_shopcart set price='6.50000000',unit_no='斤',amount=6.50000000 * qty where goods_id='0000000004725' and open_id='1047';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000004755' and open_id='1047';update tr_shopcart set price='13.50000000',unit_no='斤',amount=13.50000000 * qty where goods_id='0000000005932' and open_id='1047';update tr_shopcart set price='13.00000000',unit_no='斤',amount=13.00000000 * qty where goods_id='0000000005947' and open_id='1047';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000004698' and open_id='1047';update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000004729' and open_id='1047';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005778' and open_id='1047';update tr_shopcart set price='18.00000000',unit_no='斤',amount=18.00000000 * qty where goods_id='0000000000025' and open_id='1047';update tr_shopcart set price='2.20000000',unit_no='斤',amount=2.20000000 * qty where goods_id='0000000004780' and open_id='1047';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000005838' and open_id='1047';update tr_shopcart set price='3.80000000',unit_no='斤',amount=3.80000000 * qty where goods_id='0000000005852' and open_id='1047';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000028' and open_id='1047';update tr_shopcart set price='16.50000000',unit_no='斤',amount=16.50000000 * qty where goods_id='0000000004700' and open_id='1047';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005750' and open_id='1047';update tr_shopcart set price='1.70000000',unit_no='斤',amount=1.70000000 * qty where goods_id='0000000005752' and open_id='1047';update tr_shopcart set price='2.00000000',unit_no='斤',amount=2.00000000 * qty where goods_id='0000000005753' and open_id='1047';update tr_shopcart set price='49.50000000',unit_no='斤',amount=49.50000000 * qty where goods_id='0000000005896' and open_id='1047';update tr_shopcart set price='14.00000000',unit_no='斤',amount=14.00000000 * qty where goods_id='0000000005013' and open_id='1047';update tr_shopcart set price='28.00000000',unit_no='斤',amount=28.00000000 * qty where goods_id='0000000005906' and open_id='1047';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000005830' and open_id='1047';update tr_shopcart set price='3.90000000',unit_no='盒',amount=3.90000000 * qty where goods_id='0000000005723' and open_id='1047';update tr_shopcart set price='5.00000000',unit_no='盒',amount=5.00000000 * qty where goods_id='0000000005727' and open_id='1047';update tr_shopcart set price='16.00000000',unit_no='斤',amount=16.00000000 * qty where goods_id='0000000004643' and open_id='1047';update tr_shopcart set price='2.25000000',unit_no='斤',amount=2.25000000 * qty where goods_id='0000000005423' and open_id='1047';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005462' and open_id='1047';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005483' and open_id='1047';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005484' and open_id='1047';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005485' and open_id='1047';update tr_shopcart set price='1.88000000',unit_no='斤',amount=1.88000000 * qty where goods_id='0000000005488' and open_id='1047';update tr_shopcart set price='6.25000000',unit_no='包',amount=6.25000000 * qty where goods_id='0000000001511' and open_id='1047';update tr_shopcart set price='5.00000000',unit_no='斤',amount=5.00000000 * qty where goods_id='0000000001510' and open_id='1047';update tr_shopcart set price='3.12000000',unit_no='个',amount=3.12000000 * qty where goods_id='0000000005429' and open_id='1047';update tr_shopcart set price='7.50000000',unit_no='斤',amount=7.50000000 * qty where goods_id='0000000005472' and open_id='1047';update tr_shopcart set price='3.30000000',unit_no='斤',amount=3.30000000 * qty where goods_id='0000000005798' and open_id='1047';update tr_shopcart set price='1.98000000',unit_no='包',amount=1.98000000 * qty where goods_id='0000000004683' and open_id='1047';update tr_shopcart set price='2.80000000',unit_no='斤',amount=2.80000000 * qty where goods_id='0000000005812' and open_id='1047';update tr_shopcart set price='5.70000000',unit_no='斤',amount=5.70000000 * qty where goods_id='0000000005822' and open_id='1047';update tr_shopcart set price='6.50000000',unit_no='斤',amount=6.50000000 * qty where goods_id='0000000005763' and open_id='1047';update tr_shopcart set price='7.40000000',unit_no='斤',amount=7.40000000 * qty where goods_id='0000000005767' and open_id='1047';update tr_shopcart set price='7.80000000',unit_no='斤',amount=7.80000000 * qty where goods_id='0000000005768' and open_id='1047';update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000005769' and open_id='1047';update tr_shopcart set price='5.75000000',unit_no='斤',amount=5.75000000 * qty where goods_id='0000000005807' and open_id='1047';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005810' and open_id='1047';update tr_shopcart set price='4.00000000',unit_no='盒',amount=4.00000000 * qty where goods_id='0000000000996' and open_id='1047';update tr_shopcart set price='3.80000000',unit_no='盒',amount=3.80000000 * qty where goods_id='0000000005717' and open_id='1047';update tr_shopcart set price='4.00000000',unit_no='盒',amount=4.00000000 * qty where goods_id='0000000005722' and open_id='1047';update tr_shopcart set price='4.70000000',unit_no='斤',amount=4.70000000 * qty where goods_id='0000000005839' and open_id='1047';update tr_shopcart set price='4.60000000',unit_no='斤',amount=4.60000000 * qty where goods_id='0000000005747' and open_id='1047';update tr_shopcart set price='8.80000000',unit_no='斤',amount=8.80000000 * qty where goods_id='0000000005012' and open_id='1047';update tr_shopcart set price='3.40000000',unit_no='包',amount=3.40000000 * qty where goods_id='0000000005725' and open_id='1047';update tr_shopcart set price='3.90000000',unit_no='盒',amount=3.90000000 * qty where goods_id='0000000005726' and open_id='1047';update tr_shopcart set price='1.88000000',unit_no='斤',amount=1.88000000 * qty where goods_id='0000000005464' and open_id='1047';update tr_shopcart set price='13.80000000',unit_no='斤',amount=13.80000000 * qty where goods_id='0000000005015' and open_id='1047';update tr_shopcart set price='13.80000000',unit_no='斤',amount=13.80000000 * qty where goods_id='0000000005873' and open_id='1047';update tr_shopcart set price='1.88000000',unit_no='斤',amount=1.88000000 * qty where goods_id='0000000005478' and open_id='1047';update tr_shopcart set price='22.00000000',unit_no='斤',amount=22.00000000 * qty where goods_id='0000000005905' and open_id='1047';update tr_shopcart set price='14.50000000',unit_no='斤',amount=14.50000000 * qty where goods_id='0000000005907' and open_id='1047';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005482' and open_id='1047';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005487' and open_id='1047';update tr_shopcart set price='6.25000000',unit_no='板',amount=6.25000000 * qty where goods_id='0000000005431' and open_id='1047';update tr_shopcart set price='0.62000000',unit_no='条',amount=0.62000000 * qty where goods_id='0000000005457' and open_id='1047';update tr_shopcart set price='9.80000000',unit_no='斤',amount=9.80000000 * qty where goods_id='0000000005473' and open_id='1047';update tr_shopcart set price='6.25000000',unit_no='斤',amount=6.25000000 * qty where goods_id='0000000005493' and open_id='1047';update tr_shopcart set price='3.75000000',unit_no='斤',amount=3.75000000 * qty where goods_id='0000000005500' and open_id='1047';update tr_shopcart set price='11.50000000',unit_no='斤',amount=11.50000000 * qty where goods_id='0000000005832' and open_id='1047';update tr_shopcart set price='5.60000000',unit_no='斤',amount=5.60000000 * qty where goods_id='0000000005847' and open_id='1047';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005859' and open_id='1047';update tr_shopcart set price='4.40000000',unit_no='斤',amount=4.40000000 * qty where goods_id='0000000005862' and open_id='1047';update tr_shopcart set price='2.20000000',unit_no='斤',amount=2.20000000 * qty where goods_id='0000000001746' and open_id='1047';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000005868' and open_id='1047';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000005772' and open_id='1047';update tr_shopcart set price='8.20000000',unit_no='斤',amount=8.20000000 * qty where goods_id='0000000005712' and open_id='1047';update tr_shopcart set price='3.40000000',unit_no='斤',amount=3.40000000 * qty where goods_id='0000000005713' and open_id='1047';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005773' and open_id='1047';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005775' and open_id='1047';update tr_shopcart set price='4.20000000',unit_no='盒',amount=4.20000000 * qty where goods_id='0000000005728' and open_id='1047';update tr_shopcart set price='2.00000000',unit_no='盒',amount=2.00000000 * qty where goods_id='0000000005730' and open_id='1047';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000005840' and open_id='1047';update tr_shopcart set price='2.70000000',unit_no='斤',amount=2.70000000 * qty where goods_id='0000000005843' and open_id='1047';update tr_shopcart set price='3.70000000',unit_no='斤',amount=3.70000000 * qty where goods_id='0000000005846' and open_id='1047';update tr_shopcart set price='3.80000000',unit_no='斤',amount=3.80000000 * qty where goods_id='0000000005861' and open_id='1047';update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000005863' and open_id='1047';update tr_shopcart set price='4.50000000',unit_no='斤',amount=4.50000000 * qty where goods_id='0000000005864' and open_id='1047';update tr_shopcart set price='17.00000000',unit_no='斤',amount=17.00000000 * qty where goods_id='0000000005644' and open_id='1047';update tr_shopcart set price='20.30000000',unit_no='斤',amount=20.30000000 * qty where goods_id='0000000004652' and open_id='1047';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000027' and open_id='1047';update tr_shopcart set price='6.60000000',unit_no='斤',amount=6.60000000 * qty where goods_id='0000000005785' and open_id='1047';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005790' and open_id='1047';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000005791' and open_id='1047';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005796' and open_id='1047';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005797' and open_id='1047';update tr_shopcart set price='3.40000000',unit_no='包',amount=3.40000000 * qty where goods_id='0000000005776' and open_id='1047';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000000965' and open_id='1047';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000000964' and open_id='1047';update tr_shopcart set price='5.50000000',unit_no='斤',amount=5.50000000 * qty where goods_id='0000000001276' and open_id='1047';update tr_shopcart set price='2.60000000',unit_no='斤',amount=2.60000000 * qty where goods_id='0000000005733' and open_id='1047';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000005736' and open_id='1047';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005745' and open_id='1047';update tr_shopcart set price='5.60000000',unit_no='斤',amount=5.60000000 * qty where goods_id='0000000005748' and open_id='1047';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005749' and open_id='1047'; [详细] => 在 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.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.ExecuteScalar() 在 Db.DBContext.ExecuteScalar(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.GetAll(String oper_id, String supcust_no) 在 Api.SingOut.b2b.mina.shopcart.get_all() [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => get_all [入参] => ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 14:18:24 [错误信息] => 事务(进程 ID 68)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005855' and open_id='1040';update tr_shopcart set price='12.00000000',unit_no='斤',amount=12.00000000 * qty where goods_id='0000000005921' and open_id='1040';update tr_shopcart set price='13.00000000',unit_no='斤',amount=13.00000000 * qty where goods_id='0000000005947' and open_id='1040';update tr_shopcart set price='24.50000000',unit_no='斤',amount=24.50000000 * qty where goods_id='0000000005949' and open_id='1040';update tr_shopcart set price='49.50000000',unit_no='斤',amount=49.50000000 * qty where goods_id='0000000005896' and open_id='1040';update tr_shopcart set price='15.10000000',unit_no='斤',amount=15.10000000 * qty where goods_id='0000000000832' and open_id='1040';update tr_shopcart set price='11.50000000',unit_no='斤',amount=11.50000000 * qty where goods_id='0000000005939' and open_id='1040';update tr_shopcart set price='5.80000000',unit_no='斤',amount=5.80000000 * qty where goods_id='0000000004758' and open_id='1040';update tr_shopcart set price='2.25000000',unit_no='斤',amount=2.25000000 * qty where goods_id='0000000005423' and open_id='1040';update tr_shopcart set price='6.25000000',unit_no='斤',amount=6.25000000 * qty where goods_id='0000000005493' and open_id='1040';update tr_shopcart set price='7.50000000',unit_no='斤',amount=7.50000000 * qty where goods_id='0000000005756' and open_id='1040';update tr_shopcart set price='5.70000000',unit_no='斤',amount=5.70000000 * qty where goods_id='0000000005822' and open_id='1040';update tr_shopcart set price='5.75000000',unit_no='斤',amount=5.75000000 * qty where goods_id='0000000005807' and open_id='1040';update tr_shopcart set price='47.00000000',unit_no='斤',amount=47.00000000 * qty where goods_id='0000000005895' and open_id='1040';update tr_shopcart set price='155.00000000',unit_no='斤',amount=155.00000000 * qty where goods_id='0000000004925' and open_id='1040';update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000005769' and open_id='1040';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005810' and open_id='1040'; [详细] => 在 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.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.ExecuteScalar() 在 Db.DBContext.ExecuteScalar(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.GetAll(String oper_id, String supcust_no) 在 Api.SingOut.b2b.mina.shopcart.get_all() [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => get_all [入参] => ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 14:33:48 [错误信息] => 事务(进程 ID 72)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => update tr_shopcart set price='22.00000000',unit_no='斤',amount=22.00000000 * qty where goods_id='0000000005905' and open_id='1016';update tr_shopcart set price='13.50000000',unit_no='斤',amount=13.50000000 * qty where goods_id='0000000005017' and open_id='1016';update tr_shopcart set price='13.80000000',unit_no='斤',amount=13.80000000 * qty where goods_id='0000000005873' and open_id='1016';update tr_shopcart set price='14.30000000',unit_no='斤',amount=14.30000000 * qty where goods_id='0000000005909' and open_id='1016';update tr_shopcart set price='4.60000000',unit_no='斤',amount=4.60000000 * qty where goods_id='0000000000871' and open_id='1016';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000005830' and open_id='1016';update tr_shopcart set price='14.40000000',unit_no='斤',amount=14.40000000 * qty where goods_id='0000000004928' and open_id='1016';update tr_shopcart set price='10.00000000',unit_no='斤',amount=10.00000000 * qty where goods_id='0000000001565' and open_id='1016';update tr_shopcart set price='13.80000000',unit_no='斤',amount=13.80000000 * qty where goods_id='0000000005015' and open_id='1016';update tr_shopcart set price='20.00000000',unit_no='只',amount=20.00000000 * qty where goods_id='0000000005137' and open_id='1016';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000005840' and open_id='1016';update tr_shopcart set price='2.70000000',unit_no='斤',amount=2.70000000 * qty where goods_id='0000000005843' and open_id='1016';update tr_shopcart set price='5.60000000',unit_no='斤',amount=5.60000000 * qty where goods_id='0000000005847' and open_id='1016';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005859' and open_id='1016';update tr_shopcart set price='3.80000000',unit_no='斤',amount=3.80000000 * qty where goods_id='0000000005861' and open_id='1016';update tr_shopcart set price='4.40000000',unit_no='斤',amount=4.40000000 * qty where goods_id='0000000005862' and open_id='1016';update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000005863' and open_id='1016';update tr_shopcart set price='4.50000000',unit_no='斤',amount=4.50000000 * qty where goods_id='0000000005864' and open_id='1016';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000005868' and open_id='1016';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000001290' and open_id='1016'; [详细] => 在 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.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.ExecuteScalar() 在 Db.DBContext.ExecuteScalar(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.GetAll(String oper_id, String supcust_no) 在 Api.SingOut.b2b.mina.shopcart.get_all() [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => get_all [入参] => ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 14:33:53 [错误信息] => 事务(进程 ID 70)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => update tr_shopcart set price='22.00000000',unit_no='斤',amount=22.00000000 * qty where goods_id='0000000005905' and open_id='1016';update tr_shopcart set price='13.50000000',unit_no='斤',amount=13.50000000 * qty where goods_id='0000000005017' and open_id='1016';update tr_shopcart set price='13.80000000',unit_no='斤',amount=13.80000000 * qty where goods_id='0000000005873' and open_id='1016';update tr_shopcart set price='14.30000000',unit_no='斤',amount=14.30000000 * qty where goods_id='0000000005909' and open_id='1016';update tr_shopcart set price='4.60000000',unit_no='斤',amount=4.60000000 * qty where goods_id='0000000000871' and open_id='1016';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000005830' and open_id='1016';update tr_shopcart set price='14.40000000',unit_no='斤',amount=14.40000000 * qty where goods_id='0000000004928' and open_id='1016';update tr_shopcart set price='10.00000000',unit_no='斤',amount=10.00000000 * qty where goods_id='0000000001565' and open_id='1016';update tr_shopcart set price='13.80000000',unit_no='斤',amount=13.80000000 * qty where goods_id='0000000005015' and open_id='1016';update tr_shopcart set price='20.00000000',unit_no='只',amount=20.00000000 * qty where goods_id='0000000005137' and open_id='1016';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000005840' and open_id='1016';update tr_shopcart set price='2.70000000',unit_no='斤',amount=2.70000000 * qty where goods_id='0000000005843' and open_id='1016';update tr_shopcart set price='5.60000000',unit_no='斤',amount=5.60000000 * qty where goods_id='0000000005847' and open_id='1016';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005859' and open_id='1016';update tr_shopcart set price='3.80000000',unit_no='斤',amount=3.80000000 * qty where goods_id='0000000005861' and open_id='1016';update tr_shopcart set price='4.40000000',unit_no='斤',amount=4.40000000 * qty where goods_id='0000000005862' and open_id='1016';update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000005863' and open_id='1016';update tr_shopcart set price='4.50000000',unit_no='斤',amount=4.50000000 * qty where goods_id='0000000005864' and open_id='1016';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000005868' and open_id='1016';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000001290' and open_id='1016'; [详细] => 在 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.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.ExecuteScalar() 在 Db.DBContext.ExecuteScalar(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.GetAll(String oper_id, String supcust_no) 在 Api.SingOut.b2b.mina.shopcart.get_all() [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => get_all [入参] => ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 14:34:05 [错误信息] => 事务(进程 ID 73)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000005782' and open_id='1033';update tr_shopcart set price='2.20000000',unit_no='斤',amount=2.20000000 * qty where goods_id='0000000005809' and open_id='1033';update tr_shopcart set price='3.80000000',unit_no='斤',amount=3.80000000 * qty where goods_id='0000000005852' and open_id='1033';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000004769' and open_id='1033';update tr_shopcart set price='3.80000000',unit_no='斤',amount=3.80000000 * qty where goods_id='0000000001247' and open_id='1033';update tr_shopcart set price='5.75000000',unit_no='斤',amount=5.75000000 * qty where goods_id='0000000005807' and open_id='1033';update tr_shopcart set price='7.80000000',unit_no='斤',amount=7.80000000 * qty where goods_id='0000000005768' and open_id='1033';update tr_shopcart set price='4.90000000',unit_no='斤',amount=4.90000000 * qty where goods_id='0000000005765' and open_id='1033';update tr_shopcart set price='6.50000000',unit_no='斤',amount=6.50000000 * qty where goods_id='0000000005763' and open_id='1033';update tr_shopcart set price='1.80000000',unit_no='斤',amount=1.80000000 * qty where goods_id='0000000005762' and open_id='1033';update tr_shopcart set price='1.10000000',unit_no='斤',amount=1.10000000 * qty where goods_id='0000000005827' and open_id='1033';update tr_shopcart set price='1.87000000',unit_no='斤',amount=1.87000000 * qty where goods_id='0000000005826' and open_id='1033';update tr_shopcart set price='1.90000000',unit_no='斤',amount=1.90000000 * qty where goods_id='0000000005824' and open_id='1033';update tr_shopcart set price='3.40000000',unit_no='斤',amount=3.40000000 * qty where goods_id='0000000005821' and open_id='1033';update tr_shopcart set price='2.20000000',unit_no='斤',amount=2.20000000 * qty where goods_id='0000000005813' and open_id='1033';update tr_shopcart set price='5.70000000',unit_no='斤',amount=5.70000000 * qty where goods_id='0000000005822' and open_id='1033';update tr_shopcart set price='7.00000000',unit_no='斤',amount=7.00000000 * qty where goods_id='0000000005818' and open_id='1033';update tr_shopcart set price='2.00000000',unit_no='斤',amount=2.00000000 * qty where goods_id='0000000005814' and open_id='1033';update tr_shopcart set price='2.80000000',unit_no='斤',amount=2.80000000 * qty where goods_id='0000000005812' and open_id='1033';update tr_shopcart set price='3.60000000',unit_no='斤',amount=3.60000000 * qty where goods_id='0000000005800' and open_id='1033';update tr_shopcart set price='2.20000000',unit_no='斤',amount=2.20000000 * qty where goods_id='0000000004780' and open_id='1033';update tr_shopcart set price='2.70000000',unit_no='斤',amount=2.70000000 * qty where goods_id='0000000001749' and open_id='1033';update tr_shopcart set price='2.20000000',unit_no='斤',amount=2.20000000 * qty where goods_id='0000000001746' and open_id='1033';update tr_shopcart set price='3.80000000',unit_no='斤',amount=3.80000000 * qty where goods_id='0000000001377' and open_id='1033';update tr_shopcart set price='5.30000000',unit_no='斤',amount=5.30000000 * qty where goods_id='0000000004697' and open_id='1033';update tr_shopcart set price='6.25000000',unit_no='斤',amount=6.25000000 * qty where goods_id='0000000004689' and open_id='1033';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005810' and open_id='1033';update tr_shopcart set price='6.00000000',unit_no='斤',amount=6.00000000 * qty where goods_id='0000000005759' and open_id='1033';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005758' and open_id='1033';update tr_shopcart set price='7.50000000',unit_no='斤',amount=7.50000000 * qty where goods_id='0000000005756' and open_id='1033';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000004720' and open_id='1033';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005790' and open_id='1033';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000005791' and open_id='1033';update tr_shopcart set price='5.60000000',unit_no='斤',amount=5.60000000 * qty where goods_id='0000000005748' and open_id='1033';update tr_shopcart set price='4.60000000',unit_no='斤',amount=4.60000000 * qty where goods_id='0000000005747' and open_id='1033';update tr_shopcart set price='14.40000000',unit_no='斤',amount=14.40000000 * qty where goods_id='0000000004928' and open_id='1033';update tr_shopcart set price='5.50000000',unit_no='斤',amount=5.50000000 * qty where goods_id='0000000001276' and open_id='1033'; [详细] => 在 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.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.ExecuteScalar() 在 Db.DBContext.ExecuteScalar(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.GetAll(String oper_id, String supcust_no) 在 Api.SingOut.b2b.mina.shopcart.get_all() [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => get_all [入参] => ************************************************************************************** **************************mima_b2b_Login()2022/6/26 14:35:25************************* paramter0:1049 paramter1:oDppT5GP2QJkyiPruaV46GM9Ez7Y Api.Helper.Exceptions.KatException: 密码错误 在 Api.BLL.b2b.CustomerService.mima_b2b_Login(String oper_id, String pwd, String open_id, B2B_Oper& oper, String& token) ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 14:35:25 [错误信息] => 密码错误 [sql] => select a.oper_id, a.oper_name, a.oper_pwd, a.open_id, (case when isnull(c.cust_level, 1) = '' then '1' else isnull(c.cust_level, 1) end) as cus_level, c.is_branch, b.supcust_no, c.supcust_group from sa_t_mobile_oper as a inner join sa_t_mobile_data_main as b on a.oper_id = b.oper_id left join bi_t_supcust_info as c on b.supcust_no = c.supcust_no where a.oper_id = '1049' or a.login_no = '1049' [详细] => 在 Api.BLL.b2b.CustomerService.mima_b2b_Login(String oper_id, String pwd, String open_id, B2B_Oper& oper, String& token) 在 Api.SingOut.b2b.mina.oper.login(String card_id, String vip_pass, String is_bind, String open_id) [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.oper , [方法] => login [入参] => {"card_id":"1049","vip_pass":"jyx816","is_bind":"1","open_id":"oDppT5GP2QJkyiPruaV46GM9Ez7Y"} ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 14:37:11 [错误信息] => 事务(进程 ID 68)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => update tr_shopcart set price='3.80000000',unit_no='斤',amount=3.80000000 * qty where goods_id='0000000005861' and open_id='1027';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000005868' and open_id='1027';update tr_shopcart set price='2.30000000',unit_no='斤',amount=2.30000000 * qty where goods_id='0000000005786' and open_id='1027';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000001290' and open_id='1027';update tr_shopcart set price='1.90000000',unit_no='斤',amount=1.90000000 * qty where goods_id='0000000000924' and open_id='1027';update tr_shopcart set price='2.80000000',unit_no='斤',amount=2.80000000 * qty where goods_id='0000000005732' and open_id='1027';update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000005870' and open_id='1027';update tr_shopcart set price='2.00000000',unit_no='斤',amount=2.00000000 * qty where goods_id='0000000005814' and open_id='1027';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005819' and open_id='1027';update tr_shopcart set price='3.40000000',unit_no='斤',amount=3.40000000 * qty where goods_id='0000000005821' and open_id='1027';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005859' and open_id='1027';update tr_shopcart set price='1.80000000',unit_no='斤',amount=1.80000000 * qty where goods_id='0000000005774' and open_id='1027';update tr_shopcart set price='1.20000000',unit_no='斤',amount=1.20000000 * qty where goods_id='0000000000028' and open_id='1027';update tr_shopcart set price='1.70000000',unit_no='斤',amount=1.70000000 * qty where goods_id='0000000005752' and open_id='1027';update tr_shopcart set price='2.00000000',unit_no='斤',amount=2.00000000 * qty where goods_id='0000000005753' and open_id='1027';update tr_shopcart set price='2.70000000',unit_no='斤',amount=2.70000000 * qty where goods_id='0000000005843' and open_id='1027';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005844' and open_id='1027';update tr_shopcart set price='3.60000000',unit_no='斤',amount=3.60000000 * qty where goods_id='0000000005800' and open_id='1027'; [详细] => 在 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.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.ExecuteScalar() 在 Db.DBContext.ExecuteScalar(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.GetAll(String oper_id, String supcust_no) 在 Api.SingOut.b2b.mina.shopcart.get_all() [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => get_all [入参] => ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 14:37:53 [错误信息] => 事务(进程 ID 71)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 [sql] => update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005773' and open_id='1016';update tr_shopcart set price='1.80000000',unit_no='斤',amount=1.80000000 * qty where goods_id='0000000005774' and open_id='1016';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005741' and open_id='1016';update tr_shopcart set price='3.40000000',unit_no='斤',amount=3.40000000 * qty where goods_id='0000000005743' and open_id='1016';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005746' and open_id='1016';update tr_shopcart set price='22.00000000',unit_no='斤',amount=22.00000000 * qty where goods_id='0000000005905' and open_id='1016';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005810' and open_id='1016';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000002448' and open_id='1016';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000004776' and open_id='1016';update tr_shopcart set price='4.30000000',unit_no='斤',amount=4.30000000 * qty where goods_id='0000000005718' and open_id='1016';update tr_shopcart set price='2.70000000',unit_no='斤',amount=2.70000000 * qty where goods_id='0000000001749' and open_id='1016';update tr_shopcart set price='13.50000000',unit_no='斤',amount=13.50000000 * qty where goods_id='0000000005017' and open_id='1016';update tr_shopcart set price='13.80000000',unit_no='斤',amount=13.80000000 * qty where goods_id='0000000005873' and open_id='1016';update tr_shopcart set price='14.30000000',unit_no='斤',amount=14.30000000 * qty where goods_id='0000000005909' and open_id='1016';update tr_shopcart set price='4.60000000',unit_no='斤',amount=4.60000000 * qty where goods_id='0000000000871' and open_id='1016';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000005830' and open_id='1016';update tr_shopcart set price='5.50000000',unit_no='斤',amount=5.50000000 * qty where goods_id='0000000001048' and open_id='1016';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005750' and open_id='1016';update tr_shopcart set price='2.00000000',unit_no='斤',amount=2.00000000 * qty where goods_id='0000000005753' and open_id='1016';update tr_shopcart set price='5.80000000',unit_no='斤',amount=5.80000000 * qty where goods_id='0000000004758' and open_id='1016';update tr_shopcart set price='14.40000000',unit_no='斤',amount=14.40000000 * qty where goods_id='0000000004928' and open_id='1016';update tr_shopcart set price='10.00000000',unit_no='斤',amount=10.00000000 * qty where goods_id='0000000001565' and open_id='1016';update tr_shopcart set price='13.80000000',unit_no='斤',amount=13.80000000 * qty where goods_id='0000000005015' and open_id='1016';update tr_shopcart set price='20.00000000',unit_no='只',amount=20.00000000 * qty where goods_id='0000000005137' and open_id='1016';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000005840' and open_id='1016';update tr_shopcart set price='2.70000000',unit_no='斤',amount=2.70000000 * qty where goods_id='0000000005843' and open_id='1016';update tr_shopcart set price='5.60000000',unit_no='斤',amount=5.60000000 * qty where goods_id='0000000005847' and open_id='1016';update tr_shopcart set price='2.50000000',unit_no='斤',amount=2.50000000 * qty where goods_id='0000000005859' and open_id='1016';update tr_shopcart set price='3.80000000',unit_no='斤',amount=3.80000000 * qty where goods_id='0000000005861' and open_id='1016';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000005772' and open_id='1016';update tr_shopcart set price='3.40000000',unit_no='包',amount=3.40000000 * qty where goods_id='0000000005776' and open_id='1016';update tr_shopcart set price='1.60000000',unit_no='斤',amount=1.60000000 * qty where goods_id='0000000005778' and open_id='1016';update tr_shopcart set price='2.20000000',unit_no='斤',amount=2.20000000 * qty where goods_id='0000000000660' and open_id='1016';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000000964' and open_id='1016';update tr_shopcart set price='4.30000000',unit_no='斤',amount=4.30000000 * qty where goods_id='0000000001278' and open_id='1016';update tr_shopcart set price='4.50000000',unit_no='斤',amount=4.50000000 * qty where goods_id='0000000005709' and open_id='1016';update tr_shopcart set price='3.20000000',unit_no='斤',amount=3.20000000 * qty where goods_id='0000000005799' and open_id='1016';update tr_shopcart set price='3.40000000',unit_no='斤',amount=3.40000000 * qty where goods_id='0000000005821' and open_id='1016';update tr_shopcart set price='5.70000000',unit_no='斤',amount=5.70000000 * qty where goods_id='0000000005822' and open_id='1016';update tr_shopcart set price='6.00000000',unit_no='斤',amount=6.00000000 * qty where goods_id='0000000005823' and open_id='1016';update tr_shopcart set price='4.80000000',unit_no='斤',amount=4.80000000 * qty where goods_id='0000000005757' and open_id='1016';update tr_shopcart set price='3.40000000',unit_no='斤',amount=3.40000000 * qty where goods_id='0000000004688' and open_id='1016';update tr_shopcart set price='6.00000000',unit_no='斤',amount=6.00000000 * qty where goods_id='0000000005759' and open_id='1016';update tr_shopcart set price='4.20000000',unit_no='斤',amount=4.20000000 * qty where goods_id='0000000005749' and open_id='1016';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000004755' and open_id='1016';update tr_shopcart set price='3.50000000',unit_no='斤',amount=3.50000000 * qty where goods_id='0000000005808' and open_id='1016';update tr_shopcart set price='2.70000000',unit_no='斤',amount=2.70000000 * qty where goods_id='0000000005803' and open_id='1016';update tr_shopcart set price='1.10000000',unit_no='斤',amount=1.10000000 * qty where goods_id='0000000005827' and open_id='1016';update tr_shopcart set price='4.40000000',unit_no='斤',amount=4.40000000 * qty where goods_id='0000000005862' and open_id='1016';update tr_shopcart set price='4.00000000',unit_no='斤',amount=4.00000000 * qty where goods_id='0000000005863' and open_id='1016';update tr_shopcart set price='4.50000000',unit_no='斤',amount=4.50000000 * qty where goods_id='0000000005864' and open_id='1016';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000005868' and open_id='1016';update tr_shopcart set price='1.40000000',unit_no='斤',amount=1.40000000 * qty where goods_id='0000000001290' and open_id='1016';update tr_shopcart set price='5.20000000',unit_no='斤',amount=5.20000000 * qty where goods_id='0000000004720' and open_id='1016';update tr_shopcart set price='3.00000000',unit_no='斤',amount=3.00000000 * qty where goods_id='0000000005755' and open_id='1016';update tr_shopcart set price='7.50000000',unit_no='斤',amount=7.50000000 * qty where goods_id='0000000005756' and open_id='1016';update tr_shopcart set price='2.20000000',unit_no='斤',amount=2.20000000 * qty where goods_id='0000000001746' and open_id='1016'; [详细] => 在 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.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.ExecuteScalar() 在 Db.DBContext.ExecuteScalar(String sql, IDbDataParameter[] pars) 在 Api.BLL.b2b.ShopCartService.GetAll(String oper_id, String supcust_no) 在 Api.SingOut.b2b.mina.shopcart.get_all() [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.shopcart , [方法] => get_all [入参] => ************************************************************************************** **************************mima_b2b_Login()2022/6/26 14:43:49************************* paramter0:1032 paramter1:oDppT5Old6jsmInyLVPhRTLvYSDw Api.Helper.Exceptions.KatException: 密码错误 在 Api.BLL.b2b.CustomerService.mima_b2b_Login(String oper_id, String pwd, String open_id, B2B_Oper& oper, String& token) ************************************************************************************** ************************************************************************************** [意料之外的错误] ----- 2022-06-26 14:43:49 [错误信息] => 密码错误 [sql] => select a.oper_id, a.oper_name, a.oper_pwd, a.open_id, (case when isnull(c.cust_level, 1) = '' then '1' else isnull(c.cust_level, 1) end) as cus_level, c.is_branch, b.supcust_no, c.supcust_group from sa_t_mobile_oper as a inner join sa_t_mobile_data_main as b on a.oper_id = b.oper_id left join bi_t_supcust_info as c on b.supcust_no = c.supcust_no where a.oper_id = '1032' or a.login_no = '1032' [详细] => 在 Api.BLL.b2b.CustomerService.mima_b2b_Login(String oper_id, String pwd, String open_id, B2B_Oper& oper, String& token) 在 Api.SingOut.b2b.mina.oper.login(String card_id, String vip_pass, String is_bind, String open_id) [路由] => Api.SingOut.b2b.mina.SingOut.b2b.mina.oper , [方法] => login [入参] => {"card_id":"1032","vip_pass":"123457","is_bind":"1","open_id":"oDppT5Old6jsmInyLVPhRTLvYSDw"} **************************************************************************************