修改保存状态和取消状态方法参数

optimize
jianghaiqing 1 year ago
parent 70135e22ab
commit d59cc41381

@ -2279,7 +2279,9 @@ namespace Myshipping.Application
SourceType = TrackingSourceTypeEnum.MANUAL,
StatusList = model.StatusCodes.Select(a => new TrackingMessageMainStatusInfo
{
StatusCode = a,
StatusCode = a.StatusCode,
StatusDate = a.SetActDate,
StatusVal = a.SetActVal
}).ToList()
}
};
@ -2368,7 +2370,9 @@ namespace Myshipping.Application
SourceType = TrackingSourceTypeEnum.MANUAL,
StatusList = model.StatusCodes.Select(a => new TrackingMessageMainStatusInfo
{
StatusCode = a,
StatusCode = a.StatusCode,
StatusDate = a.SetActDate,
StatusVal = a.SetActVal
}).ToList()
}
};

@ -33,8 +33,26 @@ namespace Myshipping.Application
public long BookingId { get; set; }
/// <summary>
/// 服务项目状态代码
/// 服务项目状态明细
/// </summary>
public string[] StatusCodes { get; set; }
public List<ModifyServiceProjectStatusDetailDto> StatusCodes { get; set; }
}
public class ModifyServiceProjectStatusDetailDto
{
/// <summary>
/// 状态代码
/// </summary>
public string StatusCode { get; set; }
/// <summary>
/// 人工设定状态完成时间
/// </summary>
public Nullable<DateTime> SetActDate { get; set; }
/// <summary>
/// 人工设定状态值(可传箱使天数)
/// </summary>
public string SetActVal { get; set; }
}
}

@ -202,7 +202,7 @@ namespace Myshipping.Application
/// <summary>
/// 状态产生时间
/// </summary>
public DateTime StatusDate { get; set; }
public Nullable<DateTime> StatusDate { get; set; }
/// <summary>
/// 状态产生值

Loading…
Cancel
Save