2025-11-27 11:18:38,696 [15484] ERROR Servicesms_WorkOrder - 获取字段失败 System.Data.SqlClient.SqlException (0x80131904): 事务(进程 ID 113)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 在 Zeego.Data.ExecuteQueryHandler.HandleQueryException(Exception exception) 位置 D:\Project\xiaoxiuxiu\Zephyr.Net\Zephyr.Data\Command\Handlers\ExecuteQueryHandler.cs:行号 107 在 Zeego.Data.ExecuteQueryHandler.ExecuteQuery(Boolean useReader, Action action) 位置 D:\Project\xiaoxiuxiu\Zephyr.Net\Zephyr.Data\Command\Handlers\ExecuteQueryHandler.cs:行号 28 在 Zeego.Data.DbCommand.QuerySingle[TEntity](Action`2 customMapper) 位置 D:\Project\xiaoxiuxiu\Zephyr.Net\Zephyr.Data\Command\PartialClasses\QuerySingle.cs:行号 12 在 Zeego.Data.SelectBuilder`1.QueryValue[TField]() 位置 D:\Project\xiaoxiuxiu\Zephyr.Net\Zephyr.Data\Builders\Select\SelectBuilder.cs:行号 165 在 Zeego.Core.ServiceBase`1.<>c__DisplayClass76_0`1.b__0() 位置 D:\Project\xiaoxiuxiu\Zephyr.Net\Zephyr.Core\Base\ServiceBaseQuery.cs:行号 136 在 Zeego.Core.LogHelper.Logger(ILog log, String function, ErrorHandle errorHandleType, Action tryHandle, Action`1 catchHandle, Action finallyHandle) 位置 D:\Project\xiaoxiuxiu\Zephyr.Net\Zephyr.Core\Logs\LogHelper.cs:行号 44 ClientConnectionId:11acc626-b24c-4c81-a6c8-ef91444eb972 Error Number:1205,State:51,Class:13 2025-11-27 15:19:55,861 [22052] ERROR Servicewsi_warehouseStock - 师傅库存操作失败 System.Exception: 厂家编号:,设备名称:全沃10寸碳棒,库存不足,请补充库存后再进行操作! 在 Zeego.Models.wsi_warehouseStockService.UpdateWorkerStock(IDbContext DB, String warehouseCode, String MaterialCode, String Unit, Decimal UnitPrice, Decimal Num, String MaterialGroup, Boolean isPlus, String billNo, String FactoryCode, String Name, Boolean IsSalesOut, List`1& warehouseList, String& SQL) 位置 D:\Project\xiaoxiuxiu\Zephyr.Web\Areas\Psi\Models\wsi_warehouseStock.cs:行号 195 在 Zeego.Models.wsi_warehouseStockService.UpdateWorkerWarehouseStock(IDbContext DB, Object rows, String masterTableName, String billNo, String WorkerCode, Boolean isPlus, Boolean IsSalesOut) 位置 D:\Project\xiaoxiuxiu\Zephyr.Web\Areas\Psi\Models\wsi_warehouseStock.cs:行号 430 在 Zeego.Models.wsi_warehouseStockService.UpdateWorkerWarehouseStockContract(IDbContext DB, String workOrderID, String workerCode, List`1 materialList, Boolean plus, String ServiceType) 位置 D:\Project\xiaoxiuxiu\Zephyr.Web\Areas\Psi\Models\wsi_warehouseStock.cs:行号 1116 在 CallSite.Target(Closure , CallSite , wsi_warehouseStockService , IDbContext , String , String , List`1 , Boolean , Object ) 在 System.Dynamic.UpdateDelegates.UpdateAndExecuteVoid7[T0,T1,T2,T3,T4,T5,T6](CallSite site, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6) 在 Zeego.Models.wsi_warehouseStockService.OperateWorkerStockNew(IDbContext DB, String workOrderID, String workerCode, List`1 materialList) 位置 D:\Project\xiaoxiuxiu\Zephyr.Web\Areas\Psi\Models\wsi_warehouseStock.cs:行号 694 在 Zeego.Models.wsi_warehouseStockService.<>c__DisplayClass5_1.b__2() 位置 D:\Project\xiaoxiuxiu\Zephyr.Web\Areas\Psi\Models\wsi_warehouseStock.cs:行号 619 在 Zeego.Core.LogHelper.Logger(ILog log, String function, ErrorHandle errorHandleType, Action tryHandle, Action`1 catchHandle, Action finallyHandle) 位置 D:\Project\xiaoxiuxiu\Zephyr.Net\Zephyr.Core\Logs\LogHelper.cs:行号 44 2025-11-27 15:19:55,894 [22052] ERROR Servicesms_WorkOrder - 完成工单操作记录失败 System.Exception: 厂家编号:,设备名称:全沃10寸碳棒,库存不足,请补充库存后再进行操作! 在 Zeego.Models.wsi_warehouseStockService.UpdateWorkerSaleAndStock(IDbContext db, String workOrderId, String workerCode, Nullable`1 isReject, String saleOrderBillNo, Decimal totalMoney, Boolean isreject) 位置 D:\Project\xiaoxiuxiu\Zephyr.Web\Areas\Psi\Models\wsi_warehouseStock.cs:行号 642 在 Zeego.Models.sms_WorkOrderService.<>c__DisplayClass10_0.b__0() 位置 D:\Project\xiaoxiuxiu\Zephyr.Web\Areas\Sms\Models\sms_WorkOrder.cs:行号 1605 在 Zeego.Core.LogHelper.Logger(ILog log, String function, ErrorHandle errorHandleType, Action tryHandle, Action`1 catchHandle, Action finallyHandle) 位置 D:\Project\xiaoxiuxiu\Zephyr.Net\Zephyr.Core\Logs\LogHelper.cs:行号 44