2021-10-25 14:45:37,305 [26824] ERROR Servicepsi_warehousingGoods - 库存操作记录失败 System.NullReferenceException: 未将对象引用设置到对象的实例。 在 Zeego.Models.psi_warehousingGoodsService.<>c__DisplayClass0_0.b__0() 位置 D:\Project\ServiceSMS\Zephyr.Web\Areas\Psi\Models\psi_warehousingGoods.cs:行号 27 在 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:行号 43 2021-10-25 16:05:39,773 [28312] ERROR Servicepsi_warehousingGoods - 库存操作记录失败 System.NullReferenceException: 未将对象引用设置到对象的实例。 在 Zeego.Models.sms_SettlementCommissionService.SetCommissionFee(IDbContext db, String organizecode, String organizecodename, Decimal CommissionFee, Decimal radio, Object mysalesOrder, String saleorstock) 位置 D:\Project\ServiceSMS\Zephyr.Web\Areas\Sms\Models\sms_SettlementCommission.cs:行号 363 在 CallSite.Target(Closure , CallSite , sms_SettlementCommissionService , IDbContext , Object , Object , Object , Object , Object , String ) 在 System.Dynamic.UpdateDelegates.UpdateAndExecuteVoid8[T0,T1,T2,T3,T4,T5,T6,T7](CallSite site, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7) 在 Zeego.Models.sms_SettlementCommissionService.GetAgentCommissionRetailSales(IDbContext db, String salesOrderBillNo, Boolean isback) 位置 D:\Project\ServiceSMS\Zephyr.Web\Areas\Sms\Models\sms_SettlementCommission.cs:行号 322 在 Zeego.Models.psi_warehousingGoodsService.<>c__DisplayClass0_0.b__0() 位置 D:\Project\ServiceSMS\Zephyr.Web\Areas\Psi\Models\psi_warehousingGoods.cs:行号 245 在 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:行号 43