|
@ -3,20 +3,17 @@ package com.yihu.wlyy.service.app.health;
|
|
|
import com.alibaba.fastjson.JSON;
|
|
|
import com.fasterxml.jackson.databind.ObjectMapper;
|
|
|
import com.yihu.wlyy.entity.device.PatientDevice;
|
|
|
import com.yihu.wlyy.entity.dict.Medicines;
|
|
|
import com.yihu.wlyy.entity.education.Sports;
|
|
|
import com.yihu.wlyy.entity.education.SportsType;
|
|
|
import com.yihu.wlyy.entity.message.Message;
|
|
|
import com.yihu.wlyy.entity.patient.Patient;
|
|
|
import com.yihu.wlyy.entity.patient.PatientHealthStandard;
|
|
|
import com.yihu.wlyy.entity.patient.SignFamily;
|
|
|
import com.yihu.wlyy.health.entity.DevicePatientHealthIndex;
|
|
|
import com.yihu.wlyy.health.repository.DevicePatientHealthIndexDao;
|
|
|
import com.yihu.wlyy.repository.dict.MedicinesDao;
|
|
|
import com.yihu.wlyy.repository.education.SportsDao;
|
|
|
import com.yihu.wlyy.repository.education.SportsTypeDao;
|
|
|
import com.yihu.wlyy.repository.message.MessageDao;
|
|
|
import com.yihu.wlyy.repository.patient.*;
|
|
|
import com.yihu.wlyy.repository.patient.PatientDao;
|
|
|
import com.yihu.wlyy.repository.patient.PatientDeviceDao;
|
|
|
import com.yihu.wlyy.repository.patient.PatientHealthStandardDao;
|
|
|
import com.yihu.wlyy.repository.patient.SignFamilyDao;
|
|
|
import com.yihu.wlyy.service.BaseService;
|
|
|
import com.yihu.wlyy.service.app.scheduling.DoctorWorkTimeService;
|
|
|
import com.yihu.wlyy.task.HealthIndexUploadTask;
|
|
@ -111,6 +108,7 @@ public class PatientHealthIndexService extends BaseService {
|
|
|
}
|
|
|
|
|
|
patientHealthIndexDao.save(result);
|
|
|
verifyHealthIndex(result.getId());
|
|
|
}
|
|
|
else{
|
|
|
throw new Exception("Result not exit!");
|