This commit is contained in:
2025-11-14 17:31:27 +08:00
parent fc7ab6e3fb
commit 196b9b48e5
3 changed files with 23 additions and 1 deletions

View File

@@ -118,6 +118,12 @@ namespace ZR.Service.mes.wms
{
model.Id = SnowFlakeSingle.Instance.NextId().ToString(); //也可以在程序中直接获取ID
}
// 检查计划中是否有此零件号
/* bool hasMaterial = Context
.Queryable<WmMaterialOutorder>()
.Where(it => it.FkOutorderId == model.FkOutOrderId)
.Where(it => it.FkMaterialId == )
.Any();*/
//2. 根据成品仓库id修改记录
WmGoodsNowProduction updateModel = new WmGoodsNowProduction();