更改 新建工单 流水号设置位置

This commit is contained in:
xiaowei.song
2023-11-15 17:04:36 +08:00
parent 68aa2c3673
commit cceb0384b1
2 changed files with 2 additions and 1 deletions

View File

@@ -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();
}