| 
					
				 | 
			
			
				@ -7451,6 +7451,15 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    String applyDoctor = doctorMappingDO.getDoctorName()+"/"+doctorMappingDO.getMappingCode(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    com.alibaba.fastjson.JSONObject object = xzzxEntranceService.savePrescriptionToEntrance("0",outpatientDO.getCardNo(),outpatientDO.getRegisterNo(),outpatientDO.getDept(),applyDoctor,"50100",infoDOS); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    logger.info("成功上传处方"+object); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    //{"msg":"交易成功","code":"0","data":{"PresDetail":{"PresNo":"16151365"}},"success":"True"} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    if (object.getString("code").equalsIgnoreCase("0")){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        com.alibaba.fastjson.JSONObject jsonObject = object.getJSONObject("data"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        com.alibaba.fastjson.JSONObject jsonObject1 = jsonObject.getJSONObject("PresDetail"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        String realOrder = jsonObject1.getString("PresNo"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        wlyyPrescriptionDO.setAdmNo(outpatientDO.getAdmNo()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        wlyyPrescriptionDO.setSerialNo(outpatientDO.getAdmNo()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        wlyyPrescriptionDO.setRealOrder(realOrder); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                } catch (Exception e) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    e.printStackTrace(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                } 
			 |