|
@ -98,7 +98,7 @@ public class DoctorHealthGuidanceController extends WeixinBaseController {
|
|
// 保存
|
|
// 保存
|
|
if (patientHealthGuidanceService.add(guidance, getAccessToken()) != null) {
|
|
if (patientHealthGuidanceService.add(guidance, getAccessToken()) != null) {
|
|
Patient p = patientService.findByCode(patient);
|
|
Patient p = patientService.findByCode(patient);
|
|
consultService.sendMucMessageBySingnType(getUID(),doctor.getName(),patient,content,"1","医生:"+doctor.getName()+"给患者:"+p.getName()+"发送了健康指导!");
|
|
|
|
|
|
consultService.sendMucMessageBySingnType(getUID(),doctor.getName(),patient,content,"1",p.getName());
|
|
BusinessLogs.info(BusinessLogs.BusinessType.guidance, patient, new JSONObject(guidance));
|
|
BusinessLogs.info(BusinessLogs.BusinessType.guidance, patient, new JSONObject(guidance));
|
|
return success("保存成功!");
|
|
return success("保存成功!");
|
|
} else {
|
|
} else {
|