task任务修改
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user