插入工单、新增工单
This commit is contained in:
parent
1bf306f6cf
commit
f6db9762d2
@ -220,7 +220,7 @@ namespace DOAN.Service.MES.product
|
||||
index = Convert.ToInt32(maxs.Substring(maxs.Length - 3)) + 1;
|
||||
|
||||
}
|
||||
proWorkorder.Workorder = handleDate.ToString("yyyyMMdd") + index.ToString("000");
|
||||
proWorkorder.Workorder = handleDate.ToString("yyyyMMdd") + index.ToString("000")+"K";
|
||||
int sortNum = Context.Queryable<ProWorkorder>().Where(it => it.Id == next_id).Select(it => it.Sort.Value).First();
|
||||
// 调整序号
|
||||
Context.Updateable<ProWorkorder>()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user