|
@ -691,7 +691,7 @@ public class RehabilitationManageService {
|
|
|
public ObjEnvelop serviceItem(String planDetailId,String doctorCode) throws Exception{
|
|
|
String sql = "select h.name as title,h.name 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"+
|
|
|
" p.disease,p.disease_name as diseaseName,p.title as planTitle,d.plan_id as planId "+
|
|
|
" 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_specialist.wlyy_patient_rehabilitation_plan p on d.plan_id=p.id " +
|
|
@ -736,6 +736,7 @@ public class RehabilitationManageService {
|
|
|
resultMap.put("disease",one.get("disease"));
|
|
|
resultMap.put("diseaseName",one.get("diseaseName"));
|
|
|
resultMap.put("planTitle",one.get("planTitle"));
|
|
|
resultMap.put("planId",one.get("planId"));
|
|
|
//指导与汇报
|
|
|
List<GuidanceMessageLogDO> messageList = guidanceMessageLogDao.findByPlanDetailId(one.get("id").toString());
|
|
|
List<Map<String,Object>> messageMapList = new ArrayList<>();
|