task任务修改

This commit is contained in:
2025-05-28 18:26:48 +08:00
parent 7501358c87
commit 85fa785c4f
2 changed files with 3 additions and 3 deletions

View File

@@ -48,7 +48,7 @@ namespace ZR.Tasks.TaskScheduler
var predicate = Expressionable
.Create<WmBlankInventory>()
.And(it => it.BlankNum == item.BlankNumber)
.And(it => it.Type == (item.Remark1.Contains("返工") ? 2 : 1))
.And(it => it.Type == (item.Remark1.Contains("返工") ? 2 : 1))
.ToExpression();
WmBlankInventory wmBlankInventory = _db.Queryable<WmBlankInventory>()
.Where(predicate)