|
@ -48,7 +48,6 @@ import java.util.concurrent.Executors;
|
|
|
* @date 2017/9/13 15:46
|
|
|
*/
|
|
|
@Service
|
|
|
@Transactional
|
|
|
public class DoctorSchemeService {
|
|
|
private static Logger logger = LoggerFactory.getLogger(DoctorSchemeService.class);
|
|
|
|
|
@ -117,6 +116,15 @@ public class DoctorSchemeService {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
//是否关注
|
|
|
public String isTrack(String patient,String doctor){
|
|
|
TrackPatient trackPatient = trackPatientDao.findByDoctorCodeAndPatientCode(doctor,patient);
|
|
|
if(trackPatient==null){
|
|
|
return "0";
|
|
|
}
|
|
|
return trackPatient.getDel();
|
|
|
}
|
|
|
|
|
|
//添加重点关注
|
|
|
public void addTrack(String patient,String doctor){
|
|
|
synchronized (patient.intern()){
|
|
@ -973,7 +981,8 @@ public class DoctorSchemeService {
|
|
|
String hsql = "SELECT " +
|
|
|
" i.value1 AS weight, " +
|
|
|
" i.value2 AS height, " +
|
|
|
" i.value3 AS BMI " +
|
|
|
" i.value3 AS BMI, " +
|
|
|
" i.value4 " +
|
|
|
" FROM " +
|
|
|
" wlyy_patient_health_index i " +
|
|
|
" WHERE " +
|