|
@ -144,7 +144,7 @@ public class MedicinedeviceService extends BaseJpaService<Mediicinedevice, Medi
|
|
//默认下架
|
|
//默认下架
|
|
inventory.setShelfStatus("0");
|
|
inventory.setShelfStatus("0");
|
|
//默认货道关闭
|
|
//默认货道关闭
|
|
inventory.setCargoState("0");
|
|
|
|
|
|
inventory.setCargoState("1");
|
|
inventoryDao.save(inventory);
|
|
inventoryDao.save(inventory);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@ -614,8 +614,8 @@ public class MedicinedeviceService extends BaseJpaService<Mediicinedevice, Medi
|
|
for (MediicinecabinetInventory inventory : list) {
|
|
for (MediicinecabinetInventory inventory : list) {
|
|
inventory.setPic(null);
|
|
inventory.setPic(null);
|
|
inventory.setShelfStatus("0");
|
|
inventory.setShelfStatus("0");
|
|
//关闭货道
|
|
|
|
inventory.setCargoState("0");
|
|
|
|
|
|
//关闭货道,默认开启货道
|
|
|
|
inventory.setCargoState("1");
|
|
inventory.setQty("0");
|
|
inventory.setQty("0");
|
|
inventory.setDrugCode(null);
|
|
inventory.setDrugCode(null);
|
|
inventory.setDrugId(null);
|
|
inventory.setDrugId(null);
|