QueryLatestStep

dep_yangw
杨威 10 months ago
parent 34ff165167
commit d47ea5ee78

@ -44,8 +44,8 @@ namespace ProductionSystem_Service
return db.Queryable<T_Product_Step>().
Where(m => m.StepName == stepName
&& m.EquipmentName == equipmentName
&& m.ProductType == productType)
.Where(x=>x.ProductBarcode==productCode)
&& m.ProductType == productType && m.ProductBarcode==productCode)
.OrderByDescending(x=>x.CreateTime)
.First();
}

Loading…
Cancel
Save