|
|
@ -629,12 +629,6 @@ public class ResiTopicServiceImpl extends BaseServiceImpl<ResiTopicDao, ResiTopi |
|
|
|
throw new RenException(EpmetErrorCode.TOPIC_SHIFTED_TO_ISSUE_UNDER_AUDITING.getCode()); |
|
|
|
} |
|
|
|
|
|
|
|
//1.4已转议题话题不允许在屏蔽 2021.5.18 sun start
|
|
|
|
if (topic.getShiftIssue()) { |
|
|
|
throw new RenException(EpmetErrorCode.TOPIC_SHIFT_ISSUE.getCode()); |
|
|
|
} |
|
|
|
// 2021.5.18 sun end
|
|
|
|
|
|
|
|
//2.屏蔽话题
|
|
|
|
ResiTopicEntity topicForUpdate = new ResiTopicEntity(); |
|
|
|
topicForUpdate.setId(hiddenFormDTO.getTopicId()); |
|
|
@ -772,12 +766,6 @@ public class ResiTopicServiceImpl extends BaseServiceImpl<ResiTopicDao, ResiTopi |
|
|
|
throw new RenException(EpmetErrorCode.TOPIC_SHIFTED_TO_ISSUE_UNDER_AUDITING.getCode()); |
|
|
|
} |
|
|
|
|
|
|
|
//1.4已转议题的话题不允许关闭 2021.5.18 sun start
|
|
|
|
if (topic.getShiftIssue()) { |
|
|
|
throw new RenException(EpmetErrorCode.TOPIC_SHIFT_ISSUE.getCode()); |
|
|
|
} |
|
|
|
//2021.5.18 sun end
|
|
|
|
|
|
|
|
//2.关闭操作
|
|
|
|
topic.setClosedStatus(closeFormDTO.getClosedStatus()); |
|
|
|
baseDao.updateById(topic); |
|
|
|