2025-11-27 08:50:54,571 [328316] ERROR Servicesms_WorkOrder - 完成工单操作记录失败 System.Exception: 用户套餐中(190005-0030)后置颗粒炭滤芯,MG-小T33物料不足,请核对 在 Zeego.Models.psi_salesOrderService.WorkOrderUsePackage(IDbContext db, String materialList, String WorkOrderID, String WorkerCode, String DeviceNo, String ConsumerID) 位置 D:\Project\ServiceSMS\Zephyr.Web\Areas\Psi\Models\psi_salesOrder.cs:行号 1741 在 Zeego.Models.sms_WorkOrderService.<>c__DisplayClass10_0.b__0() 位置 D:\Project\ServiceSMS\Zephyr.Web\Areas\Sms\Models\sms_WorkOrder.cs:行号 1724 在 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-11-27 10:07:44,202 [368168] 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:715aaa55-d1ab-43dd-9bcc-f261e52326bd Error Number:156,State:1,Class:15 2025-11-27 10:07:47,185 [41200] 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:715aaa55-d1ab-43dd-9bcc-f261e52326bd Error Number:156,State:1,Class:15 2025-11-27 10:07:56,333 [328316] 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:473fad99-14e7-4d7b-99f0-bfa513ada291 Error Number:156,State:1,Class:15 2025-11-27 10:12:24,133 [380492] 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:768025ab-e8ca-4c26-a1b0-4bcf5214e144 Error Number:156,State:1,Class:15 2025-11-27 10:54:13,957 [368788] ERROR Servicesms_WorkOrderInfo - 提交第一步完单信息失败 System.Exception: 亲,您还未选择支付方式 在 Zeego.Models.sms_WorkOrderInfoService.<>c__DisplayClass11_0.b__0() 位置 D:\Project\ServiceSMS\Zephyr.Web\Areas\Sms\Models\sms_WorkOrderInfo.cs:行号 1748 在 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-11-27 13:10:23,889 [22308] ERROR Servicewsi_warehouseStock - 师傅库存操作失败 System.Exception: 厂家编号:190007-0042,设备名称:(2833/8803)膜滤芯,400G,库存不足,请补充库存后再进行操作! 在 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-11-27 13:10:23,889 [22308] ERROR Servicesms_WorkOrder - 完成工单操作记录失败 System.Exception: 厂家编号:190007-0042,设备名称:(2833/8803)膜滤芯,400G,库存不足,请补充库存后再进行操作! 在 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-11-27 13:42:48,508 [328316] ERROR Servicesms_WorkOrder - 完成工单操作记录失败 System.Exception: 用户套餐中(190007-0042)(2833/8803)膜滤芯,400G物料不足,请核对 在 Zeego.Models.psi_salesOrderService.WorkOrderUsePackage(IDbContext db, String materialList, String WorkOrderID, String WorkerCode, String DeviceNo, String ConsumerID) 位置 D:\Project\ServiceSMS\Zephyr.Web\Areas\Psi\Models\psi_salesOrder.cs:行号 1741 在 Zeego.Models.sms_WorkOrderService.<>c__DisplayClass10_0.b__0() 位置 D:\Project\ServiceSMS\Zephyr.Web\Areas\Sms\Models\sms_WorkOrder.cs:行号 1724 在 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-11-27 17:16:19,828 [267640] ERROR Servicewsi_warehouseStock - 师傅库存操作失败 System.Exception: 厂家编号:190002-0021,设备名称:PP棉滤芯,9寸平压式,5μm,库存不足,请补充库存后再进行操作! 在 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-11-27 17:16:19,828 [267640] ERROR Servicesms_WorkOrder - 完成工单操作记录失败 System.Exception: 厂家编号:190002-0021,设备名称:PP棉滤芯,9寸平压式,5μm,库存不足,请补充库存后再进行操作! 在 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-11-27 21:22:40,959 [406496] ERROR Servicewsi_warehouseStock - 师傅库存操作失败 System.Exception: 厂家编号:190007-0090,设备名称:RO膜滤芯,400G,3分12寸大模块,库存不足,请补充库存后再进行操作! 在 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-11-27 21:22:40,959 [406496] ERROR Servicesms_WorkOrder - 完成工单操作记录失败 System.Exception: 厂家编号:190007-0090,设备名称:RO膜滤芯,400G,3分12寸大模块,库存不足,请补充库存后再进行操作! 在 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