|  | @ -93,8 +93,10 @@ public class PrescriptionStatusUpdateService {
 | 
	
		
			
				|  |  |             //根据门诊id获取门诊记录:如果处方状态为已完成,需要将门诊状态改为已诊
 | 
	
		
			
				|  |  |             WlyyOutpatientDO wlyyOutpatientDO=outpatientDao.findById(outPatientId);
 | 
	
		
			
				|  |  |             if(null!=wlyyPrescriptionVOS){
 | 
	
		
			
				|  |  |                 ObjectMapper objectMapper=new ObjectMapper();
 | 
	
		
			
				|  |  |                 WlyyPrescriptionVO wlyyPrescriptionVO=objectMapper.convertValue(wlyyPrescriptionVOS.get(0),WlyyPrescriptionVO.class);
 | 
	
		
			
				|  |  |                 //如果状态为100,门诊记录需要变更为结束
 | 
	
		
			
				|  |  |                 WlyyPrescriptionVO wlyyPrescriptionVO=wlyyPrescriptionVOS.get(0);
 | 
	
		
			
				|  |  | //               wlyyPrescriptionVOS.get(0);
 | 
	
		
			
				|  |  |                 wlyyPrescriptionDO.setStatus(wlyyPrescriptionVO.getStatus());
 | 
	
		
			
				|  |  |                 //用处方号获取不到处方时,重新更新处方到本地
 | 
	
		
			
				|  |  |                 if(!preExistFlag){
 | 
	
	
		
			
				|  | @ -206,7 +208,7 @@ public class PrescriptionStatusUpdateService {
 | 
	
		
			
				|  |  |             ObjectMapper objectMapper=new ObjectMapper();
 | 
	
		
			
				|  |  |             ListEnvelop listEnvelop=objectMapper.readValue(result,ListEnvelop.class);
 | 
	
		
			
				|  |  |             if(null!=listEnvelop&& EnvelopStatus.success.code.equals(listEnvelop.getStatus())&&null!=listEnvelop.getDetailModelList()&&listEnvelop.getDetailModelList().size()>0){
 | 
	
		
			
				|  |  |                 logger.info("result:"+listEnvelop.getDetailModelList());
 | 
	
		
			
				|  |  | //                logger.info("result:"+listEnvelop.getDetailModelList());
 | 
	
		
			
				|  |  |                 List<WlyyPrescriptionVO> wlyyPrescriptionVOS=listEnvelop.getDetailModelList();
 | 
	
		
			
				|  |  |                 return wlyyPrescriptionVOS;
 | 
	
		
			
				|  |  |             }
 |