[11:24:50] [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) [11:29:52] [Fatal] [yfzWebApi.BLL.BonusService] : 新增业绩异常Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: “yfzWebApi.Models.BonusmasterModel”未包含“bonusmasterModel”的定义 在 CallSite.Target(Closure , CallSite , Object ) 在 yfzWebApi.BLL.BonusService.SaveBonus(Object dy) [12:11:23] [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:05:12] [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:20:19] [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:39:12] [Fatal] [yfzWebApi.Utils.SerializeHelper] : 对象Json({"orderdetailMdoel":{"opertype":1,"operid":205,"remark":""},"PayModels":[{"payname":"陶成云","payamt":"26165","paytype":1,"paychannel":"支付宝","operid":144,"currencytype":1,"branchid":3}],"watchesList":[{"ordermasterModel":{"odertype":1,"watchesbrand":"肖邦","watchestype":"278573","watchescode":"4245864","watchesyear":"2022-01-01T00:00:00Z","orderamt":"26165","branchid":3,"customersource":"1","sellamt":null,"annex1":"1","isopen":2,"isstore":0,"sellbyrecid":"","recbysellid":"","goodtype":0,"num":0,"material":"","weight":"","color":"","norms":"","source":"","remark":"有瑕疵砍价1000,原路退回","tokeroperidList":[],"cooperateoperidList":[],"discountamt":"","visitoperid":0,"ispartnership":0},"ImgModels":[{"imgtype":20,"imgurl":"/Uploads/Images/91cb3b28-7d45-489c-8b11-bf09aa47b2d6.jpg","ingname":""},{"imgtype":1,"imgurl":"/Uploads/Images/7347abbe-af3b-474a-99eb-d483fa431d3e.jpg","ingname":""},{"imgtype":1,"imgurl":"/Uploads/Images/d7b3ea16-26b2-4303-8ffe-3d634839a5a5.jpg","ingname":""}],"PayModels":[{"operid":205,"payname":"金雪","payamt":"","paytype":7,"branchid":3}]}]})反序列化(NewOrderApiModel)失败Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Decimal'. Path 'watchesList[0].PayModels[0].payamt', line 1, position 1032. ---> 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.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) [14:39:12] [Fatal] [yfzWebApi.BLL.NewOrderService] : 工单提交异常System.NullReferenceException: 未将对象引用设置到对象的实例。 在 yfzWebApi.BLL.NewOrderService.SaveOrderNew(Object dy) [14:39:28] [Fatal] [yfzWebApi.Utils.SerializeHelper] : 对象Json({"orderdetailMdoel":{"opertype":1,"operid":205,"remark":""},"PayModels":[{"payname":"陶成云","payamt":"26165","paytype":1,"paychannel":"支付宝","operid":144,"currencytype":1,"branchid":3}],"watchesList":[{"ordermasterModel":{"odertype":1,"watchesbrand":"肖邦","watchestype":"278573","watchescode":"4245864","watchesyear":"2022-01-01T00:00:00Z","orderamt":"26165","branchid":3,"customersource":"1","sellamt":null,"annex1":"1","isopen":2,"isstore":0,"sellbyrecid":"","recbysellid":"","goodtype":0,"num":0,"material":"","weight":"","color":"","norms":"","source":"","remark":"有瑕疵砍价1000,原路退回","tokeroperidList":[],"cooperateoperidList":[],"discountamt":"","visitoperid":0,"ispartnership":0},"ImgModels":[{"imgtype":20,"imgurl":"/Uploads/Images/91cb3b28-7d45-489c-8b11-bf09aa47b2d6.jpg","ingname":""},{"imgtype":1,"imgurl":"/Uploads/Images/7347abbe-af3b-474a-99eb-d483fa431d3e.jpg","ingname":""},{"imgtype":1,"imgurl":"/Uploads/Images/d7b3ea16-26b2-4303-8ffe-3d634839a5a5.jpg","ingname":""}],"PayModels":[{"operid":205,"payname":"金雪","payamt":"","paytype":7,"branchid":3}]}]})反序列化(NewOrderApiModel)失败Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Decimal'. Path 'watchesList[0].PayModels[0].payamt', line 1, position 1032. ---> 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.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) [14:39:28] [Fatal] [yfzWebApi.BLL.NewOrderService] : 工单提交异常System.NullReferenceException: 未将对象引用设置到对象的实例。 在 yfzWebApi.BLL.NewOrderService.SaveOrderNew(Object dy) [14:39:43] [Fatal] [yfzWebApi.Utils.SerializeHelper] : 对象Json({"orderdetailMdoel":{"opertype":1,"operid":205,"remark":""},"PayModels":[{"payname":"陶成云","payamt":"26165","paytype":1,"paychannel":"支付宝","operid":144,"currencytype":1,"branchid":3}],"watchesList":[{"ordermasterModel":{"odertype":1,"watchesbrand":"肖邦","watchestype":"278573","watchescode":"4245864","watchesyear":"2022-01-01T00:00:00Z","orderamt":"26165","branchid":3,"customersource":"1","sellamt":null,"annex1":"1","isopen":2,"isstore":0,"sellbyrecid":"","recbysellid":"","goodtype":0,"num":0,"material":"","weight":"","color":"","norms":"","source":"","remark":"有瑕疵砍价1000,原路退回","tokeroperidList":[],"cooperateoperidList":[],"discountamt":"","visitoperid":0,"ispartnership":0},"ImgModels":[{"imgtype":20,"imgurl":"/Uploads/Images/91cb3b28-7d45-489c-8b11-bf09aa47b2d6.jpg","ingname":""},{"imgtype":1,"imgurl":"/Uploads/Images/7347abbe-af3b-474a-99eb-d483fa431d3e.jpg","ingname":""},{"imgtype":1,"imgurl":"/Uploads/Images/d7b3ea16-26b2-4303-8ffe-3d634839a5a5.jpg","ingname":""}],"PayModels":[{"operid":205,"payname":"金雪","payamt":"","paytype":7,"branchid":3}]}]})反序列化(NewOrderApiModel)失败Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Decimal'. Path 'watchesList[0].PayModels[0].payamt', line 1, position 1032. ---> 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.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) [14:39:43] [Fatal] [yfzWebApi.BLL.NewOrderService] : 工单提交异常System.NullReferenceException: 未将对象引用设置到对象的实例。 在 yfzWebApi.BLL.NewOrderService.SaveOrderNew(Object dy) [16:51:15] [Fatal] [yfzWebApi.Utils.SerializeHelper] : 对象Json({"orderdetailMdoel":{"opertype":1,"operid":128,"remark":""},"PayModels":[{"payname":"杨守春","payamt":"14000","paytype":1,"paychannel":"新加坡币","operid":98,"currencytype":4,"branchid":19}],"watchesList":[{"ordermasterModel":{"odertype":1,"watchesbrand":"劳力士","watchestype":"126233","watchescode":"1E5125E7","watchesyear":"2023-01-01T00:00:00Z","orderamt":"14000新币","branchid":19,"customersource":"4","sellamt":null,"annex1":"1","isopen":2,"isstore":0,"sellbyrecid":"","recbysellid":"","goodtype":0,"num":0,"material":"","weight":"","color":"","norms":"","source":"","remark":"客户新加坡到店交易","tokeroperidList":[130],"cooperateoperidList":[],"discountamt":"","visitoperid":0,"ispartnership":0},"ImgModels":[{"imgtype":20,"imgurl":"/Uploads/Images/baaf33f8-41c1-4437-a99b-409d49a77d59.jpg","ingname":""},{"imgtype":1,"imgurl":"/Uploads/Images/9a167108-0035-4659-af56-59df43d27fb2.jpg","ingname":""}],"PayModels":[]}]})反序列化(NewOrderApiModel)失败Newtonsoft.Json.JsonReaderException: Could not convert string to decimal: 14000新币. Path 'watchesList[0].ordermasterModel.orderamt', line 1, position 359. 在 Newtonsoft.Json.JsonReader.ReadDecimalString(String s) 在 Newtonsoft.Json.JsonTextReader.FinishReadQuotedNumber(ReadType readType) 在 Newtonsoft.Json.JsonTextReader.ReadNumberValue(ReadType readType) 在 Newtonsoft.Json.JsonTextReader.ReadAsDecimal() 在 Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter) 在 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.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) [16:51:15] [Fatal] [yfzWebApi.BLL.NewOrderService] : 工单提交异常System.NullReferenceException: 未将对象引用设置到对象的实例。 在 yfzWebApi.BLL.NewOrderService.SaveOrderNew(Object dy) [16:51:20] [Fatal] [yfzWebApi.Utils.SerializeHelper] : 对象Json({"orderdetailMdoel":{"opertype":1,"operid":128,"remark":""},"PayModels":[{"payname":"杨守春","payamt":"14000","paytype":1,"paychannel":"新加坡币","operid":98,"currencytype":4,"branchid":19}],"watchesList":[{"ordermasterModel":{"odertype":1,"watchesbrand":"劳力士","watchestype":"126233","watchescode":"1E5125E7","watchesyear":"2023-01-01T00:00:00Z","orderamt":"14000新币","branchid":19,"customersource":"4","sellamt":null,"annex1":"1","isopen":2,"isstore":0,"sellbyrecid":"","recbysellid":"","goodtype":0,"num":0,"material":"","weight":"","color":"","norms":"","source":"","remark":"客户新加坡到店交易","tokeroperidList":[130],"cooperateoperidList":[],"discountamt":"","visitoperid":0,"ispartnership":0},"ImgModels":[{"imgtype":20,"imgurl":"/Uploads/Images/baaf33f8-41c1-4437-a99b-409d49a77d59.jpg","ingname":""},{"imgtype":1,"imgurl":"/Uploads/Images/9a167108-0035-4659-af56-59df43d27fb2.jpg","ingname":""}],"PayModels":[]}]})反序列化(NewOrderApiModel)失败Newtonsoft.Json.JsonReaderException: Could not convert string to decimal: 14000新币. Path 'watchesList[0].ordermasterModel.orderamt', line 1, position 359. 在 Newtonsoft.Json.JsonReader.ReadDecimalString(String s) 在 Newtonsoft.Json.JsonTextReader.FinishReadQuotedNumber(ReadType readType) 在 Newtonsoft.Json.JsonTextReader.ReadNumberValue(ReadType readType) 在 Newtonsoft.Json.JsonTextReader.ReadAsDecimal() 在 Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter) 在 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.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) [16:51:20] [Fatal] [yfzWebApi.BLL.NewOrderService] : 工单提交异常System.NullReferenceException: 未将对象引用设置到对象的实例。 在 yfzWebApi.BLL.NewOrderService.SaveOrderNew(Object dy)