[10:00:29] [Fatal] [yfzWebApi.BLL.BonusService] : 新增业绩异常Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: “yfzWebApi.Models.BonusmasterModel”未包含“bonusmasterModel”的定义 在 CallSite.Target(Closure , CallSite , Object ) 在 System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](CallSite site, T0 arg0) 在 CallSite.Target(Closure , CallSite , Object ) 在 yfzWebApi.BLL.BonusService.SaveBonus(Object dy) [13:58:51] [Fatal] [yfzWebApi.BLL.BonusService] : 新增业绩异常Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: “yfzWebApi.Models.BonusmasterModel”未包含“bonusmasterModel”的定义 在 CallSite.Target(Closure , CallSite , Object ) 在 System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](CallSite site, T0 arg0) 在 yfzWebApi.BLL.BonusService.SaveBonus(Object dy) [14:40:56] [Fatal] [yfzWebApi.BLL.BonusService] : 新增业绩异常Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: “yfzWebApi.Models.BonusmasterModel”未包含“bonusmasterModel”的定义 在 CallSite.Target(Closure , CallSite , Object ) 在 System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](CallSite site, T0 arg0) 在 CallSite.Target(Closure , CallSite , Object ) 在 yfzWebApi.BLL.BonusService.SaveBonus(Object dy) [14:41:34] [Fatal] [yfzWebApi.BLL.BonusService] : 新增业绩异常Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: “yfzWebApi.Models.BonusmasterModel”未包含“bonusmasterModel”的定义 在 CallSite.Target(Closure , CallSite , Object ) 在 yfzWebApi.BLL.BonusService.SaveBonus(Object dy) [14:41:37] [Fatal] [yfzWebApi.BLL.BonusService] : 新增业绩异常Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: “yfzWebApi.Models.BonusmasterModel”未包含“bonusmasterModel”的定义 在 CallSite.Target(Closure , CallSite , Object ) 在 yfzWebApi.BLL.BonusService.SaveBonus(Object dy) [15:06:03] [Fatal] [yfzWebApi.Utils.SerializeHelper] : 对象Json({"orderdetailMdoel":{"opertype":1,"operid":137,"remark":""},"PayModels":[{"payname":"王彪","payamt":"","paytype":4,"operid":134,"paychannel":"微信","currencytype":1,"branchid":7}],"watchesList":[{"ordermasterModel":{"odertype":1,"watchesbrand":"万国","watchestype":"IW326506","watchescode":"5149159","watchesyear":"2014-01-01T00:00:00Z","orderamt":"","branchid":7,"customersource":"2","sellamt":"18000","annex1":"1","isopen":2,"isstore":1,"sellbyrecid":"","recbysellid":"","goodtype":0,"num":0,"material":"","weight":"","color":"","norms":"","source":"","remark":"","tokeroperidList":[],"cooperateoperidList":[],"discountamt":"","visitoperid":0,"ispartnership":0},"ImgModels":[{"imgtype":20,"imgurl":"/Uploads/Images/192397e3-b4c7-4ee6-a0e5-aa839b82d389.jpg","ingname":""},{"imgtype":5,"imgurl":"/Uploads/Images/e78f3995-6792-4374-ac49-4eede99c293c.jpg","ingname":""}],"PayModels":[]}]})反序列化(NewOrderApiModel)失败Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Decimal'. Path 'PayModels[0].payamt', line 1, position 100. ---> System.InvalidCastException: 空对象不能转换为值类型。 在 System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider) 在 Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReader reader, Object value, CultureInfo culture, JsonContract contract, Type targetType) --- 内部异常堆栈跟踪的结尾 --- 在 Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReader reader, Object value, CultureInfo culture, JsonContract contract, Type targetType) 在 Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) 在 Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target) 在 Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id) 在 Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) 在 Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) 在 Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateList(IList list, JsonReader reader, JsonArrayContract contract, JsonProperty containerProperty, String id) 在 Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateList(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, Object existingValue, String id) 在 Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) 在 Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target) 在 Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id) 在 Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) 在 Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) 在 Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent) 在 Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType) 在 Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings) 在 Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings) 在 Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value) 在 yfzWebApi.Utils.SerializeHelper.JsonDeserialize[T](String json) [15:06:03] [Fatal] [yfzWebApi.BLL.NewOrderService] : 工单提交异常System.NullReferenceException: 未将对象引用设置到对象的实例。 在 yfzWebApi.BLL.NewOrderService.SaveOrderNew(Object dy) [15:06:10] [Fatal] [yfzWebApi.Utils.SerializeHelper] : 对象Json({"orderdetailMdoel":{"opertype":1,"operid":137,"remark":""},"PayModels":[{"payname":"王彪","payamt":"","paytype":4,"operid":134,"paychannel":"微信","currencytype":1,"branchid":7}],"watchesList":[{"ordermasterModel":{"odertype":1,"watchesbrand":"万国","watchestype":"IW326506","watchescode":"5149159","watchesyear":"2014-01-01T00:00:00Z","orderamt":"","branchid":7,"customersource":"2","sellamt":"18000","annex1":"1","isopen":2,"isstore":1,"sellbyrecid":"","recbysellid":"","goodtype":0,"num":0,"material":"","weight":"","color":"","norms":"","source":"","remark":"","tokeroperidList":[],"cooperateoperidList":[],"discountamt":"","visitoperid":0,"ispartnership":0},"ImgModels":[{"imgtype":20,"imgurl":"/Uploads/Images/192397e3-b4c7-4ee6-a0e5-aa839b82d389.jpg","ingname":""},{"imgtype":5,"imgurl":"/Uploads/Images/e78f3995-6792-4374-ac49-4eede99c293c.jpg","ingname":""}],"PayModels":[]}]})反序列化(NewOrderApiModel)失败Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Decimal'. Path 'PayModels[0].payamt', line 1, position 100. ---> System.InvalidCastException: 空对象不能转换为值类型。 在 System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider) 在 Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReader reader, Object value, CultureInfo culture, JsonContract contract, Type targetType) --- 内部异常堆栈跟踪的结尾 --- 在 Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReader reader, Object value, CultureInfo culture, JsonContract contract, Type targetType) 在 Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) 在 Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target) 在 Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id) 在 Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) 在 Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) 在 Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateList(IList list, JsonReader reader, JsonArrayContract contract, JsonProperty containerProperty, String id) 在 Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateList(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, Object existingValue, String id) 在 Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) 在 Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target) 在 Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id) 在 Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) 在 Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) 在 Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent) 在 Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType) 在 Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings) 在 Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings) 在 Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value) 在 yfzWebApi.Utils.SerializeHelper.JsonDeserialize[T](String json) [15:06:10] [Fatal] [yfzWebApi.BLL.NewOrderService] : 工单提交异常System.NullReferenceException: 未将对象引用设置到对象的实例。 在 yfzWebApi.BLL.NewOrderService.SaveOrderNew(Object dy) [15:13:37] [Fatal] [yfzWebApi.BLL.BonusService] : 新增业绩异常Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: “yfzWebApi.Models.BonusmasterModel”未包含“bonusmasterModel”的定义 在 CallSite.Target(Closure , CallSite , Object ) 在 System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](CallSite site, T0 arg0) 在 CallSite.Target(Closure , CallSite , Object ) 在 yfzWebApi.BLL.BonusService.SaveBonus(Object dy) [15:36:00] [Fatal] [yfzWebApi.BLL.BonusService] : 新增业绩异常Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: “yfzWebApi.Models.BonusmasterModel”未包含“bonusmasterModel”的定义 在 CallSite.Target(Closure , CallSite , Object ) 在 yfzWebApi.BLL.BonusService.SaveBonus(Object dy) [17:43:53] [Fatal] [yfzWebApi.BLL.BonusService] : 新增业绩异常Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: “yfzWebApi.Models.BonusmasterModel”未包含“bonusmasterModel”的定义 在 CallSite.Target(Closure , CallSite , Object ) 在 System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](CallSite site, T0 arg0) 在 CallSite.Target(Closure , CallSite , Object ) 在 yfzWebApi.BLL.BonusService.SaveBonus(Object dy)