Commit 29a0db48ea974c9345daa363bdd218034a05fbb2

Authored by jiangjiazhi
1 parent f257469f58

SmsConfigModel 过滤掉不同步

Showing 1 changed file with 4 additions and 2 deletions

platform-job-index/src/main/java/com/lyms/platform/job/index/restore/data/SyncDataWork.java View file @ 29a0db4
... ... @@ -399,7 +399,7 @@
399 399 for (BabyModel babyModel : babyModels) {
400 400 Patients patients = ConvertHelper.convertToMamiBaby(babyModel);
401 401 //构建消息
402   - buildNotifyMessage(patients.getPhone());
  402 + buildNotifyMessage(patients.getPhone(),patients.getUsername());
403 403 patientsService.aouPatients(patients);
404 404  
405 405  
... ... @@ -1299,7 +1299,7 @@
1299 1299 }
1300 1300  
1301 1301  
1302   - private void buildNotifyMessage(String phone) {
  1302 + private void buildNotifyMessage(String phone,String name) {
1303 1303 if (StringUtils.isEmpty(phone)) {
1304 1304 return;
1305 1305 }
... ... @@ -1318,6 +1318,8 @@
1318 1318 String gzopendId= members.get(0).getGzOpenId();
1319 1319 Map params=new HashMap();
1320 1320 params.put("gzopenId",gzopendId);
  1321 + params.put("phone",phone);
  1322 + params.put("name",name);
1321 1323 HttpClientUtil.doGet("https://weixin-push-save.healthbaby.com.cn/biz-push-web/direct/push",params,"UTF8","3d19960bf3e81e7d816c4f26051c49ba");
1322 1324 }
1323 1325 }