| | |
| | | import com.alibaba.excel.write.metadata.holder.WriteWorkbookHolder; |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.linghu.config.FinalStatus; |
| | | import com.linghu.mapper.ReferenceMapper; |
| | | import com.linghu.model.common.ResponseResult; |
| | | import com.linghu.model.dto.ExportFeedDTO; |
| | |
| | | if (keyword == null) { |
| | | return ResponseResult.error("关键词不存在"); |
| | | } |
| | | if (!"completed".equals(keyword.getStatus())) { |
| | | if (!FinalStatus.COMPLETED.getValue().equals(keyword.getStatus())) { |
| | | return ResponseResult.success(); |
| | | } |
| | | List<KeywordStaticsVO> statics = this.getBaseMapper().statics(keywordId, questionId, keyword.getNum()); |
| | |
| | | if (keyword == null) { |
| | | return ResponseResult.error("关键词不存在"); |
| | | } |
| | | if (!"completed".equals(keyword.getStatus())) { |
| | | if (!FinalStatus.COMPLETED.getValue().equals(keyword.getStatus())) { |
| | | return ResponseResult.error("关键词采集未完成"); |
| | | } |
| | | List<PlatformProportionVO> result = this.getBaseMapper().getResultByTypeId(keywordId, questionId, |
| | |
| | | if (keyword == null) { |
| | | return ResponseResult.error("关键词不存在"); |
| | | } |
| | | if (!"completed".equals(keyword.getStatus())) { |
| | | if (!FinalStatus.COMPLETED.getValue().equals(keyword.getStatus())) { |
| | | return ResponseResult.error("关键词采集未完成"); |
| | | } |
| | | |