|
@ -732,5 +732,24 @@ public class SpecialistService extends BaseService {
|
|
List<SignPatientLabelInfo> list = signPatientLabelInfoDao.findByPatientAndLabelTypeAndStatus(patient,"8",1);
|
|
List<SignPatientLabelInfo> list = signPatientLabelInfoDao.findByPatientAndLabelTypeAndStatus(patient,"8",1);
|
|
return list;
|
|
return list;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
public Boolean checkPatientSpecialistSign(String patient){
|
|
|
|
try {
|
|
|
|
Map<String, Object> param = new HashedMap();
|
|
|
|
param.put("patient", patient);
|
|
|
|
HttpResponse response = HttpUtils.doGet(specialistUrl + "svr-specialist/findPatientTeamList", param);
|
|
|
|
JSONObject rs = new JSONObject(response.getContent());
|
|
|
|
if ("succes".equals(rs.getString("message"))) {
|
|
|
|
JSONArray jr = rs.getJSONArray("obj");
|
|
|
|
if(jr!=null&&jr.length()>0){
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}catch (Exception e){
|
|
|
|
logger.info(e.getMessage()+"_"+e.toString());
|
|
|
|
}
|
|
|
|
return false;
|
|
|
|
}
|
|
}
|
|
}
|
|
|
|
|