|
@ -3189,17 +3189,19 @@ public class MedicinedeviceService extends BaseJpaService<Mediicinedevice, Medi
|
|
|
tempInventory = inventoryMap;
|
|
|
}
|
|
|
if ("20".equals(inventoryMap.get("state").toString())) {
|
|
|
if (tempInventory.get("cargoCapacity") != null && !StringUtils.isEmpty(tempInventory.get("cargoCapacity").toString())) {
|
|
|
inventoryMap.put("cargoCapacity", tempInventory.get("cargoCapacity").toString());
|
|
|
}
|
|
|
if (tempInventory.get("price") != null && !StringUtils.isEmpty(tempInventory.get("price").toString())) {
|
|
|
inventoryMap.put("price", tempInventory.get("price").toString());
|
|
|
}
|
|
|
if (tempInventory.get("drugName") != null && !StringUtils.isEmpty(tempInventory.get("drugName").toString())) {
|
|
|
inventoryMap.put("drugName", tempInventory.get("drugName").toString());
|
|
|
}
|
|
|
if (tempInventory.get("qty") != null && !StringUtils.isEmpty(tempInventory.get("qty").toString())) {
|
|
|
inventoryMap.put("qty", tempInventory.get("qty").toString());
|
|
|
if (tempInventory != null) {
|
|
|
if (tempInventory.get("cargoCapacity") != null && !StringUtils.isEmpty(tempInventory.get("cargoCapacity").toString())) {
|
|
|
inventoryMap.put("cargoCapacity", tempInventory.get("cargoCapacity").toString());
|
|
|
}
|
|
|
if (tempInventory.get("price") != null && !StringUtils.isEmpty(tempInventory.get("price").toString())) {
|
|
|
inventoryMap.put("price", tempInventory.get("price").toString());
|
|
|
}
|
|
|
if (tempInventory.get("drugName") != null && !StringUtils.isEmpty(tempInventory.get("drugName").toString())) {
|
|
|
inventoryMap.put("drugName", tempInventory.get("drugName").toString());
|
|
|
}
|
|
|
if (tempInventory.get("qty") != null && !StringUtils.isEmpty(tempInventory.get("qty").toString())) {
|
|
|
inventoryMap.put("qty", tempInventory.get("qty").toString());
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
if (id.equalsIgnoreCase(inventoryMap.get("layerNo").toString())){
|