Parcourir la source

已请假专家不在抽取

tags/24080901
WendyYang il y a 1 an
Parent
révision
58a1080dcf
1 fichiers modifiés avec 5 ajouts et 1 suppressions
  1. +5
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/meeting/manage/ExpertInviteManage.java

+ 5
- 1
pmapi/src/main/java/com/ningdatech/pmapi/meeting/manage/ExpertInviteManage.java Voir le fichier

@@ -450,7 +450,11 @@ public class ExpertInviteManage {
List<String> tmpUniqCompanyCodes = CollUtils.fieldList(agreeOrNoticingUserInfos, ExpertUserFullInfo::getCompanyUniqCode);
notInCompanyUniqCodeList.addAll(tmpUniqCompanyCodes);
}

// 已请假的专家不再抽取
List<MeetingExpert> expertsOnLeave = expertGroupByStatus.get(ON_LEAVE);
if (CollUtil.isNotEmpty(expertsOnLeave)) {
expertIdsNotIn.addAll(CollUtils.fieldList(expertsOnLeave, MeetingExpert::getExpertId));
}
// 处理已拒绝专家与重复抽取
BizUtils.notEmpty(expertGroupByStatus.get(REFUSED), refuseExperts -> {
List<Long> tmpExpertIdsNotIn;


Chargement…
Annuler
Enregistrer