|
@ -689,9 +689,11 @@ public class RehabilitationManageService {
|
|
|
String sql = "select h.name as title,h.content as content,h.code as itemType,d.id,d.execute_time,d.hospital_name,d.status,d.type,d.expense,d.doctor as executeDoctor, " +
|
|
|
" d.doctor_name as executeDoctorName,p.patient ,p.name as patientName,p.create_user as createDoctor,p.create_user_name as createDoctorName, p.status as planStatus," +
|
|
|
" p.disease,p.disease_name as diseaseName,p.title as planTitle,d.plan_id as planId,d.relation_code as relationCode,d.frequency_code as frequencyCode,d.remark " +
|
|
|
" ,a.appointment_time appointmentTime,a.appointment_doctor appointmentDoctor,a.appointment_doctor_name appointmentDoctorName,d.reservation_type reservationType,d.followup_detail_type followupDetailType " +
|
|
|
" ,a.appointment_time appointmentTime,a.appointment_doctor appointmentDoctor,a.appointment_doctor_name appointmentDoctorName" +
|
|
|
",d.reservation_type reservationType,d.followup_detail_type followupDetailType,f.visit_count visitCount " +
|
|
|
" from wlyy_specialist.wlyy_rehabilitation_plan_detail d " +
|
|
|
" LEFT JOIN wlyy_specialist.wlyy_rehabilitation_service_item h on d.hospital_service_item_id = h.code " +
|
|
|
" LEFT JOIN wlyy.wlyy_followup f on f.id=d.relation_code and d.hospital_service_item_id='6' " +
|
|
|
" LEFT JOIN wlyy_specialist.wlyy_patient_rehabilitation_plan p on d.plan_id=p.id " +
|
|
|
" LEFT JOIN wlyy_specialist.wlyy_plan_detail_appointment a on d.id=.a.rehabilitation_plan_detail_id " +
|
|
|
" where d.id = '" + planDetailId + "'";
|
|
@ -720,6 +722,7 @@ public class RehabilitationManageService {
|
|
|
// }
|
|
|
executeDoctorList.add(one.get("executeDoctorName") + "");//
|
|
|
resultMap.put("remark", one.get("remark"));//备注
|
|
|
resultMap.put("visitCount", one.get("visitCount"));//方式次数
|
|
|
resultMap.put("executeDoctorList", executeDoctorList);//执行医生名称列表
|
|
|
resultMap.put("executeDoctorCode", one.get("executeDoctor") + "");//执行医生code
|
|
|
resultMap.put("executeDoctorName", one.get("executeDoctorName") + "");//执行医生名称
|