更改 新建工单 流水号设置位置
This commit is contained in:
parent
68aa2c3673
commit
cceb0384b1
@ -125,6 +125,7 @@ namespace ZR.Admin.WebApi.Controllers.MES.pro
|
||||
int data = 0;
|
||||
if (proWorkorder != null)
|
||||
{
|
||||
proWorkorder.Id = DateTime.Now.ToString("yyyyMMddHHmmss");
|
||||
string workPlanId = proWorkorder.FkProPlanId;
|
||||
string workorderId = proWorkorder.Id;
|
||||
|
||||
|
||||
@ -61,7 +61,7 @@ namespace ZR.Service.mes.pro
|
||||
|
||||
public int AddWorkorder(ProWorkorder proWorkorder)
|
||||
{
|
||||
proWorkorder.Id = DateTime.Now.ToString("yyyyMMddHHmmss");
|
||||
|
||||
return Context.Insertable(proWorkorder).ExecuteCommand();
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user