|  | @ -1151,6 +1151,9 @@ public class PatientDeviceService extends BaseJpaService<DevicePatientDevice, Pa
 | 
	
		
			
				|  |  |                     break;
 | 
	
		
			
				|  |  |                 case "20": //电表 todo 日常用电情况
 | 
	
		
			
				|  |  |                     break;
 | 
	
		
			
				|  |  |                 case "21": //天然气 todo 天然气情况
 | 
	
		
			
				|  |  |                     naturalGasRecord(patientDO.getIdcard(),devInfoObj);
 | 
	
		
			
				|  |  |                     break;
 | 
	
		
			
				|  |  |             }
 | 
	
		
			
				|  |  | //        }
 | 
	
		
			
				|  |  |                 result.put(ResponseContant.resultFlag,ResponseContant.success);
 | 
	
	
		
			
				|  | @ -1159,6 +1162,17 @@ public class PatientDeviceService extends BaseJpaService<DevicePatientDevice, Pa
 | 
	
		
			
				|  |  |         return result;
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     /**
 | 
	
		
			
				|  |  |      * 天然气记录
 | 
	
		
			
				|  |  |      * @param idcard
 | 
	
		
			
				|  |  |      * @param devInfoObj
 | 
	
		
			
				|  |  |      */
 | 
	
		
			
				|  |  |     public void naturalGasRecord(String idcard,com.alibaba.fastjson.JSONObject devInfoObj){
 | 
	
		
			
				|  |  |         String sql = "SELECT syndyqzl,syndfy,lszyql from hz.gsq_hzrqjmyhglxtrqgrxx WHERE yhsfzh =? ORDER BY tongid desc LIMIT 1 " ;
 | 
	
		
			
				|  |  |         List<Map<String,Object>> mapList = jdbcTemplate.queryForList(sql,new Object[]{idcard});
 | 
	
		
			
				|  |  |         devInfoObj.put("naturalGasRecord",mapList);
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     /**
 | 
	
		
			
				|  |  |      * 获取睡眠带 睡眠报告
 | 
	
		
			
				|  |  |      * @param patient
 |