生产队列
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
using Microsoft.AspNetCore.Mvc;
|
using Microsoft.AspNetCore.Mvc;
|
||||||
|
using Microsoft.IdentityModel.Tokens;
|
||||||
using MiniExcelLibs;
|
using MiniExcelLibs;
|
||||||
using SqlSugar;
|
using SqlSugar;
|
||||||
using ZR.Admin.WebApi.Extensions;
|
using ZR.Admin.WebApi.Extensions;
|
||||||
@@ -243,6 +244,21 @@ namespace ZR.Admin.WebApi.Controllers.mes.pro
|
|||||||
int data = 0;
|
int data = 0;
|
||||||
if (proWorkorder != null)
|
if (proWorkorder != null)
|
||||||
{
|
{
|
||||||
|
proWorkorder.PQqualifiedRate = 0;
|
||||||
|
if (!string.IsNullOrEmpty(proWorkorder.PQqualifiedRate2))
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
{
|
||||||
|
proWorkorder.PQqualifiedRate = decimal.Parse(proWorkorder.PQqualifiedRate2.Trim());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{
|
||||||
|
proWorkorder.PQqualifiedRate = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
proWorkorder.ToUpdate(HttpContext);
|
proWorkorder.ToUpdate(HttpContext);
|
||||||
data = proWorkorderService.UpdateWorkOrder(proWorkorder);
|
data = proWorkorderService.UpdateWorkOrder(proWorkorder);
|
||||||
|
|
||||||
|
|||||||
@@ -200,7 +200,7 @@ namespace ZR.Model.MES.pro
|
|||||||
[ExcelIgnore]
|
[ExcelIgnore]
|
||||||
public DateTime UpdatedTime { get; set; }
|
public DateTime UpdatedTime { get; set; }
|
||||||
|
|
||||||
|
public string PQqualifiedRate2 { get; set; }
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user