2025-07-18 10:57:04,353 [112508] ERROR Servicewsi_warehouseStock - 师傅库存操作失败 System.Exception: 厂家编号:190005-0028,设备名称:后置颗粒炭滤芯,U03-后置8295/8296/8298/5299型,MK,库存不足,请补充库存后再进行操作! 在 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-07-18 10:57:04,400 [112508] ERROR Servicesms_WorkOrder - 完成工单操作记录失败 System.Exception: 厂家编号:190005-0028,设备名称:后置颗粒炭滤芯,U03-后置8295/8296/8298/5299型,MK,库存不足,请补充库存后再进行操作! 在 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-07-18 18:08:06,334 [218948] 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-07-18 20:30:42,703 [282192] 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:b066592a-7791-4808-b01a-bd81c4b27a6a Error Number:156,State:1,Class:15 2025-07-18 20:30:46,328 [140944] 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:b066592a-7791-4808-b01a-bd81c4b27a6a Error Number:156,State:1,Class:15 2025-07-18 20:30:55,306 [368356] 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:b066592a-7791-4808-b01a-bd81c4b27a6a Error Number:156,State:1,Class:15 2025-07-18 20:30:58,550 [18868] 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:b066592a-7791-4808-b01a-bd81c4b27a6a Error Number:156,State:1,Class:15