修改材料编码库导入功能,焊口台账增加焊接日期筛选

This commit is contained in:
2026-08-31 15:11:03 +08:00
parent ad6ef33ce2
commit ffb9c2a95c
9 changed files with 97 additions and 82 deletions
@@ -510,7 +510,8 @@ namespace BLL
baseQuery = baseQuery.Where(x => x.WeldJointCode.Contains(model.WeldJointCode));
if (!string.IsNullOrEmpty(model.IsWeldOK))
baseQuery = baseQuery.Where(x => x.IsWeldOK == model.IsWeldOK);
if (!string.IsNullOrEmpty(model.WeldingDate))
baseQuery = baseQuery.Where(x => x.WeldingDate == model.WeldingDate);
// 阶段三:排序与分页控制(索引优化关键)
var orderedQuery = baseQuery.OrderBy(x => x.PipelineCode).ThenBy(x => x.WeldJointCode);