作者 wwmin

判断建筑面积null

... ... @@ -425,9 +425,11 @@ 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) {
if (Objects.nonNull(synthesize_no_2_1.getArchitectureArea())) {
architectureArea += synthesize_no_2_1.getArchitectureArea();
}
}
}
for (String s : split) {
if ("1".equals(s)) {
String[] strings = synthesize_no_2_3.getPowerSupply().split(",");// 1光伏 2风电 3持续供电 4一充一放5两充两放
... ...