Explorar el Código

条件合并null修复

tags/24080901
WendyYang hace 1 año
padre
commit
562a9a0fb6
Se han modificado 1 ficheros con 4 adiciones y 4 borrados
  1. +4
    -4
      pmapi/src/main/java/com/ningdatech/pmapi/meeting/manage/ExpertInviteManage.java

+ 4
- 4
pmapi/src/main/java/com/ningdatech/pmapi/meeting/manage/ExpertInviteManage.java Ver fichero

@@ -279,7 +279,7 @@ public class ExpertInviteManage {
Set<Long> expertIdsNotIn = new HashSet<>();
if (CollUtil.isNotEmpty(merge.getExpertIdsIn())) {
expertIdsIn.addAll(merge.getExpertIdsIn());
} else {
} else if (CollUtil.isNotEmpty(merge.getExpertIdsNotIn())) {
expertIdsNotIn.addAll(merge.getExpertIdsNotIn());
}
// 处理专家层级
@@ -333,8 +333,8 @@ public class ExpertInviteManage {
* @param randomRule 随机抽取
* @param invitedExperts 已抽取人员
* @param count 抽取数量
* @param msTime 会议开始时间
* @param meTime 会议结束时间
* @param msTime 会议开始时间
* @param meTime 会议结束时间
* @return {@link ExpertChooseDTO}
* @author WendyYang
**/
@@ -356,7 +356,7 @@ public class ExpertInviteManage {
Set<Long> expertIdsNotIn = new HashSet<>();
if (CollUtil.isNotEmpty(merge.getExpertIdsIn())) {
expertIdsIn.addAll(merge.getExpertIdsIn());
} else {
} else if (CollUtil.isNotEmpty(merge.getExpertIdsNotIn())) {
expertIdsNotIn.addAll(merge.getExpertIdsNotIn());
}
LambdaQueryWrapper<ExpertUserFullInfo> query = buildBaseExpertQuery();


Cargando…
Cancelar
Guardar