作者 wwmin

判断建筑面积null

@@ -425,7 +425,9 @@ public class ProjectServiceImpl implements ProjectService { @@ -425,7 +425,9 @@ public class ProjectServiceImpl implements ProjectService {
425 double architectureArea = 0.0; 425 double architectureArea = 0.0;
426 if (!synthesize_no_2_1s.isEmpty()) { 426 if (!synthesize_no_2_1s.isEmpty()) {
427 for (Synthesize_no_2_1 synthesize_no_2_1 : synthesize_no_2_1s) { 427 for (Synthesize_no_2_1 synthesize_no_2_1 : synthesize_no_2_1s) {
428 - architectureArea += synthesize_no_2_1.getArchitectureArea(); 428 + if (Objects.nonNull(synthesize_no_2_1.getArchitectureArea())) {
  429 + architectureArea += synthesize_no_2_1.getArchitectureArea();
  430 + }
429 } 431 }
430 } 432 }
431 for (String s : split) { 433 for (String s : split) {