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