|
@ -291,18 +291,6 @@ public class RehabilitationPlanController extends EnvelopRestEndpoint {
|
|
|
@ApiParam(name = "contentJsonStr", value = "contentJsonStr")
|
|
|
@RequestParam(value = "contentJsonStr", required = true) String contentJsonStr){
|
|
|
try {
|
|
|
|
|
|
/*Patient p = patientService.findByCode(patient);
|
|
|
com.alibaba.fastjson.JSONObject content = new com.alibaba.fastjson.JSONObject();
|
|
|
content.put("name",p.getName());
|
|
|
content.put("patient",patient);
|
|
|
content.put("photo",p.getPhoto());
|
|
|
content.put("age",IdCardUtil.getAgeForIdcard(p.getIdcard()));
|
|
|
content.put("sex",IdCardUtil.getSexForIdcard_new(p.getIdcard()));
|
|
|
SignFamily signFamily = signFamilyDao.findByPatient(patient);
|
|
|
if(signFamily!=null){
|
|
|
content.put("hospitalName",signFamily.getHospitalName());
|
|
|
}*/
|
|
|
imUtill.sendImMsg(doctorCode,doctorName,sessionId,ImUtill.ContentType.Rehabilitation.getValue(),contentJsonStr,businessType);
|
|
|
return Envelop.getSuccess(SpecialistMapping.api_success);
|
|
|
}catch (Exception e){
|