提交 4c44b0c7 作者: 925993793@qq.com

【fix】资讯导出bug修改

上级 15cfd23c
...@@ -433,7 +433,7 @@ public class FileController { ...@@ -433,7 +433,7 @@ public class FileController {
SXSSFWorkbook workbook = new SXSSFWorkbook(); SXSSFWorkbook workbook = new SXSSFWorkbook();
for (int i = 1; ; i++) { for (int i = 1; ; i++) {
searchCondition.setPageNo(i); searchCondition.setPageNo(i);
List<SpecialInformation> informationList = informationService.informationAllList(searchCondition); List<SpecialInformation> informationList = esService.informationList(searchCondition);
log.info("本次循环-{},数据量为-{}", i, informationList.size()); log.info("本次循环-{},数据量为-{}", i, informationList.size());
if (CollectionUtils.isEmpty(informationList)) { if (CollectionUtils.isEmpty(informationList)) {
break; break;
......
...@@ -99,7 +99,7 @@ public class SubjectManageController { ...@@ -99,7 +99,7 @@ public class SubjectManageController {
private KafkaTemplate<String, String> kafkaTemplate; private KafkaTemplate<String, String> kafkaTemplate;
@Autowired @Autowired
private PythonUtil pythonUtil; private PythonUtil pythonUtil;
@Autowired @Autowired(required = false)
private RemoteModelService remoteModelService; private RemoteModelService remoteModelService;
@Autowired @Autowired
private ConfigurationMessageService configurationMessageService; private ConfigurationMessageService configurationMessageService;
......
...@@ -81,7 +81,7 @@ public class SubjectSimpleServiceImpl implements SubjectSimpleService { ...@@ -81,7 +81,7 @@ public class SubjectSimpleServiceImpl implements SubjectSimpleService {
private CodeGenerateUtil codeGenerateUtil; private CodeGenerateUtil codeGenerateUtil;
@Autowired @Autowired
private PythonUtil pythonUtil; private PythonUtil pythonUtil;
@Autowired @Autowired(required = false)
private RemoteModelService remoteModelService; private RemoteModelService remoteModelService;
@Value("${clb.subject.default.processing.advanceMonth}") @Value("${clb.subject.default.processing.advanceMonth}")
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论