This commit is contained in:
qianhao.xu 2024-11-15 10:15:57 +08:00
parent b5c37ae730
commit fcb6d237cb
2 changed files with 16 additions and 20 deletions

View File

@ -26,8 +26,6 @@ namespace DOAN.Model.MES.product.Dto
/// </summary>
public class ProReportworkDto
{
public string Id { get; set; }
public string FkWorkorder { get; set; }
@ -64,15 +62,24 @@ namespace DOAN.Model.MES.product.Dto
public DateTime? UpdatedTime { get; set; }
/// <summary>
/// 优先级 1-100
/// </summary>
public int? Priority { get; set; }
/// <summary>
/// 工单状态
/// </summary>
public int? Status { get; set; }
/// <summary>
/// 节拍 (秒)
/// </summary>
public int? Beat { get; set; }
}
public class ProReportworkDto2
{
public string FkWorkorder { get; set; }
public int? DispatchNum { get; set; }
@ -87,33 +94,19 @@ namespace DOAN.Model.MES.product.Dto
//public string CreatedBy { get; set; }
}
public class ProReportworkDto3
{
public string FkWorkorder { get; set; }
public int? FinishedNum { get; set; }
public string GroupCode { get; set; }
public string LineCode { get; set; }
}
}

View File

@ -60,6 +60,9 @@ namespace DOAN.Service.MES.product
GroupCode = w.GroupCode,
LineCode = w.LineCode,
DispatchNum=w.DeliveryNum,
Priority = w.Priority,
Status = w.Status,
Beat = w.Beat
}, true).ToPage_NO_Convert<ProReportworkDto>(parm);