| 
					
				 | 
			
			
				@ -210,8 +210,12 @@ public class DoctorHealthGuidanceController extends WeixinBaseController { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
								// 保存 
			 | 
		
	
		
			
				 | 
				 | 
			
			
								if (patientHealthGuidanceService.add(guidance, getAccessToken()) != null) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
									String sendImgs = ""; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
									if(StringUtils.isNotBlank(images)){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
										sendImgs = images; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
									} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
									Patient p = patientService.findByCode(patient); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
									String imcotent  = "{\"title\":\"健康指导\",\"type\":2,\"id\":\"" + guidance.getId() + "\",\"img\":\"" + guidance.getImages() + "\",\"content\":\""+CommonUtil.getSubString(guidance.getContent(),0,30)+"\"}"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
									String imcotent  = "{\"title\":\"健康指导\",\"type\":2,\"id\":\"" + guidance.getId() + "\",\"img\":\"" + sendImgs + "\",\"content\":\""+CommonUtil.getSubString(guidance.getContent(),0,30)+"\"}"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
									consultService.sendMucMessageBySingnType(getUID(), doctor.getName(), patient, imcotent, "4", p.getName()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
									BusinessLogs.info(BusinessLogs.BusinessType.guidance, getUID(), patient, new JSONObject(guidance)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
									//发送成功记录模板发送次数 
			 |