Commit c022969c authored by neo.wang's avatar neo.wang

Merge branch 'dev_neo3' into 'dev'

[revert] revert change bb item to single ds

See merge request root/atms!107
parents 7bf9f064 c964b9f4
......@@ -540,12 +540,12 @@ public class ReportServiceImpl extends VatAbstractService implements ReportServi
.filter(y -> y.getItem1().equals(a.getCellTemplateID())).collect(Collectors.toList());
List<DataSourceDto> dataSourceDtoList = new ArrayList<>();
entryList.forEach(z -> {
if (z.getItem2().getItems() != null && !z.getItem2().getItems().isEmpty() && z.getItem2().getItems().get(0).contains("tag")) {
z.getItem2().getItems().forEach(m -> {
ReportCellDataSourceDto dto = JSON.parseObject(m, ReportCellDataSourceDto.class);
dataSourceDtoList.add(dto);
});
} else
// if (z.getItem2().getItems() != null && !z.getItem2().getItems().isEmpty() && z.getItem2().getItems().get(0).contains("tag")) {
// z.getItem2().getItems().forEach(m -> {
// ReportCellDataSourceDto dto = JSON.parseObject(m, ReportCellDataSourceDto.class);
// dataSourceDtoList.add(dto);
// });
// } else
dataSourceDtoList.add(z.getItem2());
});
cellDataDto.setDataSourceList(dataSourceDtoList);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment