|
|
@ -766,6 +766,7 @@ public class IssueServiceImpl extends BaseServiceImpl<IssueDao, IssueEntity> imp |
|
|
|
issueProcessDao.insert(processEntity); |
|
|
|
|
|
|
|
//4:调用epmet-message服务,给居民端话题创建人和议题发起人发送消息
|
|
|
|
if (entity.getSourceType().equals(ModuleConstants.ISSUE_FROM_TOPIC)){ |
|
|
|
//4.1:调用resi-group查询话题创建人数据(目前议题来源只有来自话题)
|
|
|
|
Result<ResiTopicDTO> resultTopicDTO = resiGroupFeignClient.getTopicById(entity.getSourceId()); |
|
|
|
if (!resultTopicDTO.success() || null == resultTopicDTO.getData()) { |
|
|
@ -787,12 +788,14 @@ public class IssueServiceImpl extends BaseServiceImpl<IssueDao, IssueEntity> imp |
|
|
|
if (!saveWxmpMessageList(topicDTO, messageContent, entity).success()) { |
|
|
|
logger.error("议题关闭,推送微信订阅消息失败!"); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
try { |
|
|
|
// issueVoteStatisticalService.syncVotingCacheToDbByParams(formDTO.getIssueId(),entity.getGridId(),null);
|
|
|
|
SelectIssueVotingDetailFormDTO dto = new SelectIssueVotingDetailFormDTO(); |
|
|
|
dto.setGridId(entity.getGridId()); |
|
|
|
dto.setIssueId(formDTO.getIssueId()); |
|
|
|
dto.setSourceType(entity.getSourceType()); |
|
|
|
issueVoteDetailService.updateVote(dto); |
|
|
|
}catch (RenException e){ |
|
|
|
logger.error(e.getInternalMsg()); |
|
|
|