Services/MesOrderStaManager.cs
@@ -616,18 +616,4 @@ // 更新工单时间和状态 return UpdateTime(entity); } /// <summary> /// 刀具查询(支持编号或名称模糊查询) /// </summary> /// <param name="searchKey">查询关键字</param> /// <returns>刀具列表</returns> public List<MesCutterLedger> QueryTools(string searchKey) { return Db.Queryable<MesCutterLedger>() .WhereIF(!string.IsNullOrEmpty(searchKey), t => t.CutterId.Contains(searchKey) || t.CutterName.Contains(searchKey)) .ToList(); } }