|  | @ -54,12 +54,12 @@ public class CopdXeekDeviceService  {
 | 
												
													
														
															|  |         }
 |  |         }
 | 
												
													
														
															|  |         sql.append(" order by de.parameter, lu.inspect_time asc ");
 |  |         sql.append(" order by de.parameter, lu.inspect_time asc ");
 | 
												
													
														
															|  |         detailList = jdbcTemplate.queryForList(sql.toString());
 |  |         detailList = jdbcTemplate.queryForList(sql.toString());
 | 
												
													
														
															|  |         StringBuilder sqlIn= new StringBuilder("select count(de.id) test1_value ,'次' unit,'吸气训练数据' name,'inCount' parameter from xmiot.wlyy_copd_xeek_lung_detail de,xmiot.wlyy_copd_xeek_lung lu," +
 |  | 
 | 
												
													
														
															|  | 
 |  |         StringBuilder sqlIn= new StringBuilder("select count(de.id) test1_value ,LEFT(inspect_time,10) dayTime,'次' unit,'吸气训练数据' name,'inCount' parameter from xmiot.wlyy_copd_xeek_lung_detail de,xmiot.wlyy_copd_xeek_lung lu," +
 | 
												
													
														
															|  |                   " xmiot.wlyy_iot_tz_dict dict  where  de.code = lu.id and dict.del=1 \n" +
 |  |                   " xmiot.wlyy_iot_tz_dict dict  where  de.code = lu.id and dict.del=1 \n" +
 | 
												
													
														
															|  |                   "and  dict.code='COPD_PARAMETER' and dict.value = de.parameter and  de.parameter='MIP' GROUP BY LEFT(inspect_time,10) ");
 |  |                   "and  dict.code='COPD_PARAMETER' and dict.value = de.parameter and  de.parameter='MIP' GROUP BY LEFT(inspect_time,10) ");
 | 
												
													
														
															|  | 
 |  | 
 | 
												
													
														
															|  | 
 |  | 
 | 
												
													
														
															|  |         StringBuilder sqlOut= new StringBuilder("select count(de.id) test1_value ,'次' unit,'呼气训练数据' name,'outCount' parameter from xmiot.wlyy_copd_xeek_lung_detail de,xmiot.wlyy_copd_xeek_lung lu," +
 |  | 
 | 
												
													
														
															|  | 
 |  |         StringBuilder sqlOut= new StringBuilder("select count(de.id) test1_value ,LEFT(inspect_time,10) dayTime,'次' unit,'呼气训练数据' name,'outCount' parameter from xmiot.wlyy_copd_xeek_lung_detail de,xmiot.wlyy_copd_xeek_lung lu," +
 | 
												
													
														
															|  |                   " xmiot.wlyy_iot_tz_dict dict  where  de.code = lu.id and dict.del=1 \n" +
 |  |                   " xmiot.wlyy_iot_tz_dict dict  where  de.code = lu.id and dict.del=1 \n" +
 | 
												
													
														
															|  |                   "and  dict.code='COPD_PARAMETER' and dict.value = de.parameter and  de.parameter='FVC'  GROUP BY LEFT(inspect_time,10)");
 |  |                   "and  dict.code='COPD_PARAMETER' and dict.value = de.parameter and  de.parameter='FVC'  GROUP BY LEFT(inspect_time,10)");
 | 
												
													
														
															|  |         sql = new StringBuilder("");
 |  |         sql = new StringBuilder("");
 |