Explorar el Código

传感器测量空间

caiaf hace 4 años
padre
commit
83979d2c46

+ 1 - 1
datacenter/src/main/kotlin/com/persagy/server/services/relation_calc/RelationCalcService.kt

@@ -1144,7 +1144,7 @@ open class RelationCalcService {
                     }
                     val rEq2SpList = REq2SpService.select(SFilter.eq("projectId", projectId),
                             SFilter.inList("id1", listId)
-                            , SFilter.eq("type", "eq2sp_in"), SFilter.eq("type", "AirConditioningZone")).exec()
+                            , SFilter.eq("type", "eq2sp_in"), SFilter.eq("zoneType", "AirConditioningZone")).exec()
                     logger.debug("关系长度: ${rEq2SpList.size}")
                     if (rEq2SpList.size > 0) {
                         for (rEq2Sp in rEq2SpList) {