[17:12:49] [Fatal] [yfzWebApi.Utils.SerializeHelper] : 对象Json([{"id":56,"classid":5,"goodsname":"LS-2761","goodsprc":0,"goodamt":"","goodsqty":9999,"goodsunit":"条","goodsremark":"07、037","goodsimgurl":"","other1":null,"other2":null,"other3":null,"updatetime":"2025-11-20T10:13:35+08:00","createtime":"2025-11-20T10:13:35","isdel":0},{"id":78,"classid":5,"goodsname":"4984","goodsprc":0,"goodamt":"","goodsqty":9999,"goodsunit":"粒","goodsremark":"07","goodsimgurl":"","other1":null,"other2":null,"other3":null,"updatetime":"2025-11-20T11:30:33+08:00","createtime":"2025-11-20T11:30:33","isdel":0}])反序列化(List`1)失败Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Decimal'. Path '[0].goodamt', line 1, position 69. ---> 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.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) [17:12:49] [Fatal] [yfzWebApi.BLL.OrderService] : 出售手表异常System.NullReferenceException: 未将对象引用设置到对象的实例。 在 yfzWebApi.BLL.OrderService.SaveSell(Object dy)