2025-10-07 10:45:27,402 [109584] ERROR Servicewsi_warehouseStock - 师傅库存操作失败 System.Exception: 厂家编号:190005-0067,设备名称:自制模块式炭棒滤芯,库存不足,请补充库存后再进行操作! 在 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\ServiceSMS\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\ServiceSMS\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\ServiceSMS\Zephyr.Web\Areas\Psi\Models\wsi_warehouseStock.cs:行号 1116 在 CallSite.Target(Closure , CallSite , wsi_warehouseStockService , IDbContext , String , String , List`1 , Boolean , Object ) 在 Zeego.Models.wsi_warehouseStockService.OperateWorkerStockNew(IDbContext DB, String workOrderID, String workerCode, List`1 materialList) 位置 D:\Project\ServiceSMS\Zephyr.Web\Areas\Psi\Models\wsi_warehouseStock.cs:行号 694 在 Zeego.Models.wsi_warehouseStockService.<>c__DisplayClass5_1.b__2() 位置 D:\Project\ServiceSMS\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\ServiceSMS\Zephyr.Net\Zephyr.Core\Logs\LogHelper.cs:行号 44 2025-10-07 10:45:27,449 [109584] ERROR Servicesms_WorkOrder - 完成工单操作记录失败 System.Exception: 厂家编号:190005-0067,设备名称:自制模块式炭棒滤芯,库存不足,请补充库存后再进行操作! 在 Zeego.Models.wsi_warehouseStockService.UpdateWorkerSaleAndStock(IDbContext db, String workOrderId, String workerCode, Nullable`1 isReject, String saleOrderBillNo, Decimal totalMoney, Boolean isreject) 位置 D:\Project\ServiceSMS\Zephyr.Web\Areas\Psi\Models\wsi_warehouseStock.cs:行号 642 在 Zeego.Models.sms_WorkOrderService.<>c__DisplayClass10_0.b__0() 位置 D:\Project\ServiceSMS\Zephyr.Web\Areas\Sms\Models\sms_WorkOrder.cs:行号 1819 在 Zeego.Core.LogHelper.Logger(ILog log, String function, ErrorHandle errorHandleType, Action tryHandle, Action`1 catchHandle, Action finallyHandle) 位置 D:\Project\ServiceSMS\Zephyr.Net\Zephyr.Core\Logs\LogHelper.cs:行号 44 2025-10-07 15:35:32,903 [219424] ERROR Servicewsi_warehouseStock - 师傅库存操作失败 System.Exception: 厂家编号:190007-0043,设备名称:RO膜滤芯,50G,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\ServiceSMS\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\ServiceSMS\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\ServiceSMS\Zephyr.Web\Areas\Psi\Models\wsi_warehouseStock.cs:行号 1116 在 CallSite.Target(Closure , CallSite , wsi_warehouseStockService , IDbContext , String , String , List`1 , Boolean , Object ) 在 Zeego.Models.wsi_warehouseStockService.OperateWorkerStockNew(IDbContext DB, String workOrderID, String workerCode, List`1 materialList) 位置 D:\Project\ServiceSMS\Zephyr.Web\Areas\Psi\Models\wsi_warehouseStock.cs:行号 738 在 Zeego.Models.wsi_warehouseStockService.<>c__DisplayClass5_1.b__2() 位置 D:\Project\ServiceSMS\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\ServiceSMS\Zephyr.Net\Zephyr.Core\Logs\LogHelper.cs:行号 44 2025-10-07 15:35:32,903 [219424] ERROR Servicesms_WorkOrder - 完成工单操作记录失败 System.Exception: 厂家编号:190007-0043,设备名称:RO膜滤芯,50G,10寸模块,库存不足,请补充库存后再进行操作! 在 Zeego.Models.wsi_warehouseStockService.UpdateWorkerSaleAndStock(IDbContext db, String workOrderId, String workerCode, Nullable`1 isReject, String saleOrderBillNo, Decimal totalMoney, Boolean isreject) 位置 D:\Project\ServiceSMS\Zephyr.Web\Areas\Psi\Models\wsi_warehouseStock.cs:行号 642 在 Zeego.Models.sms_WorkOrderService.<>c__DisplayClass10_0.b__0() 位置 D:\Project\ServiceSMS\Zephyr.Web\Areas\Sms\Models\sms_WorkOrder.cs:行号 1819 在 Zeego.Core.LogHelper.Logger(ILog log, String function, ErrorHandle errorHandleType, Action tryHandle, Action`1 catchHandle, Action finallyHandle) 位置 D:\Project\ServiceSMS\Zephyr.Net\Zephyr.Core\Logs\LogHelper.cs:行号 44 2025-10-07 15:36:24,733 [364696] ERROR Servicewsi_warehouseStock - 师傅库存操作失败 System.Exception: 厂家编号:190007-0043,设备名称:RO膜滤芯,50G,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\ServiceSMS\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\ServiceSMS\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\ServiceSMS\Zephyr.Web\Areas\Psi\Models\wsi_warehouseStock.cs:行号 1116 在 CallSite.Target(Closure , CallSite , wsi_warehouseStockService , IDbContext , String , String , List`1 , Boolean , Object ) 在 Zeego.Models.wsi_warehouseStockService.OperateWorkerStockNew(IDbContext DB, String workOrderID, String workerCode, List`1 materialList) 位置 D:\Project\ServiceSMS\Zephyr.Web\Areas\Psi\Models\wsi_warehouseStock.cs:行号 738 在 Zeego.Models.wsi_warehouseStockService.<>c__DisplayClass5_1.b__2() 位置 D:\Project\ServiceSMS\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\ServiceSMS\Zephyr.Net\Zephyr.Core\Logs\LogHelper.cs:行号 44 2025-10-07 15:36:24,733 [364696] ERROR Servicesms_WorkOrder - 完成工单操作记录失败 System.Exception: 厂家编号:190007-0043,设备名称:RO膜滤芯,50G,10寸模块,库存不足,请补充库存后再进行操作! 在 Zeego.Models.wsi_warehouseStockService.UpdateWorkerSaleAndStock(IDbContext db, String workOrderId, String workerCode, Nullable`1 isReject, String saleOrderBillNo, Decimal totalMoney, Boolean isreject) 位置 D:\Project\ServiceSMS\Zephyr.Web\Areas\Psi\Models\wsi_warehouseStock.cs:行号 642 在 Zeego.Models.sms_WorkOrderService.<>c__DisplayClass10_0.b__0() 位置 D:\Project\ServiceSMS\Zephyr.Web\Areas\Sms\Models\sms_WorkOrder.cs:行号 1819 在 Zeego.Core.LogHelper.Logger(ILog log, String function, ErrorHandle errorHandleType, Action tryHandle, Action`1 catchHandle, Action finallyHandle) 位置 D:\Project\ServiceSMS\Zephyr.Net\Zephyr.Core\Logs\LogHelper.cs:行号 44 2025-10-07 19:20:22,761 [70860] ERROR Servicesms_material - 获取动态列表失败 System.Data.SqlClient.SqlException (0x80131904): 关键字 'distinct' 附近有语法错误。 在 Zeego.Data.ExecuteQueryHandler.HandleQueryException(Exception exception) 位置 D:\Project\ServiceSMS\Zephyr.Net\Zephyr.Data\Command\Handlers\ExecuteQueryHandler.cs:行号 107 在 Zeego.Data.ExecuteQueryHandler.ExecuteQuery(Boolean useReader, Action action) 位置 D:\Project\ServiceSMS\Zephyr.Net\Zephyr.Data\Command\Handlers\ExecuteQueryHandler.cs:行号 28 在 Zeego.Data.DbCommand.QueryMany[TEntity,TList](Action`2 customMapper) 位置 D:\Project\ServiceSMS\Zephyr.Net\Zephyr.Data\Command\PartialClasses\QueryMany.cs:行号 14 在 Zeego.Data.DbCommand.QueryMany[TEntity](Action`2 customMapper) 位置 D:\Project\ServiceSMS\Zephyr.Net\Zephyr.Data\Command\PartialClasses\QueryMany.cs:行号 36 在 Zeego.Data.SelectBuilder`1.QueryManyDynamic() 位置 D:\Project\ServiceSMS\Zephyr.Net\Zephyr.Data\Builders\Select\SelectBuilder.cs:行号 150 在 Zeego.Core.ServiceBase`1.<>c__DisplayClass68_0.b__0() 位置 D:\Project\ServiceSMS\Zephyr.Net\Zephyr.Core\Base\ServiceBaseQuery.cs:行号 54 在 Zeego.Core.LogHelper.Logger(ILog log, String function, ErrorHandle errorHandleType, Action tryHandle, Action`1 catchHandle, Action finallyHandle) 位置 D:\Project\ServiceSMS\Zephyr.Net\Zephyr.Core\Logs\LogHelper.cs:行号 44 ClientConnectionId:d4e6bf9c-1f20-41a3-b2cc-f1e23f4b444a Error Number:156,State:1,Class:15 2025-10-07 19:20:29,293 [395348] ERROR Servicesms_material - 获取动态列表失败 System.Data.SqlClient.SqlException (0x80131904): 关键字 'distinct' 附近有语法错误。 在 Zeego.Data.ExecuteQueryHandler.HandleQueryException(Exception exception) 位置 D:\Project\ServiceSMS\Zephyr.Net\Zephyr.Data\Command\Handlers\ExecuteQueryHandler.cs:行号 107 在 Zeego.Data.ExecuteQueryHandler.ExecuteQuery(Boolean useReader, Action action) 位置 D:\Project\ServiceSMS\Zephyr.Net\Zephyr.Data\Command\Handlers\ExecuteQueryHandler.cs:行号 28 在 Zeego.Data.DbCommand.QueryMany[TEntity,TList](Action`2 customMapper) 位置 D:\Project\ServiceSMS\Zephyr.Net\Zephyr.Data\Command\PartialClasses\QueryMany.cs:行号 14 在 Zeego.Data.DbCommand.QueryMany[TEntity](Action`2 customMapper) 位置 D:\Project\ServiceSMS\Zephyr.Net\Zephyr.Data\Command\PartialClasses\QueryMany.cs:行号 36 在 Zeego.Data.SelectBuilder`1.QueryManyDynamic() 位置 D:\Project\ServiceSMS\Zephyr.Net\Zephyr.Data\Builders\Select\SelectBuilder.cs:行号 150 在 Zeego.Core.ServiceBase`1.<>c__DisplayClass68_0.b__0() 位置 D:\Project\ServiceSMS\Zephyr.Net\Zephyr.Core\Base\ServiceBaseQuery.cs:行号 54 在 Zeego.Core.LogHelper.Logger(ILog log, String function, ErrorHandle errorHandleType, Action tryHandle, Action`1 catchHandle, Action finallyHandle) 位置 D:\Project\ServiceSMS\Zephyr.Net\Zephyr.Core\Logs\LogHelper.cs:行号 44 ClientConnectionId:d4e6bf9c-1f20-41a3-b2cc-f1e23f4b444a Error Number:156,State:1,Class:15 2025-10-07 19:20:32,284 [406796] ERROR Servicesms_material - 获取动态列表失败 System.Data.SqlClient.SqlException (0x80131904): 关键字 'distinct' 附近有语法错误。 在 Zeego.Data.ExecuteQueryHandler.HandleQueryException(Exception exception) 位置 D:\Project\ServiceSMS\Zephyr.Net\Zephyr.Data\Command\Handlers\ExecuteQueryHandler.cs:行号 107 在 Zeego.Data.ExecuteQueryHandler.ExecuteQuery(Boolean useReader, Action action) 位置 D:\Project\ServiceSMS\Zephyr.Net\Zephyr.Data\Command\Handlers\ExecuteQueryHandler.cs:行号 28 在 Zeego.Data.DbCommand.QueryMany[TEntity,TList](Action`2 customMapper) 位置 D:\Project\ServiceSMS\Zephyr.Net\Zephyr.Data\Command\PartialClasses\QueryMany.cs:行号 14 在 Zeego.Data.DbCommand.QueryMany[TEntity](Action`2 customMapper) 位置 D:\Project\ServiceSMS\Zephyr.Net\Zephyr.Data\Command\PartialClasses\QueryMany.cs:行号 36 在 Zeego.Data.SelectBuilder`1.QueryManyDynamic() 位置 D:\Project\ServiceSMS\Zephyr.Net\Zephyr.Data\Builders\Select\SelectBuilder.cs:行号 150 在 Zeego.Core.ServiceBase`1.<>c__DisplayClass68_0.b__0() 位置 D:\Project\ServiceSMS\Zephyr.Net\Zephyr.Core\Base\ServiceBaseQuery.cs:行号 54 在 Zeego.Core.LogHelper.Logger(ILog log, String function, ErrorHandle errorHandleType, Action tryHandle, Action`1 catchHandle, Action finallyHandle) 位置 D:\Project\ServiceSMS\Zephyr.Net\Zephyr.Core\Logs\LogHelper.cs:行号 44 ClientConnectionId:d4e6bf9c-1f20-41a3-b2cc-f1e23f4b444a Error Number:156,State:1,Class:15