<fix>[important]修复json序列化不正确的问题
This commit is contained in:
parent
60fa5d7c97
commit
93d720f595
|
|
@ -1,4 +1,5 @@
|
|||
using System.Text.Json.Serialization;
|
||||
using Newtonsoft.Json;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace WcsMain.ApiClient.DataEntity.WmsEntity;
|
||||
|
||||
|
|
@ -20,25 +21,25 @@ public class ApplyInRequest
|
|||
/// <summary>
|
||||
/// 申请点位
|
||||
/// </summary>
|
||||
[JsonPropertyName("point")]
|
||||
[JsonProperty("point")]
|
||||
public string? Point { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 载具号
|
||||
/// </summary>
|
||||
[JsonPropertyName("vehicleNo")]
|
||||
[JsonProperty("vehicleNo")]
|
||||
public string? VehicleNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 条码信息
|
||||
/// </summary>
|
||||
[JsonPropertyName("codeMessage")]
|
||||
[JsonProperty("codeMessage")]
|
||||
public string? CodeMessage { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
[JsonPropertyName("remark")]
|
||||
[JsonProperty("remark")]
|
||||
public string? Remark { get; set; }
|
||||
|
||||
}
|
||||
|
|
@ -1,4 +1,5 @@
|
|||
using System.Text.Json.Serialization;
|
||||
using Newtonsoft.Json;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace WcsMain.ApiClient.DataEntity.WmsEntity;
|
||||
|
||||
|
|
@ -10,31 +11,31 @@ public class SendWmsTaskStatusRequest
|
|||
/// <summary>
|
||||
/// 任务号
|
||||
/// </summary>
|
||||
[JsonPropertyName("taskId")]
|
||||
[JsonProperty("taskId")]
|
||||
public string? TaskId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 任务状态
|
||||
/// </summary>
|
||||
[JsonPropertyName("taskStatus")]
|
||||
[JsonProperty("taskStatus")]
|
||||
public int? TaskStatus { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 任务类型
|
||||
/// </summary>
|
||||
[JsonPropertyName("destination")]
|
||||
[JsonProperty("destination")]
|
||||
public string? Destination { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 载具号
|
||||
/// </summary>
|
||||
[JsonPropertyName("vehicleNo")]
|
||||
[JsonProperty("vehicleNo")]
|
||||
public string? VehicleNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 信息
|
||||
/// </summary>
|
||||
[JsonPropertyName("message")]
|
||||
[JsonProperty("message")]
|
||||
public string? Message { get; set; }
|
||||
|
||||
}
|
||||
|
|
@ -1,4 +1,5 @@
|
|||
using System.Text.Json.Serialization;
|
||||
using Newtonsoft.Json;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace WcsMain.ApiClient.DataEntity.WmsEntity;
|
||||
|
||||
|
|
@ -10,18 +11,18 @@ public class UploadPickStandRequest
|
|||
/// <summary>
|
||||
/// 载具号
|
||||
/// </summary>
|
||||
[JsonPropertyName("vehicleNo")]
|
||||
[JsonProperty("vehicleNo")]
|
||||
public string? VehicleNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 拣选站台
|
||||
/// </summary>
|
||||
[JsonPropertyName("pickStand")]
|
||||
[JsonProperty("pickStand")]
|
||||
public string? PickStand { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
[JsonPropertyName("remark")]
|
||||
[JsonProperty("remark")]
|
||||
public string? Remark { get; set; }
|
||||
}
|
||||
|
|
@ -1,4 +1,5 @@
|
|||
using System.Text.Json.Serialization;
|
||||
using Newtonsoft.Json;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace WcsMain.ApiClient.DataEntity.WmsEntity;
|
||||
|
||||
|
|
@ -7,12 +8,12 @@ public class WmsResponse
|
|||
/// <summary>
|
||||
/// 代码
|
||||
/// </summary>
|
||||
[JsonPropertyName("code")]
|
||||
[JsonProperty("code")]
|
||||
public int? Code { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 信息
|
||||
/// </summary>
|
||||
[JsonPropertyName("message")]
|
||||
[JsonProperty("message")]
|
||||
public string? Message { get; set; }
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user