修改材料编码库导入功能,焊口台账增加焊接日期筛选
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user