|
|
@ -1254,7 +1254,7 @@ public class ResiTopicServiceImpl extends BaseServiceImpl<ResiTopicDao, ResiTopi |
|
|
|
//没有相应的话题
|
|
|
|
logger.error(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())){ |
|
|
|
throw new RenException(EpmetErrorCode.TOPIC_ALREADY_SHIFTED_TO_ISSUE.getCode()); |
|
|
|
}else if(StringUtils.equals(ModuleConstant.TOPIC_STATUS_HIDDEN,topic.getStatus())){ |
|
|
|
throw new RenException(EpmetErrorCode.TOPIC_IS_HIDDEN.getCode()); |
|
|
|