fix(MES): 添加PlanNum大于0的查询条件
在ProWorkorderQueryService中增加对PlanNum字段的过滤条件,确保只查询PlanNum大于0的工作订单
This commit is contained in:
@@ -54,6 +54,7 @@ namespace DOAN.Service.MES.product
|
||||
parm.WorkorderDate != null && parm.WorkorderDate.Length > 0,
|
||||
it => it.WorkorderDate >= parm.WorkorderDate[0] && it.WorkorderDate <= parm.WorkorderDate[1]
|
||||
)
|
||||
.And(it => it.PlanNum > 0)
|
||||
.ToExpression();
|
||||
|
||||
var response = Context
|
||||
@@ -104,6 +105,7 @@ namespace DOAN.Service.MES.product
|
||||
parm.WorkorderDate != null && parm.WorkorderDate.Length > 0,
|
||||
it => it.WorkorderDate >= parm.WorkorderDate[0] && it.WorkorderDate <= parm.WorkorderDate[1]
|
||||
)
|
||||
.And(it => it.PlanNum > 0)
|
||||
.ToExpression();
|
||||
|
||||
var response = Context
|
||||
|
||||
Reference in New Issue
Block a user