根据处方还药时bug修改
This commit is contained in:
parent
3f2bfb154a
commit
694bbd71dc
|
|
@ -177,7 +177,7 @@ 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)
|
||||
|
|
@ -186,6 +186,7 @@ namespace MasaBlazorApp3.DataAccess.Impl
|
|||
{
|
||||
query = query.Where(cs => cs.ManuNo.Equals(ManuNo));
|
||||
}
|
||||
query = query.Where(cs => cs.Quantity > 0);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
"boxColor": "白,绿"
|
||||
},
|
||||
"port": {
|
||||
"drawerPortPath": "COM10",
|
||||
"drawerPortPath": "COM2",
|
||||
"drawerProtocol": 485,
|
||||
"scanCodePortPath": "COM1",
|
||||
"canBusExsit": true,
|
||||
|
|
@ -31,14 +31,14 @@
|
|||
"canBusTwoExsit": true,
|
||||
"StorageCan": 1,
|
||||
//第二个can总线端口
|
||||
"canBusPortPathTwo": "COM11",
|
||||
"canBusPortPathTwo": "COM9",
|
||||
"doorAddr": 0,
|
||||
"storageBoxAddr": 0,
|
||||
"fridgePortExist": false,
|
||||
"fridgePortPath": "COM3"
|
||||
},
|
||||
"drawer": {
|
||||
"single": [ 1 ],
|
||||
"single": [ 1,2 ],
|
||||
"weigh": [ 4 ],
|
||||
"box": [ 4 ],
|
||||
"label": [ 4 ],
|
||||
|
|
|
|||
Loading…
Reference in New Issue