| | |
| | | } |
| | | Constants.WxUrlParams wxUrlParams = Constants.WxUrlParams.VISIT_REPORT_RECORD_USER; |
| | | if(!Constants.equalsInteger(visits.getType(),Constants.TWO)){ |
| | | if(objCode.equals(WxPlatConstants.visitContent.visitUpload)){ |
| | | if(!objCode.equals(WxPlatConstants.visitContent.visitWaitAudit)){ |
| | | wxUrlParams = Constants.WxUrlParams.VISIT_RECORD_VISIT; |
| | | }else{ |
| | | wxUrlParams = Constants.WxUrlParams.VISIT_RECORD_USER; |
| | |
| | | }else if(Constants.equalsInteger(platformBooks.getStatus(),Constants.TWO)){ |
| | | const9.put("value","申请已审核通过"); |
| | | }else{ |
| | | const9.put("value","申请未通过"); |
| | | const9.put("value","申请已审核驳回"); |
| | | } |
| | | } |
| | | //车牌号 |
| | |
| | | Map<String, Object> const6 = new HashMap<String,Object>(); |
| | | const6.put("value",wxNoticeConfig.getTitile()); |
| | | //车牌号 |
| | | Map<String, Object> character_string1 = new HashMap<String,Object>(); |
| | | character_string1.put("value",platformJob.getCarCodeFront()); |
| | | Map<String, Object> car_number3 = new HashMap<String,Object>(); |
| | | car_number3.put("value",platformJob.getCarCodeFront()); |
| | | //月台号 |
| | | Map<String, Object> thing3 = new HashMap<String,Object>(); |
| | | thing3.put("value", platformJob.getPlatformName()); |
| | | Map<String, Object> character_string7 = new HashMap<String,Object>(); |
| | | character_string7.put("value", "A001"); |
| | | //时间 |
| | | Map<String, Object> time4 = new HashMap<String,Object>(); |
| | | time4.put("value", DateUtil.getFomartDate(new Date(),"yyyy年MM月dd日 HH:mm:ss") ); |
| | | dataMap.put("const6",const6); |
| | | dataMap.put("character_string1",character_string1); |
| | | dataMap.put("thing3",thing3); |
| | | dataMap.put("car_number3",car_number3); |
| | | dataMap.put("character_string7",character_string7); |
| | | dataMap.put("time4",time4); |
| | | for (String openId:openIds) { |
| | | paramMap.clear(); |
| | |
| | | paramMap.put("touser", openId); |
| | | paramMap.put("data", dataMap); |
| | | String response = HttpsUtil.postJson(postUrL, JSONObject.toJSONString(paramMap)); |
| | | log.warn("·==++--·推送微信模板信息内容:{}", JSONObject.toJSONString(paramMap)); |
| | | if(StringUtils.isBlank(response)){ |
| | | log.warn("·==++--·推送微信模板信息:{}·--++==·", "失败"); |
| | | }else{ |