修改处方还药时bug

This commit is contained in:
马巧 2025-09-28 11:51:39 +08:00
parent 1c91715d36
commit 067400b221
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,6 @@ namespace MasaBlazorApp3.DataAccess.Impl
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));
if (quantity > 0)
@ -118,6 +117,7 @@ namespace MasaBlazorApp3.DataAccess.Impl
{
query = query.Where(cs => cs.ManuNo.Equals(ManuNo));
}
query = query.Where(cs => cs.Quantity > 0);
}
else
{