| 
					
				 | 
			
			
				@ -84,14 +84,6 @@ public class PrescriptionAdjustService extends BaseService { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        prescription.setRecipeNo(recipeNo); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        prescriptionDao.save(prescription); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        //发送Im消息 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        JSONObject content = new JSONObject(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        content.put("title", "我已经审核您" + DateUtil.dateToStr(prescription.getCreateTime(), "yyyy-MM-dd") + "发起的续方申请"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        content.put("result", "审核通过"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        content.put("reason", ""); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        content.put("url", ""); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        imUtill.sendTopicIM(prescription.getDoctor(), prescription.getDoctorName(), prescription.getConsult(), "15", content.toString(), null); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        //添加日志 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        prescriptionLogService.addLog(prescription,PrescriptionLog.PrescriptionLogType.zy.getValue(),1,2); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -150,6 +142,14 @@ public class PrescriptionAdjustService extends BaseService { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        //审核通过模板消息 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        prescriptionInfoService.sendRMess(prescription.getCode(), 1); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        //发送Im消息 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        JSONObject content = new JSONObject(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        content.put("title", "我已经审核您" + DateUtil.dateToStr(prescription.getCreateTime(), "yyyy-MM-dd") + "发起的续方申请"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        content.put("result", "审核通过"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        content.put("reason", ""); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        content.put("url", ""); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        imUtill.sendTopicIM(prescription.getDoctor(), prescription.getDoctorName(), prescription.getConsult(), "15", content.toString(), null); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        //修改系统的续方消息的审核状态 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        messageDao.updatePreScriptionMessage(prescription.getConsult(), "1", 6); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 |