|  | @ -595,7 +595,7 @@ public class RehabilitationManageService {
 | 
												
													
														
															|  |         }
 |  |         }
 | 
												
													
														
															|  |         String planDetailResult = StringUtils.isNotEmpty(planDetailList)?planDetailList.substring(1):"";
 |  |         String planDetailResult = StringUtils.isNotEmpty(planDetailList)?planDetailList.substring(1):"";
 | 
												
													
														
															|  |         String sql = "select i.name,i.code,i.content,d.execute_time,d.hospital_name,d.id,d.status,d.type as detailType,d.expense,d.doctor as executeDoctor," +
 |  |         String sql = "select i.name,i.code,i.content,d.execute_time,d.hospital_name,d.id,d.status,d.type as detailType,d.expense,d.doctor as executeDoctor," +
 | 
												
													
														
															|  |                 " d.doctor_name as executeDoctorName,p.patient ,p.create_user as createDoctor,p.create_user_name as createDoctorName, p.status as planStatus  " +
 |  | 
 | 
												
													
														
															|  | 
 |  |                 " d.doctor_name as executeDoctorName,p.patient ,p.id AS planId,p.create_user as createDoctor,p.create_user_name as createDoctorName, p.status as planStatus  " +
 | 
												
													
														
															|  |                 " from wlyy_specialist.wlyy_rehabilitation_plan_detail d " +
 |  |                 " from wlyy_specialist.wlyy_rehabilitation_plan_detail d " +
 | 
												
													
														
															|  |                 " LEFT JOIN wlyy_specialist.wlyy_rehabilitation_service_item i on i.code = d.hospital_service_item_id " +
 |  |                 " LEFT JOIN wlyy_specialist.wlyy_rehabilitation_service_item i on i.code = d.hospital_service_item_id " +
 | 
												
													
														
															|  |                 " LEFT JOIN wlyy_specialist.wlyy_patient_rehabilitation_plan p on d.plan_id=p.id " +
 |  |                 " LEFT JOIN wlyy_specialist.wlyy_patient_rehabilitation_plan p on d.plan_id=p.id " +
 | 
												
											
												
													
														
															|  | @ -623,6 +623,7 @@ public class RehabilitationManageService {
 | 
												
													
														
															|  |             resultMap.put("specialistDoctorName",one.get("createDoctorName")+"");//创建人(专科)医生名字
 |  |             resultMap.put("specialistDoctorName",one.get("createDoctorName")+"");//创建人(专科)医生名字
 | 
												
													
														
															|  |             resultMap.put("title",one.get("name"));//项目标题
 |  |             resultMap.put("title",one.get("name"));//项目标题
 | 
												
													
														
															|  |             resultMap.put("planDetaiId",one.get("id"));//计划服务项目id
 |  |             resultMap.put("planDetaiId",one.get("id"));//计划服务项目id
 | 
												
													
														
															|  | 
 |  |             resultMap.put("planId",one.get("planId"));//计划id
 | 
												
													
														
															|  |             resultMap.put("shortExecuteTime",DateUtil.dateToStr((Date) one.get("execute_time"),DateUtil.HH_MM));//项目标题
 |  |             resultMap.put("shortExecuteTime",DateUtil.dateToStr((Date) one.get("execute_time"),DateUtil.HH_MM));//项目标题
 | 
												
													
														
															|  |             resultMap.put("content",one.get("content"));//项目内容
 |  |             resultMap.put("content",one.get("content"));//项目内容
 | 
												
													
														
															|  |             resultMap.put("hospitalName",one.get("hospital_name"));//地点
 |  |             resultMap.put("hospitalName",one.get("hospital_name"));//地点
 | 
												
											
												
													
														
															|  | @ -1353,8 +1354,10 @@ public class RehabilitationManageService {
 | 
												
													
														
															|  |         Integer allCount = rehabilitationDetailDao.findAllByPlanId(planId);//计划总服务项目数
 |  |         Integer allCount = rehabilitationDetailDao.findAllByPlanId(planId);//计划总服务项目数
 | 
												
													
														
															|  |         Integer finishedCount = rehabilitationDetailDao.findByStatusAndPlanId(1,planId);
 |  |         Integer finishedCount = rehabilitationDetailDao.findByStatusAndPlanId(1,planId);
 | 
												
													
														
															|  |         PatientRehabilitationPlanDO p =patientRehabilitationPlanDao.findById(planId);
 |  |         PatientRehabilitationPlanDO p =patientRehabilitationPlanDao.findById(planId);
 | 
												
													
														
															|  | 
 |  |         SpecialistPatientRelationDO specialistPatientRelationDO = specialistPatientRelationDao.findByDoctorAndPatient(p.getCreateUser(),p.getPatient());
 | 
												
													
														
															|  |         resultMap.put("allCount",allCount);
 |  |         resultMap.put("allCount",allCount);
 | 
												
													
														
															|  |         resultMap.put("finishedCount",finishedCount);
 |  |         resultMap.put("finishedCount",finishedCount);
 | 
												
													
														
															|  | 
 |  |         resultMap.put("specialistPatientRelationDO",specialistPatientRelationDO);
 | 
												
													
														
															|  |         if (p!=null){
 |  |         if (p!=null){
 | 
												
													
														
															|  |             resultMap.put("disease",p.getDisease());
 |  |             resultMap.put("disease",p.getDisease());
 | 
												
													
														
															|  |             resultMap.put("diseaseName",p.getDiseaseName());
 |  |             resultMap.put("diseaseName",p.getDiseaseName());
 |