|  | @ -1021,6 +1021,11 @@ public class ImService {
 | 
												
													
														
															|  | 		consultTeam.setStatus(1);
 |  | 		consultTeam.setStatus(1);
 | 
												
													
														
															|  | 		consultDao.save(cons);
 |  | 		consultDao.save(cons);
 | 
												
													
														
															|  | 		consultTeamDao.save(consultTeam);
 |  | 		consultTeamDao.save(consultTeam);
 | 
												
													
														
															|  | 
 |  | 		
 | 
												
													
														
															|  | 
 |  | 		WlyyOutpatientDO wlyyOutpatientDO = outpatientDao.findOne(cons.getRelationCode());
 | 
												
													
														
															|  | 
 |  | 		if(wlyyOutpatientDO != null && wlyyOutpatientDO.getId() != null){
 | 
												
													
														
															|  | 
 |  | 			wlyyOutpatientDO.setStatus("2");
 | 
												
													
														
															|  | 
 |  | 		}
 | 
												
													
														
															|  | 		return 1;
 |  | 		return 1;
 | 
												
													
														
															|  | 	}
 |  | 	}
 | 
												
													
														
															|  | 	
 |  | 	
 |