ソースを参照

邀请规则详情增加ID

master
WendyYang 1年前
コミット
b6bc09d6a9
1個のファイルの変更2行の追加0行の削除
  1. +2
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/meeting/manage/MeetingManage.java

+ 2
- 0
pmapi/src/main/java/com/ningdatech/pmapi/meeting/manage/MeetingManage.java ファイルの表示

@@ -485,6 +485,7 @@ public class MeetingManage {
if (CollUtil.isNotEmpty(randoms)) {
randoms.forEach(random -> {
RandomInviteRuleVO randomRule = JSON.parseObject(random.getInviteRule(), RandomInviteRuleVO.class);
randomRule.setId(random.getId());
if (randomRule.getExpertTags() != null) {
randomRule.getExpertTags().forEach(w -> {
List<String> tagNames = CollUtils.convert(w.getTagCodes(), tagCode -> tagCache.getByTagCode(tagCode).getTagName());
@@ -525,6 +526,7 @@ public class MeetingManage {
List<ExpertInviteRule> appoints = groupByType.get(ExpertInviteTypeEnum.APPOINT);
ExpertInviteRule appoint = appoints.get(0);
AppointInviteRuleDTO appointRule = JSON.parseObject(appoint.getInviteRule(), AppointInviteRuleDTO.class);
appointRule.setId(appoint.getId());
AppointRuleVO vo = new AppointRuleVO();
vo.setInviteDesc(appointRule.getInviteDesc());
vo.setExperts(new ArrayList<>(meetingManageHelper.getExpertBasicInfo(appointRule.getExpertIdList()).values()));


読み込み中…
キャンセル
保存