| 
															
																@ -43,11 +43,15 @@ public class RemindExpensesTask implements Runnable { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    @Override 
															 | 
															
															 | 
															
																    @Override 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    public void run() { 
															 | 
															
															 | 
															
																    public void run() { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																        StringBuffer sb = new StringBuffer(); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																        for (Patient p : patients) { 
															 | 
															
															 | 
															
																        for (Patient p : patients) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																            try { 
															 | 
															
															 | 
															
																            try { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                if (StringUtils.isNotEmpty(p.getMobile())) { 
															 | 
															
															 | 
															
																                if (StringUtils.isNotEmpty(p.getMobile())) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                    JSONObject result = SMSService.sendMsg(p.getMobile(), doctor.getName() + "医生提醒您:为完成家庭医生签约," + 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                            "尽早为您提供家庭医生服务,请尽快到" + hospital.getName() + "(地址:" + hospital.getAddress() + ")缴费"); 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																                    if (sb.length() > 0) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																                        sb.append(","); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																                    } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																                    sb.append(p.getMobile()); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                } 
															 | 
															
															 | 
															
																                } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                if (StringUtils.isNotEmpty(p.getOpenid())) { 
															 | 
															
															 | 
															
																                if (StringUtils.isNotEmpty(p.getOpenid())) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                    // 微信提醒 
															 | 
															
															 | 
															
																                    // 微信提醒 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@ -70,5 +74,8 @@ public class RemindExpensesTask implements Runnable { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                e.printStackTrace(); 
															 | 
															
															 | 
															
																                e.printStackTrace(); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																            } 
															 | 
															
															 | 
															
																            } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																        } 
															 | 
															
															 | 
															
																        } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																        JSONObject result = SMSService.sendMsg(sb.toString(), doctor.getName() + "医生提醒您:为完成家庭医生签约," + 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																                "尽早为您提供家庭医生服务,请尽快到" + hospital.getName() + "(地址:" + hospital.getAddress() + ")缴费"); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    } 
															 | 
															
															 | 
															
																    } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																} 
															 | 
															
															 | 
															
																} 
															 |