optimize
wet 2 years ago
parent 2831c5483a
commit 7f82fe19f2

@ -304,6 +304,10 @@ namespace Myshipping.Application
{ {
item.ETD = Convert.ToDateTime(item.ETD).ToString("yyyy-MM-dd"); item.ETD = Convert.ToDateTime(item.ETD).ToString("yyyy-MM-dd");
} }
if (!string.IsNullOrWhiteSpace(item.ETA))
{
item.ETA = Convert.ToDateTime(item.ETA).ToString("yyyy-MM-dd");
}
} }
return list; return list;

@ -152,7 +152,7 @@ namespace Myshipping.Application.Service.BookingOrder.Dto
/// 预计到港日期 /// 预计到港日期
/// </summary> /// </summary>
[Description("预计到港日期")] [Description("预计到港日期")]
public DateTime? ETA { get; set; } public string ETA { get; set; }
/// <summary> /// <summary>
/// 收货地代码 /// 收货地代码
/// </summary> /// </summary>

@ -60,9 +60,13 @@ namespace Myshipping.Application.Entity
/// </summary> /// </summary>
public DateTime? ETA { get; set; } public DateTime? ETA { get; set; }
/// <summary> /// <summary>
/// 默认码头 /// 场站
/// </summary> /// </summary>
public string Wharf { get; set; } public string Yard { get; set; }
/// <summary>
/// 场站Code
/// </summary>
public string YardCode { get; set; }
/// <summary> /// <summary>
/// 实际离港日期 /// 实际离港日期
@ -133,9 +137,13 @@ namespace Myshipping.Application.Entity
/// </summary> /// </summary>
public DateTime? ETA { get; set; } public DateTime? ETA { get; set; }
/// <summary> /// <summary>
/// 默认码头 /// 场站
/// </summary>
public string Yard { get; set; }
/// <summary>
/// 场站Code
/// </summary> /// </summary>
public string Wharf { get; set; } public string YardCode { get; set; }
/// <summary> /// <summary>
/// 实际离港日期 /// 实际离港日期

Loading…
Cancel
Save