| 
					
				 | 
			
			
				@ -872,6 +872,10 @@ public class BusinessOrderService extends BaseJpaService<BusinessOrderDO,Busines 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                    if (org.apache.commons.lang3.StringUtils.isNotBlank(realOrder)){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                            sfResult = prescriptionService.getSFExpressInfoNew(admNo,realOrder,""); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                    String condition =""; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                    if (StringUtils.isNoneBlank(admNo)){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                        condition = " t.JZXH = '"+admNo+"' and"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                    if (!"".equals(sfResult)) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                        JSONObject json = JSONObject.parseObject(sfResult.toString()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                        String sfOrder =  json.getString("mailNo"); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -879,7 +883,7 @@ public class BusinessOrderService extends BaseJpaService<BusinessOrderDO,Busines 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                        String updatesql = "update v_ms_dd01 t set t.PSFS = 1 ,t.FKZT=1 ,t.YFSB = 6 ,t.KDDH ='"+sfOrder+"',t.SJR = '"+wlyyPrescriptionExpressageDO.getName()+"' ," + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                                " t.SJRDH = '"+wlyyPrescriptionExpressageDO.getMobile()+"' ,"+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                                " t.SJRDZ = '"+wlyyPrescriptionExpressageDO.getAddress()+"'"+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                                " where t.JZXH = '"+admNo+"' and t.CFSB ='"+realOrder+"'"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                                " where "+condition+" t.CFSB ='"+realOrder+"'"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                        ykyyEntranceService.updateHisStatus(updatesql); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                        logger.info("更新his成功"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                    } 
			 |