|  |  |  | 
|---|
|  |  |  | //发送会议预约成功通知 | 
|---|
|  |  |  | if(Constants.equalsInteger(bookings.getJoinNotice(),Constants.ZERO)){ | 
|---|
|  |  |  | this.sendNotice(bookings, MeetConstants.TWO); | 
|---|
|  |  |  | SystemUser systemUser = systemUserMapper.selectById(user.getId()); | 
|---|
|  |  |  | this.sendWxNotice(bookings,Objects.isNull(systemUser)||StringUtils.isBlank(systemUser.getOpenid())?null:systemUser.getOpenid(),Constants.ZERO); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | SystemUser systemUser = systemUserMapper.selectById(user.getId()); | 
|---|
|  |  |  | this.sendWxNotice(bookings,Objects.isNull(systemUser)||StringUtils.isBlank(systemUser.getOpenid())?null:systemUser.getOpenid(),Constants.ZERO); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | return bookings.getId(); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | 
|---|
|  |  |  | //发送会议通知 | 
|---|
|  |  |  | if(Constants.equalsInteger(bookings.getJoinNotice(),Constants.ZERO)){ | 
|---|
|  |  |  | this.sendNotice(bookings, MeetConstants.TWO); | 
|---|
|  |  |  | SystemUser systemUser = systemUserMapper.selectById(bookings.getUserId()); | 
|---|
|  |  |  | this.sendWxNotice(bookings,Objects.isNull(systemUser)||StringUtils.isBlank(systemUser.getOpenid())?null:systemUser.getOpenid(),Constants.ZERO); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | SystemUser systemUser = systemUserMapper.selectById(bookings.getUserId()); | 
|---|
|  |  |  | this.sendWxNotice(bookings,Objects.isNull(systemUser)||StringUtils.isBlank(systemUser.getOpenid())?null:systemUser.getOpenid(),Constants.ZERO); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Override | 
|---|
|  |  |  | 
|---|
|  |  |  | //取消会议 发送取消通知 | 
|---|
|  |  |  | if(Constants.equalsInteger(bookings.getJoinNotice(),Constants.ZERO)){ | 
|---|
|  |  |  | this.sendNotice(bookings, 3); | 
|---|
|  |  |  | this.sendWxNotice(bookings,Objects.isNull(systemUser)||StringUtils.isBlank(systemUser.getOpenid())?null:systemUser.getOpenid(),Constants.ONE); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | this.sendWxNotice(bookings,Objects.isNull(systemUser)||StringUtils.isBlank(systemUser.getOpenid())?null:systemUser.getOpenid(),Constants.ONE); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Override | 
|---|
|  |  |  | 
|---|
|  |  |  | if(Constants.equalsInteger(sendType,Constants.ZERO)){ | 
|---|
|  |  |  | wxPlatNotice.sendMeetingBookTemplateNotice(systemDictDataBiz,bookings,"CuoDoxOl6SFwi4NhNgOQgKSJVjDD4VCIaPYlnbv_zdY", | 
|---|
|  |  |  | systemDictDataBiz.queryByCode(Constants.WX_PLATFORM, Constants.WX_PLATFORM_ACCESS_TOKEN).getCode(),openIds); | 
|---|
|  |  |  | }else{ | 
|---|
|  |  |  | }else if(Constants.equalsInteger(sendType,Constants.ONE)){ | 
|---|
|  |  |  | wxPlatNotice.sendMeetingBookCancelTemplateNotice(systemDictDataBiz,bookings,"CiB6vCT2InovAoQfudY-lvzLSV0-3lfz3a5GsSFCzd8", | 
|---|
|  |  |  | systemDictDataBiz.queryByCode(Constants.WX_PLATFORM, Constants.WX_PLATFORM_ACCESS_TOKEN).getCode(),openIds); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | 
|---|
|  |  |  | ) | 
|---|
|  |  |  | .eq("c.DELETED",0) | 
|---|
|  |  |  | .eq("c.status",0) | 
|---|
|  |  |  | .eq("m.WORK_STATUS",0) | 
|---|
|  |  |  | .orderByAsc("c.id") | 
|---|
|  |  |  | ); | 
|---|
|  |  |  | String path = systemDictDataBiz.queryByCode(Constants.FTP,Constants.FTP_RESOURCE_PATH).getCode() | 
|---|