|  | @ -105,9 +105,9 @@ public class DetectionPlatformService  {
 | 
												
													
														
															|  |                 "(SELECT COUNT(pd.id) isUse FROM wlyy_devices d,wlyy_patient_device pd WHERE d.device_type = 0 AND d.device_code = pd.device_sn AND pd.del = 0) isUse";
 |  |                 "(SELECT COUNT(pd.id) isUse FROM wlyy_devices d,wlyy_patient_device pd WHERE d.device_type = 0 AND d.device_code = pd.device_sn AND pd.del = 0) isUse";
 | 
												
													
														
															|  |         List<Map<String , Object>> healthList = jdbcTemplate.queryForList(healthSql);
 |  |         List<Map<String , Object>> healthList = jdbcTemplate.queryForList(healthSql);
 | 
												
													
														
															|  |         if (healthList.size() > 0) {
 |  |         if (healthList.size() > 0) {
 | 
												
													
														
															|  |             object.put("healthAllCount",securityList.get(0).get("allCount"));//健康设备总量
 |  | 
 | 
												
													
														
															|  |             object.put("healthIsUseCount",securityList.get(0).get("isUse"));//健康设备使用中数量
 |  | 
 | 
												
													
														
															|  |             object.put("healthInventoryCount",securityList.get(0).get("inventory"));//健康设备库存量
 |  | 
 | 
												
													
														
															|  | 
 |  |             object.put("healthAllCount",healthList.get(0).get("allCount"));//健康设备总量
 | 
												
													
														
															|  | 
 |  |             object.put("healthIsUseCount",healthList.get(0).get("isUse"));//健康设备使用中数量
 | 
												
													
														
															|  | 
 |  |             object.put("healthInventoryCount",healthList.get(0).get("inventory"));//健康设备库存量
 | 
												
													
														
															|  |         } else {
 |  |         } else {
 | 
												
													
														
															|  |             object.put("healthAllCount",0);//健康设备总量
 |  |             object.put("healthAllCount",0);//健康设备总量
 | 
												
													
														
															|  |             object.put("healthIsUseCount",0);//健康设备使用中数量
 |  |             object.put("healthIsUseCount",0);//健康设备使用中数量
 |