| | |
| | | initWithVisitInfo(visits); |
| | | updateProblemLog(visits,problemLog,member); |
| | | //创建审批记录 |
| | | createApprove(visits,visitMember); |
| | | // createApprove(visits,visitMember); |
| | | //发送微信公众号通知 |
| | | wxPlatNotice.sendVisitAuditTemplateNotice(visits, |
| | | systemDictDataBiz.queryByCode(Constants.WX_PLATFORM,Constants.WX_PLATFORM_PREFIX).getCode(), |
| | |
| | | ApproveParam approveParam = new ApproveParam(); |
| | | //发送审批/抄送记录的用户主键集合 |
| | | ids.clear(); |
| | | if(Objects.isNull(allParam)){ |
| | | if(!CollectionUtils.isNotEmpty(allParam)){ |
| | | if(Objects.isNull(level)){ |
| | | throw new BusinessException(ResponseStatus.NOT_ALLOWED.getCode(),"未配置访客记录审批流,请联系管理员"); |
| | | throw new BusinessException(ResponseStatus.NOT_ALLOWED.getCode(),"未配置访客审批流,请联系管理员"); |
| | | } |
| | | }else{ |
| | | approveParam = allParam.get(0); |