feat(工单管理): 新增批量删除工单和批量领料功能

- 在工单DTO中增加领料数和成品在库数字段
- 实现批量删除工单功能并进行前置校验
- 实现根据工单ID批量领料功能
- 优化原材料领料外联查询显示炉号
- 修复领料查询条件忽略备注为null的记录问题
This commit is contained in:
2026-03-07 17:16:31 +08:00
parent 5ed1458431
commit cd03b4d5dc
13 changed files with 353 additions and 21 deletions

View File

@@ -32,7 +32,14 @@ namespace DOAN.Service.BZFM
var response = Queryable()
.Where(predicate.ToExpression())
.ToPage<MmInventory, MmInventoryDto>(parm);
.Select(it => new MmInventoryDto
{
Id = it.Id,
StoveCode = SqlFunc.Subqueryable<MmRecordInbound>()
.Where(sub=>sub.BatchNo == it.BatchNo)
.Select(sub => sub.StoveCode)
},true)
.ToPage(parm);
return response;
}