节拍
This commit is contained in:
parent
1f5df92451
commit
4bd3c613c5
@ -46,8 +46,9 @@ namespace DOAN.Admin.WebApi.Controllers
|
||||
[ActionPermissionFilter(Permission = "productManagement:proworkorder:list")]
|
||||
public IActionResult QueryProWorkorder([FromBody] ProWorkorderQueryDto parm)
|
||||
{
|
||||
parm.WorkorderDate[0]=ConvertDateTime.ConvertLocalDate(parm.WorkorderDate[0]);
|
||||
parm.WorkorderDate[0] = ConvertDateTime.ConvertLocalDate(parm.WorkorderDate[0]);
|
||||
parm.WorkorderDate[1]=ConvertDateTime.ConvertLocalDate(parm.WorkorderDate[1]);
|
||||
parm.GroupCode = parm.GroupCode.TrimEnd();
|
||||
var response = _ProWorkorderService.GetList(parm);
|
||||
return SUCCESS(response);
|
||||
}
|
||||
|
||||
Binary file not shown.
@ -116,6 +116,11 @@ namespace DOAN.Model.MES.product.Dto
|
||||
/// 优先级 1-100
|
||||
/// </summary>
|
||||
public int? Priority { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 节拍 (秒)
|
||||
/// </summary>
|
||||
public int? Beat { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工单状态
|
||||
|
||||
@ -105,6 +105,11 @@ namespace DOAN.Model.MES.product
|
||||
/// 工单状态
|
||||
/// </summary>
|
||||
public int? Status { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 节拍 (秒)
|
||||
/// </summary>
|
||||
public int? Beat { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工单开始时间
|
||||
|
||||
@ -737,10 +737,13 @@ namespace DOAN.Service.MES.product
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
NPOI.SS.UserModel.ICell currentCell_12 = currentRow.GetCell(10);
|
||||
workorder.Beat = (int)currentCell_12?.NumericCellValue;
|
||||
|
||||
|
||||
|
||||
NPOI.SS.UserModel.ICell currentCell_010 = currentRow.GetCell(10);
|
||||
NPOI.SS.UserModel.ICell currentCell_010 = currentRow.GetCell(11);
|
||||
workorder.Remark = currentCell_010.StringCellValue;
|
||||
|
||||
workorder.Id = XueHua;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user