正在显示
1 个修改的文件
包含
3 行增加
和
1 行删除
@@ -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) { |
-
请 注册 或 登录 后发表评论