|
@@ -315,8 +315,11 @@ public class DingTalkAndMessage {
|
|
|
.collect(Collectors.toList()))
|
|
|
.orElse(Collections.emptyList());
|
|
|
} else {
|
|
|
- throw new BusinessException(newReport.getCreateBy() + "的报告:" + newReport.getId() + ",抄送人为空,无需发送消息中心");
|
|
|
+ log.info(newReport.getCreateBy() + "的报告:" + newReport.getId() + ",抄送人为空,无需发送消息中心");
|
|
|
+ return;
|
|
|
}
|
|
|
+ log.info("本次需要发送userId集合{}", userId);
|
|
|
+
|
|
|
LambdaQueryWrapper<SysUser> nickNameQuery = Wrappers.lambdaQuery();
|
|
|
nickNameQuery.select(SysUser::getNickName)
|
|
|
.eq(SysUser::getUserId, submitterId);
|