毛坯,抛光,一次合格仓库添加总零件计数,工单排程修改编号为字符串,仓库看板统计优化,产线数量除3计算
This commit is contained in:
@@ -242,5 +242,14 @@ namespace ZR.Service.mes.wms
|
||||
|
||||
return Context.Insertable(wmBlank).ExecuteCommand();
|
||||
}
|
||||
|
||||
// 获取毛坯仓库零件数量
|
||||
public int GetPartNumber()
|
||||
{
|
||||
return Context
|
||||
.Queryable<WmBlankInventory>()
|
||||
.Where(it => it.Status == 1)
|
||||
.Sum(it => it.Quantity) ?? 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user