作者 wwmin

判断建筑面积null

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