|
@ -34,6 +34,7 @@ import com.epmet.commons.tools.dto.form.mq.eventmsg.BasePointEventMsg; |
|
|
import com.epmet.commons.tools.enums.AchievementTypeEnum; |
|
|
import com.epmet.commons.tools.enums.AchievementTypeEnum; |
|
|
import com.epmet.commons.tools.enums.EventEnum; |
|
|
import com.epmet.commons.tools.enums.EventEnum; |
|
|
import com.epmet.commons.tools.exception.EpmetErrorCode; |
|
|
import com.epmet.commons.tools.exception.EpmetErrorCode; |
|
|
|
|
|
import com.epmet.commons.tools.exception.EpmetException; |
|
|
import com.epmet.commons.tools.exception.RenException; |
|
|
import com.epmet.commons.tools.exception.RenException; |
|
|
import com.epmet.commons.tools.page.PageData; |
|
|
import com.epmet.commons.tools.page.PageData; |
|
|
import com.epmet.commons.tools.redis.common.CustomerOrgRedis; |
|
|
import com.epmet.commons.tools.redis.common.CustomerOrgRedis; |
|
@ -1716,7 +1717,8 @@ public class ResiTopicServiceImpl extends BaseServiceImpl<ResiTopicDao, ResiTopi |
|
|
topicId.setTopicId(topicTurnIssueFromDTO.getTopicId()); |
|
|
topicId.setTopicId(topicTurnIssueFromDTO.getTopicId()); |
|
|
Integer issueCount = govIssueFeignClient.checkTopicShiftIssue(topicId).getData(); |
|
|
Integer issueCount = govIssueFeignClient.checkTopicShiftIssue(topicId).getData(); |
|
|
if (issueCount != NumConstant.ZERO){ |
|
|
if (issueCount != NumConstant.ZERO){ |
|
|
throw new RenException(ModuleConstant.ALREADY_SHIFT_ISSUE); |
|
|
// throw new RenException(ModuleConstant.ALREADY_SHIFT_ISSUE);
|
|
|
|
|
|
return; |
|
|
} |
|
|
} |
|
|
CommonGridIdFormDTO dataFilterParam = new CommonGridIdFormDTO(); |
|
|
CommonGridIdFormDTO dataFilterParam = new CommonGridIdFormDTO(); |
|
|
dataFilterParam.setUserId(topicTurnIssueFromDTO.getUserId()); |
|
|
dataFilterParam.setUserId(topicTurnIssueFromDTO.getUserId()); |
|
@ -1799,7 +1801,7 @@ public class ResiTopicServiceImpl extends BaseServiceImpl<ResiTopicDao, ResiTopi |
|
|
topicId.setTopicId(topicTurnIssueFromDTO.getTopicId()); |
|
|
topicId.setTopicId(topicTurnIssueFromDTO.getTopicId()); |
|
|
Integer issueCount = govIssueFeignClient.checkTopicShiftIssue(topicId).getData(); |
|
|
Integer issueCount = govIssueFeignClient.checkTopicShiftIssue(topicId).getData(); |
|
|
if (issueCount != NumConstant.ZERO){ |
|
|
if (issueCount != NumConstant.ZERO){ |
|
|
throw new RenException(ModuleConstant.ALREADY_SHIFT_ISSUE); |
|
|
throw new EpmetException(EpmetErrorCode.EPMET_COMMON_OPERATION_FAIL.getCode(), ModuleConstant.ALREADY_SHIFT_ISSUE, ModuleConstant.ALREADY_SHIFT_ISSUE); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
//话题转议题审核:标题、建议
|
|
|
//话题转议题审核:标题、建议
|
|
@ -2013,7 +2015,7 @@ public class ResiTopicServiceImpl extends BaseServiceImpl<ResiTopicDao, ResiTopi |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if (topic.getShiftIssue()) { |
|
|
if (topic.getShiftIssue()) { |
|
|
throw new RenException(ModuleConstant.ALREADY_SHIFT_ISSUE); |
|
|
throw new EpmetException(EpmetErrorCode.EPMET_COMMON_OPERATION_FAIL.getCode(), ModuleConstant.ALREADY_SHIFT_ISSUE, ModuleConstant.ALREADY_SHIFT_ISSUE); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
IssueShiftedFromTopicFormDTO issueInfo = ConvertUtils.sourceToTarget(param, IssueShiftedFromTopicFormDTO.class); |
|
|
IssueShiftedFromTopicFormDTO issueInfo = ConvertUtils.sourceToTarget(param, IssueShiftedFromTopicFormDTO.class); |
|
|