设备管理BUG修复

This commit is contained in:
quowingwang
2025-12-12 10:08:26 +08:00
parent d4228b34cd
commit 9f620c70c1
5 changed files with 7 additions and 4 deletions

View File

@@ -32,8 +32,8 @@ namespace ZR.Service.MES.dev
.AndIF(parm.LifeCycleStart != null, it => it.LifeCycleStart >= parm.LifeCycleStart)
.AndIF(parm.LifeCycleEnd != null, it => it.LifeCycleEnd <= parm.LifeCycleEnd)
.AndIF(parm.ExcuteCycleType > 0, it => it.ExcuteCycleType == parm.ExcuteCycleType)
.AndIF(parm.InnerType>-1, it => it.InnerType == parm.InnerType);
.AndIF(parm.InnerType>-1, it => it.InnerType == parm.InnerType)
.AndIF(parm.Status != null, it => it.Status == parm.Status);
var response = Queryable()
.Where(predicate.ToExpression())
.ToPage<DeviceRouteInspectionPlan, DeviceRouteInspectionPlanDto>(parm);