Browse Source

停止会议

tags/24080901
WendyYang 4 months ago
parent
commit
411d593ae6
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      hz-pm-api/src/main/java/com/hz/pm/api/meeting/task/ExpertRandomInviteTask.java

+ 2
- 2
hz-pm-api/src/main/java/com/hz/pm/api/meeting/task/ExpertRandomInviteTask.java View File

@@ -305,11 +305,11 @@ public class ExpertRandomInviteTask {
});
if (notIgnoreCnt.get() == 0 || notIgnoreCnt.get() == notSupportCnt.get()) {
log.info("停止会议随机邀请:{} 未完成抽取规则数量 {} 无可抽取专家规则数量 {}", meetingId, notIgnoreCnt, notSupportCnt);
cancelByMeetingIdAndKillTask(meetingId);
if (notIgnoreCnt.get() == notSupportCnt.get() && notIgnoreCnt.get() > 0) {
// 当未完成抽取且无专家可抽取时
meetingNotifyHelper.sendInviteStopMsg(meeting.getCreateBy(), meetingId, meeting.getName());
}
cancelByMeetingIdAndKillTask(meetingId);
}
// 所有抽取规则抽取人数满足 自动召开会议
if (notIgnoreCnt.get() == 0 && notSupportCnt.get() == 0) {
@@ -335,7 +335,7 @@ public class ExpertRandomInviteTask {
if (future != null) {
INVITE_TASK_MAP.remove(meetingId);
if (!future.isCancelled()) {
future.cancel(true);
future.cancel(false);
}
}
}


Loading…
Cancel
Save