|
@ -1259,8 +1259,11 @@ public class ResiTopicServiceImpl extends BaseServiceImpl<ResiTopicDao, ResiTopi |
|
|
logger.error(ModuleConstant.NO_SUCH_TOPIC); |
|
|
logger.error(ModuleConstant.NO_SUCH_TOPIC); |
|
|
throw new RenException(ModuleConstant.NO_SUCH_TOPIC); |
|
|
throw new RenException(ModuleConstant.NO_SUCH_TOPIC); |
|
|
}else if(topic.getShiftIssue() || StringUtils.isNotBlank(topic.getIssueId()) || !StringUtils.equals(ModuleConstant.TOPIC_STATUS_DISCUSSING,topic.getStatus())){ |
|
|
}else if(topic.getShiftIssue() || StringUtils.isNotBlank(topic.getIssueId()) || !StringUtils.equals(ModuleConstant.TOPIC_STATUS_DISCUSSING,topic.getStatus())){ |
|
|
logger.error(ModuleConstant.CURRENT_TOPIC_COULD_NOT_TURN_TO_ISSUE); |
|
|
throw new RenException(EpmetErrorCode.TOPIC_ALREADY_SHIFTED_TO_ISSUE.getCode()); |
|
|
throw new RenException(ModuleConstant.CURRENT_TOPIC_COULD_NOT_TURN_TO_ISSUE); |
|
|
}else if(StringUtils.equals(ModuleConstant.TOPIC_STATUS_HIDDEN,topic.getStatus())){ |
|
|
|
|
|
throw new RenException(EpmetErrorCode.TOPIC_IS_HIDDEN.getCode()); |
|
|
|
|
|
}else if(StringUtils.equals(ModuleConstant.TOPIC_STATUS_CLOSED,topic.getStatus())){ |
|
|
|
|
|
throw new RenException(EpmetErrorCode.TOPIC_IS_CLOSED.getCode()); |
|
|
} |
|
|
} |
|
|
//2.通过话题找组信息,得到该组组长信息与当前用户进行对比
|
|
|
//2.通过话题找组信息,得到该组组长信息与当前用户进行对比
|
|
|
ResiGroupMemberInfoRedisDTO member = |
|
|
ResiGroupMemberInfoRedisDTO member = |
|
@ -1437,6 +1440,8 @@ public class ResiTopicServiceImpl extends BaseServiceImpl<ResiTopicDao, ResiTopi |
|
|
*/ |
|
|
*/ |
|
|
@Override |
|
|
@Override |
|
|
public FirstTopicShiftedToIssueApplicationResultDTO shiftIssueV2(ResiTopicTurnIssueFromDTO topicTurnIssueFromDTO) { |
|
|
public FirstTopicShiftedToIssueApplicationResultDTO shiftIssueV2(ResiTopicTurnIssueFromDTO topicTurnIssueFromDTO) { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//话题转议题审核:标题、建议
|
|
|
//话题转议题审核:标题、建议
|
|
|
String issueTitle = topicTurnIssueFromDTO.getIssueTitle(); |
|
|
String issueTitle = topicTurnIssueFromDTO.getIssueTitle(); |
|
|
String suggestion = topicTurnIssueFromDTO.getSuggestion(); |
|
|
String suggestion = topicTurnIssueFromDTO.getSuggestion(); |
|
|