|  | @ -3189,10 +3189,18 @@ public class MedicinedeviceService  extends BaseJpaService<Mediicinedevice, Medi
 | 
												
													
														
															|  |                     tempInventory = inventoryMap;
 |  |                     tempInventory = inventoryMap;
 | 
												
													
														
															|  |                 }
 |  |                 }
 | 
												
													
														
															|  |                 if ("20".equals(inventoryMap.get("state").toString())) {
 |  |                 if ("20".equals(inventoryMap.get("state").toString())) {
 | 
												
													
														
															|  |                     inventoryMap.put("cargoCapacity", tempInventory.get("cargoCapacity").toString());
 |  | 
 | 
												
													
														
															|  |                     inventoryMap.put("price", tempInventory.get("price").toString());
 |  | 
 | 
												
													
														
															|  |                     inventoryMap.put("drugName", tempInventory.get("drugName").toString());
 |  | 
 | 
												
													
														
															|  |                     inventoryMap.put("qty", tempInventory.get("qty").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 (id.equalsIgnoreCase(inventoryMap.get("layerNo").toString())){
 |  |                 if (id.equalsIgnoreCase(inventoryMap.get("layerNo").toString())){
 | 
												
													
														
															|  |                     jsonArray.add(inventoryMap);
 |  |                     jsonArray.add(inventoryMap);
 |