Browse Source

获取议题分享ID

master
zxc 5 years ago
parent
commit
db885da7c8
  1. 2
      epmet-module/resi-group/resi-group-client/src/main/java/com/epmet/resi/group/dto/topic/result/TopicBelongGroupResultDTO.java
  2. 4
      epmet-module/resi-group/resi-group-server/src/main/java/com/epmet/modules/topic/service/impl/TopicShareLinkRecordServiceImpl.java

2
epmet-module/resi-group/resi-group-client/src/main/java/com/epmet/resi/group/dto/topic/result/TopicBelongGroupResultDTO.java

@ -2,6 +2,7 @@ package com.epmet.resi.group.dto.topic.result;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
@ -11,6 +12,7 @@ import java.io.Serializable;
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TopicBelongGroupResultDTO implements Serializable {
private static final long serialVersionUID = 8180287697221964032L;

4
epmet-module/resi-group/resi-group-server/src/main/java/com/epmet/modules/topic/service/impl/TopicShareLinkRecordServiceImpl.java

@ -142,7 +142,9 @@ public class TopicShareLinkRecordServiceImpl extends BaseServiceImpl<TopicShareL
if (null == topicInfo){
throw new RenException(TopicShareConstant.NOT_EXIST_TOPIC_BELONG_GROUP);
}
return new TopicBelongGroupResultDTO(topicInfo.getGroupId());
TopicBelongGroupResultDTO resultDTO = new TopicBelongGroupResultDTO();
resultDTO.setGroupId(topicInfo.getGroupId());
return resultDTO;
}
/**

Loading…
Cancel
Save