|
@ -968,8 +968,12 @@ public class PatientHealthIndexService extends BaseService {
|
|
|
|
|
|
PatientVO patient = new PatientVO();
|
|
|
String patientsql = "select group_concat(label) disease from wlyy_sign_patient_label_info where label_type = 3 and status=1 and (label = 1 or label = 2) and patient = '"+p.getCode()+"' GROUP BY patient";
|
|
|
|
|
|
String patientdisease = jdbcTemplate.queryForObject(patientsql,String.class);
|
|
|
|
|
|
String patientdisease = "";
|
|
|
List<Map<String,Object>> diseases = jdbcTemplate.queryForList(patientsql);
|
|
|
if(diseases!=null&&diseases.size()>0){
|
|
|
patientdisease = (String)diseases.get(0).get("disease");
|
|
|
}
|
|
|
|
|
|
int bloodPressureBbnormalCount = 0;//血压异常次数
|
|
|
int bloodSuggurBbnormalCount = 0;//血糖异常次数
|