修改处方还药时bug
This commit is contained in:
parent
1c91715d36
commit
067400b221
|
|
@ -109,7 +109,6 @@ 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)
|
||||||
|
|
@ -118,6 +117,7 @@ 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
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue