|
|
@ -962,7 +962,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()) || !StringUtils.equals(ModuleConstant.TOPIC_STATUS_DISCUSSING,topic.getStatus())){ |
|
|
|
logger.error(ModuleConstant.CURRENT_TOPIC_COULD_NOT_TURN_TO_ISSUE); |
|
|
|
throw new RenException(ModuleConstant.CURRENT_TOPIC_COULD_NOT_TURN_TO_ISSUE); |
|
|
|
} |
|
|
@ -990,16 +990,17 @@ public class ResiTopicServiceImpl extends BaseServiceImpl<ResiTopicDao, ResiTopi |
|
|
|
logger.warn(String.format(ModuleConstant.DATE_FORMAT_PARSE_FAILURE,e.getMessage())); |
|
|
|
} |
|
|
|
ResiGroupInfoRedisDTO group = resiGroupRedis.get(topic.getGroupId()); |
|
|
|
if(null == group && StringUtils.isNotBlank(group.getGroupId())){ |
|
|
|
if(null == group || StringUtils.isNotBlank(group.getGroupId())){ |
|
|
|
CustomerGridFormDTO gridForm = new CustomerGridFormDTO(); |
|
|
|
gridForm.setGridId(group.getGridId()); |
|
|
|
Result<CustomerGridDTO> gridInfoResult = govOrgFeignClient.getCustomerGridByGridId(gridForm); |
|
|
|
if(gridInfoResult.success() && null != gridInfoResult.getData() && StringUtils.isNotBlank(gridInfoResult.getData().getId())) { |
|
|
|
result.setBelongGridName(gridInfoResult.getData().getGridName()); |
|
|
|
} |
|
|
|
} |
|
|
|
}else { |
|
|
|
logger.error(ModuleConstant.NO_SUCH_GROUP); |
|
|
|
result.setBelongGridName(ModuleConstant.EMPTY_STR); |
|
|
|
} |
|
|
|
return result; |
|
|
|
} |
|
|
|
throw new RenException(ModuleConstant.FAILED_QUERY_TOPIC_INFO); |
|
|
|