diff --git a/ProductionSystem_Service/TResult2Service.cs b/ProductionSystem_Service/TResult2Service.cs
index 342a206..46725ba 100644
--- a/ProductionSystem_Service/TResult2Service.cs
+++ b/ProductionSystem_Service/TResult2Service.cs
@@ -27,6 +27,15 @@ namespace ProductionSystem_Service
}
}
-
+ ///
+ /// 根据产品类型和产品条码查询
+ ///
+ ///
+ ///
+ ///
+ public T_Result2 QueryLatestStep(string productType,string productBarcode)
+ {
+ return db.Queryable().Where(m => m.ProductType == productType && m.ProductBarcode == productBarcode).First();
+ }
}
}