Sfoglia il codice sorgente

专家邀请表导出bug修复

tags/24080901
WendyYang 1 anno fa
parent
commit
704e864dea
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. +3
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/meeting/service/impl/MeetingExpertServiceImpl.java

+ 3
- 1
pmapi/src/main/java/com/ningdatech/pmapi/meeting/service/impl/MeetingExpertServiceImpl.java Vedi File

@@ -23,6 +23,7 @@ import java.time.LocalDateTime;
import java.util.Collection;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import java.util.stream.Collectors;

/**
@@ -102,7 +103,8 @@ public class MeetingExpertServiceImpl extends ServiceImpl<MeetingExpertMapper, M

@Override
public Page<MeetingExpert> pageExpertByStatusAndMeetingId(Page<MeetingExpert> page, Long meetingId, ExpertAttendStatusEnum status, Integer inviteType) {
return baseMapper.selectExpertByStatusAndMeetingId(page, status.getCode(), meetingId, inviteType);
Integer statusCode = Optional.ofNullable(status).flatMap(w -> Optional.of(w.getCode())).orElse(null);
return baseMapper.selectExpertByStatusAndMeetingId(page, statusCode, meetingId, inviteType);
}

@Override


Loading…
Annulla
Salva