Compare commits

..

No commits in common. "57e2636ba37d4805d1dadbe86603b4c4319f2a9d" and "289a1491f3a621734a3d478d276dc2970468e825" have entirely different histories.

1 changed files with 1 additions and 1 deletions

View File

@ -109,6 +109,7 @@ namespace MasaBlazorApp3.DataAccess.Impl
query = query.Where(cs => cs.MachineId.Equals(_setting.machineId)).Where(cs => cs.DrawerType == 1) query = query.Where(cs => cs.MachineId.Equals(_setting.machineId)).Where(cs => cs.DrawerType == 1)
.Where(cs => cs.Quantity > 0)
.Where(cs => cs.DrugId.Equals(DrugId)); .Where(cs => cs.DrugId.Equals(DrugId));
if (quantity > 0) if (quantity > 0)
@ -117,7 +118,6 @@ namespace MasaBlazorApp3.DataAccess.Impl
{ {
query = query.Where(cs => cs.ManuNo.Equals(ManuNo)); query = query.Where(cs => cs.ManuNo.Equals(ManuNo));
} }
query = query.Where(cs => cs.Quantity > 0);
} }
else else
{ {