From 8695b9b29f86910a2e3889b999716a28a6d3a879 Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: 星期二, 04 三月 2025 02:51:24 +0800
Subject: [PATCH] 巡检计划未开发完成
---
service-report/src/main/java/com/java110/report/cmd/community/QueryCommunityRepairTreeCmd.java | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/service-report/src/main/java/com/java110/report/cmd/community/QueryCommunityRepairTreeCmd.java b/service-report/src/main/java/com/java110/report/cmd/community/QueryCommunityRepairTreeCmd.java
index 14916ab..dfeea6c 100644
--- a/service-report/src/main/java/com/java110/report/cmd/community/QueryCommunityRepairTreeCmd.java
+++ b/service-report/src/main/java/com/java110/report/cmd/community/QueryCommunityRepairTreeCmd.java
@@ -92,6 +92,9 @@
JSONArray parkings = community.getJSONArray("children");
JSONObject parkingInfo = null;
for (RepairSettingDto tmpRepairSettingDto : repairSettingDtos) {
+ if(!community.getString("communityId").equals(tmpRepairSettingDto.getCommunityId())){
+ continue;
+ }
if (!hasInRepairSetting(tmpRepairSettingDto, parkings)) {
parkingInfo = new JSONObject();
parkingInfo.put("id", "r_" + tmpRepairSettingDto.getRepairType());
--
Gitblit v1.8.0