|  | @ -1604,8 +1604,11 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres
 | 
												
													
														
															|  |             List<BaseDoctorHospitalDO> hospitalDOs =  baseDoctorHospitalDao.findByDoctorCode(doctorDO.getId());
 |  |             List<BaseDoctorHospitalDO> hospitalDOs =  baseDoctorHospitalDao.findByDoctorCode(doctorDO.getId());
 | 
												
													
														
															|  |             if(hospitalDOs!=null&&hospitalDOs.size()>0){
 |  |             if(hospitalDOs!=null&&hospitalDOs.size()>0){
 | 
												
													
														
															|  |                rs.put("hospital",hospitalDOs.get(0));
 |  |                rs.put("hospital",hospitalDOs.get(0));
 | 
												
													
														
															|  | 
 |  |                BaseOrgDO org = baseOrgDao.findOne(hospitalDOs.get(0).getOrgCode());
 | 
												
													
														
															|  | 
 |  |                rs.put("winNo",org.getWinNo());
 | 
												
													
														
															|  |             }else{
 |  |             }else{
 | 
												
													
														
															|  |                rs.put("hospital",null);
 |  |                rs.put("hospital",null);
 | 
												
													
														
															|  | 
 |  |                rs.put("winNo",null);
 | 
												
													
														
															|  |             }
 |  |             }
 | 
												
													
														
															|  | 
 |  | 
 | 
												
													
														
															|  | 
 |  | 
 |