| 
					
				 | 
			
			
				@ -734,7 +734,10 @@ public class BusinessOrderService extends BaseJpaService<BusinessOrderDO,Busines 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                WlyyPrescriptionExpressageDO wlyyPrescriptionExpressageDO = expressList.get(0); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                if (null!=wlyyPrescriptionExpressageDO&&wlyyPrescriptionExpressageDO.getOneselfPickupFlg()==1){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                    //同步his写入自取信息 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                    String updatesql = "update v_ms_dd01 t set t.PSFS = 0 ,t.FKZT=1 where t.JZXH = '"+wlyyPrescriptionDO.getAdmNo()+"' and t.CFSB ='"+wlyyPrescriptionDO.getRealOrder()+"'"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                    String updatesql = "update v_ms_dd01 t set t.PSFS = 0 ,t.FKZT=1 ,t.SJR= '"+wlyyPrescriptionExpressageDO.getName()+"' ," + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                            " t.SJRDH = '"+wlyyPrescriptionExpressageDO.getMobile()+"' ,"+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                            " t.SJRDZ = '"+wlyyPrescriptionExpressageDO.getAddress()+"'"+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                            " where t.JZXH = '"+wlyyPrescriptionDO.getAdmNo()+"' and t.CFSB ='"+wlyyPrescriptionDO.getRealOrder()+"'"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                    ykyyEntranceService.updateHisStatus(updatesql); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                    logger.info("自取写入更新his"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                }else { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -752,7 +755,10 @@ public class BusinessOrderService extends BaseJpaService<BusinessOrderDO,Busines 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                        JSONObject json = JSONObject.parseObject(sfResult.toString()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                        String sfOrder =  json.getString("mailNo"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                        logger.info("---获取订单号为:"+sfOrder); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                        String updatesql = "update v_ms_dd01 t set t.PSFS = 1 ,t.FKZT=1 ,t.KDDH ='"+sfOrder+"' where t.JZXH = '"+admNo+"' and t.CFSB ='"+realOrder+"'"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                        String updatesql = "update v_ms_dd01 t set t.PSFS = 1 ,t.FKZT=1 ,t.KDDH ='"+sfOrder+"',t.SJR = '"+wlyyPrescriptionExpressageDO.getName()+"' ," + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                                " t.SJRDH = '"+wlyyPrescriptionExpressageDO.getMobile()+"' ,"+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                                " t.SJRDZ = '"+wlyyPrescriptionExpressageDO.getAddress()+"'"+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                                " where t.JZXH = '"+admNo+"' and t.CFSB ='"+realOrder+"'"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                        ykyyEntranceService.updateHisStatus(updatesql); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                        logger.info("更新his成功"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                    } 
			 |