2025-10-20 12:27:38,010 [236872] 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:6a993a8f-cdb5-4f82-93e7-6aae9f02cb41 Error Number:156,State:1,Class:15 2025-10-20 12:27:40,721 [190940] 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:54731a24-4b43-4d4a-ae5a-1a2b99ca3d96 Error Number:156,State:1,Class:15 2025-10-20 12:27:45,314 [312180] 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:6a993a8f-cdb5-4f82-93e7-6aae9f02cb41 Error Number:156,State:1,Class:15 2025-10-20 13:26:47,038 [130900] 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-10-20 14:51:47,597 [362888] 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-10-20 16:13:17,322 [30480] 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:行号 1278 在 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-20 16:25:52,135 [410216] 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:行号 1278 在 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-20 16:26:19,058 [32776] 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:行号 1278 在 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-20 16:26:22,859 [358176] 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:行号 1278 在 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-20 17:09:34,145 [410216] ERROR Servicewsi_warehouseStock - 师傅库存操作失败 System.Exception: 厂家编号:190005-0081,设备名称:(185系列)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:行号 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-20 17:09:34,177 [410216] ERROR Servicesms_WorkOrder - 完成工单操作记录失败 System.Exception: 厂家编号:190005-0081,设备名称:(185系列)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-20 17:20:54,548 [358176] 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:行号 1366 在 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-20 17:21:04,323 [410216] 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:行号 1366 在 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-20 17:21:15,364 [66532] 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:行号 1366 在 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-20 22:30:06,481 [116064] ERROR Servicewsi_warehouseStock - 师傅库存操作失败 System.Exception: 厂家编号:190007-0138,设备名称:RO膜,500G,提拉式RO-TE-3012-MK(Ⅱ)-5D(TPK),库存不足,请补充库存后再进行操作! 在 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-20 22:30:06,481 [116064] ERROR Servicesms_WorkOrder - 完成工单操作记录失败 System.Exception: 厂家编号:190007-0138,设备名称:RO膜,500G,提拉式RO-TE-3012-MK(Ⅱ)-5D(TPK),库存不足,请补充库存后再进行操作! 在 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