diff --git a/pmapi/src/main/java/com/ningdatech/pmapi/meeting/builder/ExpertInviteBuilder.java b/pmapi/src/main/java/com/ningdatech/pmapi/meeting/builder/ExpertInviteBuilder.java index 5f54ae3..546da59 100644 --- a/pmapi/src/main/java/com/ningdatech/pmapi/meeting/builder/ExpertInviteBuilder.java +++ b/pmapi/src/main/java/com/ningdatech/pmapi/meeting/builder/ExpertInviteBuilder.java @@ -25,7 +25,7 @@ public class ExpertInviteBuilder { MeetingExpert expert = new MeetingExpert(); expert.setMeetingId(meetingId); expert.setMobile(user.getPhoneNo()); - expert.setExpertId(user.getId()); + expert.setExpertId(user.getUserId()); expert.setExpertName(user.getExpertName()); expert.setRuleId(ruleId); expert.setInviteType(type.getCode()); diff --git a/pmapi/src/main/java/com/ningdatech/pmapi/meeting/manage/MeetingManage.java b/pmapi/src/main/java/com/ningdatech/pmapi/meeting/manage/MeetingManage.java index b7f8d4a..dbcd6b0 100644 --- a/pmapi/src/main/java/com/ningdatech/pmapi/meeting/manage/MeetingManage.java +++ b/pmapi/src/main/java/com/ningdatech/pmapi/meeting/manage/MeetingManage.java @@ -414,16 +414,16 @@ public class MeetingManage { } List expertIds = CollUtils.fieldList(experts, MeetingExpert::getExpertId); Map expertMap = meetingManageHelper.getExpertBasicInfo(expertIds); - Function mapping = sme -> { - ExpertBasicInfoVO expert = expertMap.get(sme.getExpertId()); + Function mapping = me -> { + ExpertBasicInfoVO expert = expertMap.get(me.getExpertId()); InviteExpertListItemVO item = BeanUtil.copyProperties(expert, InviteExpertListItemVO.class); - item.setExpertMeetingId(sme.getId()); - item.setMeetingId(sme.getMeetingId()); - item.setStatus(sme.getStatus()); - item.setMobile(sme.getMobile()); - item.setNoticeTime(sme.getCreateOn()); - item.setRuleId(sme.getRuleId()); - if (ExpertAttendStatusEnum.NOTICING.eq(sme.getStatus())) { + item.setExpertMeetingId(me.getId()); + item.setMeetingId(me.getMeetingId()); + item.setStatus(me.getStatus()); + item.setMobile(me.getMobile()); + item.setNoticeTime(me.getCreateOn()); + item.setRuleId(me.getRuleId()); + if (ExpertAttendStatusEnum.NOTICING.eq(me.getStatus())) { item.setNoticeStatus("通知中"); } else { item.setNoticeStatus("已通知");