This commit is contained in:
wr
2023-09-14 19:17:51 +08:00
parent 3aa0dc8eeb
commit 404a122fd7

View File

@@ -421,7 +421,7 @@ public class CustomReportServiceImpl implements CustomReportService {
});
}
if (CollUtil.isEmpty(endList)) {
if (CollUtil.isNotEmpty(endList)) {
//数据单位信息
Map<String, String> unit = unitMap(reportSearchParam.getLineId());
//进行反向赋值到模板
@@ -431,7 +431,6 @@ public class CustomReportServiceImpl implements CustomReportService {
jsonArray.forEach(item -> {
JSONObject jsonObject = (JSONObject) item;
JSONArray itemArr = (JSONArray) jsonObject.get("celldata");
String celldata = jsonObject.get("celldata").toString();
itemArr.forEach((it) -> {
if (Objects.nonNull(it) && !"null".equals(it.toString())) {
//获取到1列